valueOrDefault

public IfInvalidOption valueOrDefault(Descriptors.FieldDescriptor field)

Returns the option value from the specified field or a default value, if the field does not have its own option value.