class Wire
static fun <T : Any> get(value: T?, defaultValue: T): T
Returns will attempt to retrieve the value of the field 'f' defined by MyProto. If the field is null (i.e., unset), get will return its second argument, which in this case is the default value for the field 'f'.
|