-
public final class Values
A factory of
{@code Value}
s.
-
-
Method Summary
Modifier and Type Method Description static Value
from(Message message)
Converts the given message into a value. -
-
Method Detail
-
from
static Value from(Message message)
Converts the given message into a value.
If the message is equal to the default instance, it will be represented by a
{@code MessageValue}
with no fields. Otherwise, all the present fields are converted into{@code Value}
s.
-
-
-
-