Field Validating Option
public abstract class FieldValidatingOption<T> extends FieldOption<F> implements ValidatingOption<T, C, K>
Content copied to clipboard
An option that validates a field.
Validating options impose constraint on fields that they are applied to.
Parameters
<T>
type of value held by this option
Constructors
Link copied to clipboard
protected void FieldValidatingOption(GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions, T> optionExtension)
Content copied to clipboard
Specifies the extension that corresponds to this option.
Functions
Link copied to clipboard
Returns a value of the option.
Link copied to clipboard
Returns
true
if this option exists for the specified field, false
otherwise.Inherited functions
Link copied to clipboard
Creates a Constraint for the given field based on the value of the option.
Link copied to clipboard
protected DescriptorProtos.FieldOptions optionsFrom(Descriptors.FieldDescriptor object)
Content copied to clipboard
Link copied to clipboard