Package build.buf.validate
Class FieldConstraints.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<FieldConstraints.Builder>
-
- build.buf.validate.FieldConstraints.Builder
-
- All Implemented Interfaces:
FieldConstraintsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- FieldConstraints
public static final class FieldConstraints.Builder extends com.google.protobuf.GeneratedMessage.Builder<FieldConstraints.Builder> implements FieldConstraintsOrBuilder
FieldRules encapsulates the rules for each type of field. Depending on the field, the correct set should be used to ensure proper validations.
Protobuf typebuf.validate.FieldConstraints
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldConstraints.BuilderaddAllCel(java.lang.Iterable<? extends Constraint> values)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.FieldConstraints.BuilderaddCel(int index, Constraint value)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.FieldConstraints.BuilderaddCel(int index, Constraint.Builder builderForValue)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.FieldConstraints.BuilderaddCel(Constraint value)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.FieldConstraints.BuilderaddCel(Constraint.Builder builderForValue)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.Constraint.BuilderaddCelBuilder()`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.Constraint.BuilderaddCelBuilder(int index)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.FieldConstraintsbuild()FieldConstraintsbuildPartial()FieldConstraints.Builderclear()FieldConstraints.BuilderclearAny()Well-Known Field TypesFieldConstraints.BuilderclearBool().buf.validate.BoolRules bool = 13;FieldConstraints.BuilderclearBytes().buf.validate.BytesRules bytes = 15;FieldConstraints.BuilderclearCel()`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.FieldConstraints.BuilderclearDouble().buf.validate.DoubleRules double = 2;FieldConstraints.BuilderclearDuration().buf.validate.DurationRules duration = 21;FieldConstraints.BuilderclearEnum()Complex Field TypesFieldConstraints.BuilderclearFixed32().buf.validate.Fixed32Rules fixed32 = 9;FieldConstraints.BuilderclearFixed64().buf.validate.Fixed64Rules fixed64 = 10;FieldConstraints.BuilderclearFloat()Scalar Field TypesFieldConstraints.BuilderclearIgnoreEmpty()If `ignore_empty` is true and applied to a non-nullable field (see `required` for more details), validation is skipped on the field if it is the default or empty value.FieldConstraints.BuilderclearInt32().buf.validate.Int32Rules int32 = 3;FieldConstraints.BuilderclearInt64().buf.validate.Int64Rules int64 = 4;FieldConstraints.BuilderclearMap().buf.validate.MapRules map = 19;FieldConstraints.BuilderclearRepeated().buf.validate.RepeatedRules repeated = 18;FieldConstraints.BuilderclearRequired()If `required` is true, the field must be populated.FieldConstraints.BuilderclearSfixed32().buf.validate.SFixed32Rules sfixed32 = 11;FieldConstraints.BuilderclearSfixed64().buf.validate.SFixed64Rules sfixed64 = 12;FieldConstraints.BuilderclearSint32().buf.validate.SInt32Rules sint32 = 7;FieldConstraints.BuilderclearSint64().buf.validate.SInt64Rules sint64 = 8;FieldConstraints.BuilderclearSkipped()`skipped` is an optional boolean attribute that specifies that the validation rules of this field should not be evaluated.FieldConstraints.BuilderclearString().buf.validate.StringRules string = 14;FieldConstraints.BuilderclearTimestamp().buf.validate.TimestampRules timestamp = 22;FieldConstraints.BuilderclearType()FieldConstraints.BuilderclearUint32().buf.validate.UInt32Rules uint32 = 5;FieldConstraints.BuilderclearUint64().buf.validate.UInt64Rules uint64 = 6;AnyRulesgetAny()Well-Known Field TypesAnyRules.BuildergetAnyBuilder()Well-Known Field TypesAnyRulesOrBuildergetAnyOrBuilder()Well-Known Field TypesBoolRulesgetBool().buf.validate.BoolRules bool = 13;BoolRules.BuildergetBoolBuilder().buf.validate.BoolRules bool = 13;BoolRulesOrBuildergetBoolOrBuilder().buf.validate.BoolRules bool = 13;BytesRulesgetBytes().buf.validate.BytesRules bytes = 15;BytesRules.BuildergetBytesBuilder().buf.validate.BytesRules bytes = 15;BytesRulesOrBuildergetBytesOrBuilder().buf.validate.BytesRules bytes = 15;ConstraintgetCel(int index)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.Constraint.BuildergetCelBuilder(int index)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.java.util.List<Constraint.Builder>getCelBuilderList()`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.intgetCelCount()`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.java.util.List<Constraint>getCelList()`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.ConstraintOrBuildergetCelOrBuilder(int index)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.java.util.List<? extends ConstraintOrBuilder>getCelOrBuilderList()`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.FieldConstraintsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DoubleRulesgetDouble().buf.validate.DoubleRules double = 2;DoubleRules.BuildergetDoubleBuilder().buf.validate.DoubleRules double = 2;DoubleRulesOrBuildergetDoubleOrBuilder().buf.validate.DoubleRules double = 2;DurationRulesgetDuration().buf.validate.DurationRules duration = 21;DurationRules.BuildergetDurationBuilder().buf.validate.DurationRules duration = 21;DurationRulesOrBuildergetDurationOrBuilder().buf.validate.DurationRules duration = 21;EnumRulesgetEnum()Complex Field TypesEnumRules.BuildergetEnumBuilder()Complex Field TypesEnumRulesOrBuildergetEnumOrBuilder()Complex Field TypesFixed32RulesgetFixed32().buf.validate.Fixed32Rules fixed32 = 9;Fixed32Rules.BuildergetFixed32Builder().buf.validate.Fixed32Rules fixed32 = 9;Fixed32RulesOrBuildergetFixed32OrBuilder().buf.validate.Fixed32Rules fixed32 = 9;Fixed64RulesgetFixed64().buf.validate.Fixed64Rules fixed64 = 10;Fixed64Rules.BuildergetFixed64Builder().buf.validate.Fixed64Rules fixed64 = 10;Fixed64RulesOrBuildergetFixed64OrBuilder().buf.validate.Fixed64Rules fixed64 = 10;FloatRulesgetFloat()Scalar Field TypesFloatRules.BuildergetFloatBuilder()Scalar Field TypesFloatRulesOrBuildergetFloatOrBuilder()Scalar Field TypesbooleangetIgnoreEmpty()If `ignore_empty` is true and applied to a non-nullable field (see `required` for more details), validation is skipped on the field if it is the default or empty value.Int32RulesgetInt32().buf.validate.Int32Rules int32 = 3;Int32Rules.BuildergetInt32Builder().buf.validate.Int32Rules int32 = 3;Int32RulesOrBuildergetInt32OrBuilder().buf.validate.Int32Rules int32 = 3;Int64RulesgetInt64().buf.validate.Int64Rules int64 = 4;Int64Rules.BuildergetInt64Builder().buf.validate.Int64Rules int64 = 4;Int64RulesOrBuildergetInt64OrBuilder().buf.validate.Int64Rules int64 = 4;MapRulesgetMap().buf.validate.MapRules map = 19;MapRules.BuildergetMapBuilder().buf.validate.MapRules map = 19;MapRulesOrBuildergetMapOrBuilder().buf.validate.MapRules map = 19;RepeatedRulesgetRepeated().buf.validate.RepeatedRules repeated = 18;RepeatedRules.BuildergetRepeatedBuilder().buf.validate.RepeatedRules repeated = 18;RepeatedRulesOrBuildergetRepeatedOrBuilder().buf.validate.RepeatedRules repeated = 18;booleangetRequired()If `required` is true, the field must be populated.SFixed32RulesgetSfixed32().buf.validate.SFixed32Rules sfixed32 = 11;SFixed32Rules.BuildergetSfixed32Builder().buf.validate.SFixed32Rules sfixed32 = 11;SFixed32RulesOrBuildergetSfixed32OrBuilder().buf.validate.SFixed32Rules sfixed32 = 11;SFixed64RulesgetSfixed64().buf.validate.SFixed64Rules sfixed64 = 12;SFixed64Rules.BuildergetSfixed64Builder().buf.validate.SFixed64Rules sfixed64 = 12;SFixed64RulesOrBuildergetSfixed64OrBuilder().buf.validate.SFixed64Rules sfixed64 = 12;SInt32RulesgetSint32().buf.validate.SInt32Rules sint32 = 7;SInt32Rules.BuildergetSint32Builder().buf.validate.SInt32Rules sint32 = 7;SInt32RulesOrBuildergetSint32OrBuilder().buf.validate.SInt32Rules sint32 = 7;SInt64RulesgetSint64().buf.validate.SInt64Rules sint64 = 8;SInt64Rules.BuildergetSint64Builder().buf.validate.SInt64Rules sint64 = 8;SInt64RulesOrBuildergetSint64OrBuilder().buf.validate.SInt64Rules sint64 = 8;booleangetSkipped()`skipped` is an optional boolean attribute that specifies that the validation rules of this field should not be evaluated.StringRulesgetString().buf.validate.StringRules string = 14;StringRules.BuildergetStringBuilder().buf.validate.StringRules string = 14;StringRulesOrBuildergetStringOrBuilder().buf.validate.StringRules string = 14;TimestampRulesgetTimestamp().buf.validate.TimestampRules timestamp = 22;TimestampRules.BuildergetTimestampBuilder().buf.validate.TimestampRules timestamp = 22;TimestampRulesOrBuildergetTimestampOrBuilder().buf.validate.TimestampRules timestamp = 22;FieldConstraints.TypeCasegetTypeCase()UInt32RulesgetUint32().buf.validate.UInt32Rules uint32 = 5;UInt32Rules.BuildergetUint32Builder().buf.validate.UInt32Rules uint32 = 5;UInt32RulesOrBuildergetUint32OrBuilder().buf.validate.UInt32Rules uint32 = 5;UInt64RulesgetUint64().buf.validate.UInt64Rules uint64 = 6;UInt64Rules.BuildergetUint64Builder().buf.validate.UInt64Rules uint64 = 6;UInt64RulesOrBuildergetUint64OrBuilder().buf.validate.UInt64Rules uint64 = 6;booleanhasAny()Well-Known Field TypesbooleanhasBool().buf.validate.BoolRules bool = 13;booleanhasBytes().buf.validate.BytesRules bytes = 15;booleanhasDouble().buf.validate.DoubleRules double = 2;booleanhasDuration().buf.validate.DurationRules duration = 21;booleanhasEnum()Complex Field TypesbooleanhasFixed32().buf.validate.Fixed32Rules fixed32 = 9;booleanhasFixed64().buf.validate.Fixed64Rules fixed64 = 10;booleanhasFloat()Scalar Field TypesbooleanhasInt32().buf.validate.Int32Rules int32 = 3;booleanhasInt64().buf.validate.Int64Rules int64 = 4;booleanhasMap().buf.validate.MapRules map = 19;booleanhasRepeated().buf.validate.RepeatedRules repeated = 18;booleanhasSfixed32().buf.validate.SFixed32Rules sfixed32 = 11;booleanhasSfixed64().buf.validate.SFixed64Rules sfixed64 = 12;booleanhasSint32().buf.validate.SInt32Rules sint32 = 7;booleanhasSint64().buf.validate.SInt64Rules sint64 = 8;booleanhasString().buf.validate.StringRules string = 14;booleanhasTimestamp().buf.validate.TimestampRules timestamp = 22;booleanhasUint32().buf.validate.UInt32Rules uint32 = 5;booleanhasUint64().buf.validate.UInt64Rules uint64 = 6;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FieldConstraints.BuildermergeAny(AnyRules value)Well-Known Field TypesFieldConstraints.BuildermergeBool(BoolRules value).buf.validate.BoolRules bool = 13;FieldConstraints.BuildermergeBytes(BytesRules value).buf.validate.BytesRules bytes = 15;FieldConstraints.BuildermergeDouble(DoubleRules value).buf.validate.DoubleRules double = 2;FieldConstraints.BuildermergeDuration(DurationRules value).buf.validate.DurationRules duration = 21;FieldConstraints.BuildermergeEnum(EnumRules value)Complex Field TypesFieldConstraints.BuildermergeFixed32(Fixed32Rules value).buf.validate.Fixed32Rules fixed32 = 9;FieldConstraints.BuildermergeFixed64(Fixed64Rules value).buf.validate.Fixed64Rules fixed64 = 10;FieldConstraints.BuildermergeFloat(FloatRules value)Scalar Field TypesFieldConstraints.BuildermergeFrom(FieldConstraints other)FieldConstraints.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FieldConstraints.BuildermergeFrom(com.google.protobuf.Message other)FieldConstraints.BuildermergeInt32(Int32Rules value).buf.validate.Int32Rules int32 = 3;FieldConstraints.BuildermergeInt64(Int64Rules value).buf.validate.Int64Rules int64 = 4;FieldConstraints.BuildermergeMap(MapRules value).buf.validate.MapRules map = 19;FieldConstraints.BuildermergeRepeated(RepeatedRules value).buf.validate.RepeatedRules repeated = 18;FieldConstraints.BuildermergeSfixed32(SFixed32Rules value).buf.validate.SFixed32Rules sfixed32 = 11;FieldConstraints.BuildermergeSfixed64(SFixed64Rules value).buf.validate.SFixed64Rules sfixed64 = 12;FieldConstraints.BuildermergeSint32(SInt32Rules value).buf.validate.SInt32Rules sint32 = 7;FieldConstraints.BuildermergeSint64(SInt64Rules value).buf.validate.SInt64Rules sint64 = 8;FieldConstraints.BuildermergeString(StringRules value).buf.validate.StringRules string = 14;FieldConstraints.BuildermergeTimestamp(TimestampRules value).buf.validate.TimestampRules timestamp = 22;FieldConstraints.BuildermergeUint32(UInt32Rules value).buf.validate.UInt32Rules uint32 = 5;FieldConstraints.BuildermergeUint64(UInt64Rules value).buf.validate.UInt64Rules uint64 = 6;FieldConstraints.BuilderremoveCel(int index)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.FieldConstraints.BuildersetAny(AnyRules value)Well-Known Field TypesFieldConstraints.BuildersetAny(AnyRules.Builder builderForValue)Well-Known Field TypesFieldConstraints.BuildersetBool(BoolRules value).buf.validate.BoolRules bool = 13;FieldConstraints.BuildersetBool(BoolRules.Builder builderForValue).buf.validate.BoolRules bool = 13;FieldConstraints.BuildersetBytes(BytesRules value).buf.validate.BytesRules bytes = 15;FieldConstraints.BuildersetBytes(BytesRules.Builder builderForValue).buf.validate.BytesRules bytes = 15;FieldConstraints.BuildersetCel(int index, Constraint value)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.FieldConstraints.BuildersetCel(int index, Constraint.Builder builderForValue)`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax.FieldConstraints.BuildersetDouble(DoubleRules value).buf.validate.DoubleRules double = 2;FieldConstraints.BuildersetDouble(DoubleRules.Builder builderForValue).buf.validate.DoubleRules double = 2;FieldConstraints.BuildersetDuration(DurationRules value).buf.validate.DurationRules duration = 21;FieldConstraints.BuildersetDuration(DurationRules.Builder builderForValue).buf.validate.DurationRules duration = 21;FieldConstraints.BuildersetEnum(EnumRules value)Complex Field TypesFieldConstraints.BuildersetEnum(EnumRules.Builder builderForValue)Complex Field TypesFieldConstraints.BuildersetFixed32(Fixed32Rules value).buf.validate.Fixed32Rules fixed32 = 9;FieldConstraints.BuildersetFixed32(Fixed32Rules.Builder builderForValue).buf.validate.Fixed32Rules fixed32 = 9;FieldConstraints.BuildersetFixed64(Fixed64Rules value).buf.validate.Fixed64Rules fixed64 = 10;FieldConstraints.BuildersetFixed64(Fixed64Rules.Builder builderForValue).buf.validate.Fixed64Rules fixed64 = 10;FieldConstraints.BuildersetFloat(FloatRules value)Scalar Field TypesFieldConstraints.BuildersetFloat(FloatRules.Builder builderForValue)Scalar Field TypesFieldConstraints.BuildersetIgnoreEmpty(boolean value)If `ignore_empty` is true and applied to a non-nullable field (see `required` for more details), validation is skipped on the field if it is the default or empty value.FieldConstraints.BuildersetInt32(Int32Rules value).buf.validate.Int32Rules int32 = 3;FieldConstraints.BuildersetInt32(Int32Rules.Builder builderForValue).buf.validate.Int32Rules int32 = 3;FieldConstraints.BuildersetInt64(Int64Rules value).buf.validate.Int64Rules int64 = 4;FieldConstraints.BuildersetInt64(Int64Rules.Builder builderForValue).buf.validate.Int64Rules int64 = 4;FieldConstraints.BuildersetMap(MapRules value).buf.validate.MapRules map = 19;FieldConstraints.BuildersetMap(MapRules.Builder builderForValue).buf.validate.MapRules map = 19;FieldConstraints.BuildersetRepeated(RepeatedRules value).buf.validate.RepeatedRules repeated = 18;FieldConstraints.BuildersetRepeated(RepeatedRules.Builder builderForValue).buf.validate.RepeatedRules repeated = 18;FieldConstraints.BuildersetRequired(boolean value)If `required` is true, the field must be populated.FieldConstraints.BuildersetSfixed32(SFixed32Rules value).buf.validate.SFixed32Rules sfixed32 = 11;FieldConstraints.BuildersetSfixed32(SFixed32Rules.Builder builderForValue).buf.validate.SFixed32Rules sfixed32 = 11;FieldConstraints.BuildersetSfixed64(SFixed64Rules value).buf.validate.SFixed64Rules sfixed64 = 12;FieldConstraints.BuildersetSfixed64(SFixed64Rules.Builder builderForValue).buf.validate.SFixed64Rules sfixed64 = 12;FieldConstraints.BuildersetSint32(SInt32Rules value).buf.validate.SInt32Rules sint32 = 7;FieldConstraints.BuildersetSint32(SInt32Rules.Builder builderForValue).buf.validate.SInt32Rules sint32 = 7;FieldConstraints.BuildersetSint64(SInt64Rules value).buf.validate.SInt64Rules sint64 = 8;FieldConstraints.BuildersetSint64(SInt64Rules.Builder builderForValue).buf.validate.SInt64Rules sint64 = 8;FieldConstraints.BuildersetSkipped(boolean value)`skipped` is an optional boolean attribute that specifies that the validation rules of this field should not be evaluated.FieldConstraints.BuildersetString(StringRules value).buf.validate.StringRules string = 14;FieldConstraints.BuildersetString(StringRules.Builder builderForValue).buf.validate.StringRules string = 14;FieldConstraints.BuildersetTimestamp(TimestampRules value).buf.validate.TimestampRules timestamp = 22;FieldConstraints.BuildersetTimestamp(TimestampRules.Builder builderForValue).buf.validate.TimestampRules timestamp = 22;FieldConstraints.BuildersetUint32(UInt32Rules value).buf.validate.UInt32Rules uint32 = 5;FieldConstraints.BuildersetUint32(UInt32Rules.Builder builderForValue).buf.validate.UInt32Rules uint32 = 5;FieldConstraints.BuildersetUint64(UInt64Rules value).buf.validate.UInt64Rules uint64 = 6;FieldConstraints.BuildersetUint64(UInt64Rules.Builder builderForValue).buf.validate.UInt64Rules uint64 = 6;-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FieldConstraints.Builder>
-
clear
public FieldConstraints.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FieldConstraints.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FieldConstraints.Builder>
-
getDefaultInstanceForType
public FieldConstraints getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FieldConstraints build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FieldConstraints buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public FieldConstraints.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FieldConstraints.Builder>
-
mergeFrom
public FieldConstraints.Builder mergeFrom(FieldConstraints other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FieldConstraints.Builder>
-
mergeFrom
public FieldConstraints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FieldConstraints.Builder>- Throws:
java.io.IOException
-
getTypeCase
public FieldConstraints.TypeCase getTypeCase()
- Specified by:
getTypeCasein interfaceFieldConstraintsOrBuilder
-
clearType
public FieldConstraints.Builder clearType()
-
getCelList
public java.util.List<Constraint> getCelList()
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;- Specified by:
getCelListin interfaceFieldConstraintsOrBuilder
-
getCelCount
public int getCelCount()
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;- Specified by:
getCelCountin interfaceFieldConstraintsOrBuilder
-
getCel
public Constraint getCel(int index)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;- Specified by:
getCelin interfaceFieldConstraintsOrBuilder
-
setCel
public FieldConstraints.Builder setCel(int index, Constraint value)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
setCel
public FieldConstraints.Builder setCel(int index, Constraint.Builder builderForValue)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
addCel
public FieldConstraints.Builder addCel(Constraint value)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
addCel
public FieldConstraints.Builder addCel(int index, Constraint value)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
addCel
public FieldConstraints.Builder addCel(Constraint.Builder builderForValue)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
addCel
public FieldConstraints.Builder addCel(int index, Constraint.Builder builderForValue)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
addAllCel
public FieldConstraints.Builder addAllCel(java.lang.Iterable<? extends Constraint> values)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
clearCel
public FieldConstraints.Builder clearCel()
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
removeCel
public FieldConstraints.Builder removeCel(int index)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
getCelBuilder
public Constraint.Builder getCelBuilder(int index)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
getCelOrBuilder
public ConstraintOrBuilder getCelOrBuilder(int index)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;- Specified by:
getCelOrBuilderin interfaceFieldConstraintsOrBuilder
-
getCelOrBuilderList
public java.util.List<? extends ConstraintOrBuilder> getCelOrBuilderList()
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;- Specified by:
getCelOrBuilderListin interfaceFieldConstraintsOrBuilder
-
addCelBuilder
public Constraint.Builder addCelBuilder()
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
addCelBuilder
public Constraint.Builder addCelBuilder(int index)
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
getCelBuilderList
public java.util.List<Constraint.Builder> getCelBuilderList()
`cel` is a repeated field used to represent a textual expression in the Common Expression Language (CEL) syntax. For more information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). ```proto message MyMessage { // The field `value` must be greater than 42. optional int32 value = 1 [(buf.validate.field).cel = { id: "my_message.value", message: "value must be greater than 42", expression: "this > 42", }]; } ```repeated .buf.validate.Constraint cel = 23;
-
getSkipped
public boolean getSkipped()
`skipped` is an optional boolean attribute that specifies that the validation rules of this field should not be evaluated. If skipped is set to true, any validation rules set for the field will be ignored. ```proto message MyMessage { // The field `value` must not be set. optional MyOtherMessage value = 1 [(buf.validate.field).skipped = true]; } ```bool skipped = 24;- Specified by:
getSkippedin interfaceFieldConstraintsOrBuilder- Returns:
- The skipped.
-
setSkipped
public FieldConstraints.Builder setSkipped(boolean value)
`skipped` is an optional boolean attribute that specifies that the validation rules of this field should not be evaluated. If skipped is set to true, any validation rules set for the field will be ignored. ```proto message MyMessage { // The field `value` must not be set. optional MyOtherMessage value = 1 [(buf.validate.field).skipped = true]; } ```bool skipped = 24;- Parameters:
value- The skipped to set.- Returns:
- This builder for chaining.
-
clearSkipped
public FieldConstraints.Builder clearSkipped()
`skipped` is an optional boolean attribute that specifies that the validation rules of this field should not be evaluated. If skipped is set to true, any validation rules set for the field will be ignored. ```proto message MyMessage { // The field `value` must not be set. optional MyOtherMessage value = 1 [(buf.validate.field).skipped = true]; } ```bool skipped = 24;- Returns:
- This builder for chaining.
-
getRequired
public boolean getRequired()
If `required` is true, the field must be populated. Field presence can be described as "serialized in the wire format," which follows the following rules: - the following "nullable" fields must be explicitly set to be considered present: - singular message fields (may be their empty value) - member fields of a oneof (may be their default value) - proto3 optional fields (may be their default value) - proto2 scalar fields - proto3 scalar fields must be non-zero to be considered present - repeated and map fields must be non-empty to be considered present ```proto message MyMessage { // The field `value` must be set to a non-null value. optional MyOtherMessage value = 1 [(buf.validate.field).required = true]; } ```bool required = 25;- Specified by:
getRequiredin interfaceFieldConstraintsOrBuilder- Returns:
- The required.
-
setRequired
public FieldConstraints.Builder setRequired(boolean value)
If `required` is true, the field must be populated. Field presence can be described as "serialized in the wire format," which follows the following rules: - the following "nullable" fields must be explicitly set to be considered present: - singular message fields (may be their empty value) - member fields of a oneof (may be their default value) - proto3 optional fields (may be their default value) - proto2 scalar fields - proto3 scalar fields must be non-zero to be considered present - repeated and map fields must be non-empty to be considered present ```proto message MyMessage { // The field `value` must be set to a non-null value. optional MyOtherMessage value = 1 [(buf.validate.field).required = true]; } ```bool required = 25;- Parameters:
value- The required to set.- Returns:
- This builder for chaining.
-
clearRequired
public FieldConstraints.Builder clearRequired()
If `required` is true, the field must be populated. Field presence can be described as "serialized in the wire format," which follows the following rules: - the following "nullable" fields must be explicitly set to be considered present: - singular message fields (may be their empty value) - member fields of a oneof (may be their default value) - proto3 optional fields (may be their default value) - proto2 scalar fields - proto3 scalar fields must be non-zero to be considered present - repeated and map fields must be non-empty to be considered present ```proto message MyMessage { // The field `value` must be set to a non-null value. optional MyOtherMessage value = 1 [(buf.validate.field).required = true]; } ```bool required = 25;- Returns:
- This builder for chaining.
-
getIgnoreEmpty
public boolean getIgnoreEmpty()
If `ignore_empty` is true and applied to a non-nullable field (see `required` for more details), validation is skipped on the field if it is the default or empty value. Adding `ignore_empty` to a "nullable" field is a noop as these unset fields already skip validation (with the exception of `required`). ```proto message MyRepeated { // The field `value` min_len rule is only applied if the field isn't empty. repeated string value = 1 [ (buf.validate.field).ignore_empty = true, (buf.validate.field).min_len = 5 ]; } ```bool ignore_empty = 26;- Specified by:
getIgnoreEmptyin interfaceFieldConstraintsOrBuilder- Returns:
- The ignoreEmpty.
-
setIgnoreEmpty
public FieldConstraints.Builder setIgnoreEmpty(boolean value)
If `ignore_empty` is true and applied to a non-nullable field (see `required` for more details), validation is skipped on the field if it is the default or empty value. Adding `ignore_empty` to a "nullable" field is a noop as these unset fields already skip validation (with the exception of `required`). ```proto message MyRepeated { // The field `value` min_len rule is only applied if the field isn't empty. repeated string value = 1 [ (buf.validate.field).ignore_empty = true, (buf.validate.field).min_len = 5 ]; } ```bool ignore_empty = 26;- Parameters:
value- The ignoreEmpty to set.- Returns:
- This builder for chaining.
-
clearIgnoreEmpty
public FieldConstraints.Builder clearIgnoreEmpty()
If `ignore_empty` is true and applied to a non-nullable field (see `required` for more details), validation is skipped on the field if it is the default or empty value. Adding `ignore_empty` to a "nullable" field is a noop as these unset fields already skip validation (with the exception of `required`). ```proto message MyRepeated { // The field `value` min_len rule is only applied if the field isn't empty. repeated string value = 1 [ (buf.validate.field).ignore_empty = true, (buf.validate.field).min_len = 5 ]; } ```bool ignore_empty = 26;- Returns:
- This builder for chaining.
-
hasFloat
public boolean hasFloat()
Scalar Field Types
.buf.validate.FloatRules float = 1;- Specified by:
hasFloatin interfaceFieldConstraintsOrBuilder- Returns:
- Whether the float field is set.
-
getFloat
public FloatRules getFloat()
Scalar Field Types
.buf.validate.FloatRules float = 1;- Specified by:
getFloatin interfaceFieldConstraintsOrBuilder- Returns:
- The float.
-
setFloat
public FieldConstraints.Builder setFloat(FloatRules value)
Scalar Field Types
.buf.validate.FloatRules float = 1;
-
setFloat
public FieldConstraints.Builder setFloat(FloatRules.Builder builderForValue)
Scalar Field Types
.buf.validate.FloatRules float = 1;
-
mergeFloat
public FieldConstraints.Builder mergeFloat(FloatRules value)
Scalar Field Types
.buf.validate.FloatRules float = 1;
-
clearFloat
public FieldConstraints.Builder clearFloat()
Scalar Field Types
.buf.validate.FloatRules float = 1;
-
getFloatBuilder
public FloatRules.Builder getFloatBuilder()
Scalar Field Types
.buf.validate.FloatRules float = 1;
-
getFloatOrBuilder
public FloatRulesOrBuilder getFloatOrBuilder()
Scalar Field Types
.buf.validate.FloatRules float = 1;- Specified by:
getFloatOrBuilderin interfaceFieldConstraintsOrBuilder
-
hasDouble
public boolean hasDouble()
.buf.validate.DoubleRules double = 2;- Specified by:
hasDoublein interfaceFieldConstraintsOrBuilder- Returns:
- Whether the double field is set.
-
getDouble
public DoubleRules getDouble()
.buf.validate.DoubleRules double = 2;- Specified by:
getDoublein interfaceFieldConstraintsOrBuilder- Returns:
- The double.
-
setDouble
public FieldConstraints.Builder setDouble(DoubleRules value)
.buf.validate.DoubleRules double = 2;
-
setDouble
public FieldConstraints.Builder setDouble(DoubleRules.Builder builderForValue)
.buf.validate.DoubleRules double = 2;
-
mergeDouble
public FieldConstraints.Builder mergeDouble(DoubleRules value)
.buf.validate.DoubleRules double = 2;
-
clearDouble
public FieldConstraints.Builder clearDouble()
.buf.validate.DoubleRules double = 2;
-
getDoubleBuilder
public DoubleRules.Builder getDoubleBuilder()
.buf.validate.DoubleRules double = 2;
-
getDoubleOrBuilder
public DoubleRulesOrBuilder getDoubleOrBuilder()
.buf.validate.DoubleRules double = 2;- Specified by:
getDoubleOrBuilderin interfaceFieldConstraintsOrBuilder
-
hasInt32
public boolean hasInt32()
.buf.validate.Int32Rules int32 = 3;- Specified by:
hasInt32in interfaceFieldConstraintsOrBuilder- Returns:
- Whether the int32 field is set.
-
getInt32
public Int32Rules getInt32()
.buf.validate.Int32Rules int32 = 3;- Specified by:
getInt32in interfaceFieldConstraintsOrBuilder- Returns:
- The int32.
-
setInt32
public FieldConstraints.Builder setInt32(Int32Rules value)
.buf.validate.Int32Rules int32 = 3;
-
setInt32
public FieldConstraints.Builder setInt32(Int32Rules.Builder builderForValue)
.buf.validate.Int32Rules int32 = 3;
-
mergeInt32
public FieldConstraints.Builder mergeInt32(Int32Rules value)
.buf.validate.Int32Rules int32 = 3;
-
clearInt32
public FieldConstraints.Builder clearInt32()
.buf.validate.Int32Rules int32 = 3;
-
getInt32Builder
public Int32Rules.Builder getInt32Builder()
.buf.validate.Int32Rules int32 = 3;
-
getInt32OrBuilder
public Int32RulesOrBuilder getInt32OrBuilder()
.buf.validate.Int32Rules int32 = 3;- Specified by:
getInt32OrBuilderin interfaceFieldConstraintsOrBuilder
-
hasInt64
public boolean hasInt64()
.buf.validate.Int64Rules int64 = 4;- Specified by:
hasInt64in interfaceFieldConstraintsOrBuilder- Returns:
- Whether the int64 field is set.
-
getInt64
public Int64Rules getInt64()
.buf.validate.Int64Rules int64 = 4;- Specified by:
getInt64in interfaceFieldConstraintsOrBuilder- Returns:
- The int64.
-
setInt64
public FieldConstraints.Builder setInt64(Int64Rules value)
.buf.validate.Int64Rules int64 = 4;
-
setInt64
public FieldConstraints.Builder setInt64(Int64Rules.Builder builderForValue)
.buf.validate.Int64Rules int64 = 4;
-
mergeInt64
public FieldConstraints.Builder mergeInt64(Int64Rules value)
.buf.validate.Int64Rules int64 = 4;
-
clearInt64
public FieldConstraints.Builder clearInt64()
.buf.validate.Int64Rules int64 = 4;
-
getInt64Builder
public Int64Rules.Builder getInt64Builder()
.buf.validate.Int64Rules int64 = 4;
-
getInt64OrBuilder
public Int64RulesOrBuilder getInt64OrBuilder()
.buf.validate.Int64Rules int64 = 4;- Specified by:
getInt64OrBuilderin interfaceFieldConstraintsOrBuilder
-
hasUint32
public boolean hasUint32()
.buf.validate.UInt32Rules uint32 = 5;- Specified by:
hasUint32in interfaceFieldConstraintsOrBuilder- Returns:
- Whether the uint32 field is set.
-
getUint32
public UInt32Rules getUint32()
.buf.validate.UInt32Rules uint32 = 5;- Specified by:
getUint32in interfaceFieldConstraintsOrBuilder- Returns:
- The uint32.
-
setUint32
public FieldConstraints.Builder setUint32(UInt32Rules value)
.buf.validate.UInt32Rules uint32 = 5;
-
setUint32
public FieldConstraints.Builder setUint32(UInt32Rules.Builder builderForValue)
.buf.validate.UInt32Rules uint32 = 5;
-
mergeUint32
public FieldConstraints.Builder mergeUint32(UInt32Rules value)
.buf.validate.UInt32Rules uint32 = 5;
-
clearUint32
public FieldConstraints.Builder clearUint32()
.buf.validate.UInt32Rules uint32 = 5;
-
getUint32Builder
public UInt32Rules.Builder getUint32Builder()
.buf.validate.UInt32Rules uint32 = 5;
-
getUint32OrBuilder
public UInt32RulesOrBuilder getUint32OrBuilder()
.buf.validate.UInt32Rules uint32 = 5;- Specified by:
getUint32OrBuilderin interfaceFieldConstraintsOrBuilder
-
hasUint64
public boolean hasUint64()
.buf.validate.UInt64Rules uint64 = 6;- Specified by:
hasUint64in interfaceFieldConstraintsOrBuilder- Returns:
- Whether the uint64 field is set.
-
getUint64
public UInt64Rules getUint64()
.buf.validate.UInt64Rules uint64 = 6;- Specified by:
getUint64in interfaceFieldConstraintsOrBuilder- Returns:
- The uint64.
-
setUint64
public FieldConstraints.Builder setUint64(UInt64Rules value)
.buf.validate.UInt64Rules uint64 = 6;
-
setUint64
public FieldConstraints.Builder setUint64(UInt64Rules.Builder builderForValue)
.buf.validate.UInt64Rules uint64 = 6;
-
mergeUint64
public FieldConstraints.Builder mergeUint64(UInt64Rules value)
.buf.validate.UInt64Rules uint64 = 6;
-
clearUint64
public FieldConstraints.Builder clearUint64()
.buf.validate.UInt64Rules uint64 = 6;
-
getUint64Builder
public UInt64Rules.Builder getUint64Builder()
.buf.validate.UInt64Rules uint64 = 6;
-
getUint64OrBuilder
public UInt64RulesOrBuilder getUint64OrBuilder()
.buf.validate.UInt64Rules uint64 = 6;- Specified by:
getUint64OrBuilderin interfaceFieldConstraintsOrBuilder
-
hasSint32
public boolean hasSint32()
.buf.validate.SInt32Rules sint32 = 7;- Specified by:
hasSint32in interfaceFieldConstraintsOrBuilder- Returns:
- Whether the sint32 field is set.
-
getSint32
public SInt32Rules getSint32()
.buf.validate.SInt32Rules sint32 = 7;- Specified by:
getSint32in interfaceFieldConstraintsOrBuilder- Returns:
- The sint32.
-
setSint32
public FieldConstraints.Builder setSint32(SInt32Rules value)
.buf.validate.SInt32Rules sint32 = 7;
-
setSint32
public FieldConstraints.Builder setSint32(SInt32Rules.Builder builderForValue)
.buf.validate.SInt32Rules sint32 = 7;
-
mergeSint32
public FieldConstraints.Builder mergeSint32(SInt32Rules value)
.buf.validate.SInt32Rules sint32 = 7;
-
clearSint32
public FieldConstraints.Builder clearSint32()
.buf.validate.SInt32Rules sint32 = 7;
-
getSint32Builder
public SInt32Rules.Builder getSint32Builder()
.buf.validate.SInt32Rules sint32 = 7;
-
getSint32OrBuilder
public SInt32RulesOrBuilder getSint32OrBuilder()
.buf.validate.SInt32Rules sint32 = 7;- Specified by:
getSint32OrBuilderin interfaceFieldConstraintsOrBuilder
-
hasSint64
public boolean hasSint64()
.buf.validate.SInt64Rules sint64 = 8;- Specified by:
hasSint64in interfaceFieldConstraintsOrBuilder- Returns:
- Whether the sint64 field is set.
-
getSint64
public SInt64Rules getSint64()
.buf.validate.SInt64Rules sint64 = 8;- Specified by:
getSint64in interfaceFieldConstraintsOrBuilder- Returns:
- The sint64.
-
setSint64
public FieldConstraints.Builder setSint64(SInt64Rules value)
.buf.validate.SInt64Rules sint64 = 8;
-
setSint64
public FieldConstraints.Builder setSint64(SInt64Rules.Builder builderForValue)
.buf.validate.SInt64Rules sint64 = 8;
-
mergeSint64
public FieldConstraints.Builder mergeSint64(SInt64Rules value)
.buf.validate.SInt64Rules sint64 = 8;
-
clearSint64
public FieldConstraints.Builder clearSint64()
.buf.validate.SInt64Rules sint64 = 8;
-
getSint64Builder
public SInt64Rules.Builder getSint64Builder()
.buf.validate.SInt64Rules sint64 = 8;
-
getSint64OrBuilder
public SInt64RulesOrBuilder getSint64OrBuilder()
.buf.validate.SInt64Rules sint64 = 8;- Specified by:
getSint64OrBuilderin interfaceFieldConstraintsOrBuilder
-
hasFixed32
public boolean hasFixed32()
.buf.validate.Fixed32Rules fixed32 = 9;- Specified by:
hasFixed32in interfaceFieldConstraintsOrBuilder- Returns:
- Whether the fixed32 field is set.
-
getFixed32
public Fixed32Rules getFixed32()
.buf.validate.Fixed32Rules fixed32 = 9;- Specified by:
getFixed32in interfaceFieldConstraintsOrBuilder- Returns:
- The fixed32.
-
setFixed32
public FieldConstraints.Builder setFixed32(Fixed32Rules value)
.buf.validate.Fixed32Rules fixed32 = 9;
-
setFixed32
public FieldConstraints.Builder setFixed32(Fixed32Rules.Builder builderForValue)
.buf.validate.Fixed32Rules fixed32 = 9;
-
mergeFixed32
public FieldConstraints.Builder mergeFixed32(Fixed32Rules value)
.buf.validate.Fixed32Rules fixed32 = 9;
-
clearFixed32
public FieldConstraints.Builder clearFixed32()
.buf.validate.Fixed32Rules fixed32 = 9;
-
getFixed32Builder
public Fixed32Rules.Builder getFixed32Builder()
.buf.validate.Fixed32Rules fixed32 = 9;
-
getFixed32OrBuilder
public Fixed32RulesOrBuilder getFixed32OrBuilder()
.buf.validate.Fixed32Rules fixed32 = 9;- Specified by:
getFixed32OrBuilderin interfaceFieldConstraintsOrBuilder
-
hasFixed64
public boolean hasFixed64()
.buf.validate.Fixed64Rules fixed64 = 10;- Specified by:
hasFixed64in interfaceFieldConstraintsOrBuilder- Returns:
- Whether the fixed64 field is set.
-
getFixed64
public Fixed64Rules getFixed64()
.buf.validate.Fixed64Rules fixed64 = 10;- Specified by:
getFixed64in interfaceFieldConstraintsOrBuilder- Returns:
- The fixed64.
-
setFixed64
public FieldConstraints.Builder setFixed64(Fixed64Rules value)
.buf.validate.Fixed64Rules fixed64 = 10;
-
setFixed64
public FieldConstraints.Builder setFixed64(Fixed64Rules.Builder builderForValue)
.buf.validate.Fixed64Rules fixed64 = 10;
-
mergeFixed64
public FieldConstraints.Builder mergeFixed64(Fixed64Rules value)
.buf.validate.Fixed64Rules fixed64 = 10;
-
clearFixed64
public FieldConstraints.Builder clearFixed64()
.buf.validate.Fixed64Rules fixed64 = 10;
-
getFixed64Builder
public Fixed64Rules.Builder getFixed64Builder()
.buf.validate.Fixed64Rules fixed64 = 10;
-
getFixed64OrBuilder
public Fixed64RulesOrBuilder getFixed64OrBuilder()
.buf.validate.Fixed64Rules fixed64 = 10;- Specified by:
getFixed64OrBuilderin interfaceFieldConstraintsOrBuilder
-
hasSfixed32
public boolean hasSfixed32()
.buf.validate.SFixed32Rules sfixed32 = 11;- Specified by:
hasSfixed32in interfaceFieldConstraintsOrBuilder- Returns:
- Whether the sfixed32 field is set.
-
getSfixed32
public SFixed32Rules getSfixed32()
.buf.validate.SFixed32Rules sfixed32 = 11;- Specified by:
getSfixed32in interfaceFieldConstraintsOrBuilder- Returns:
- The sfixed32.
-
setSfixed32
public FieldConstraints.Builder setSfixed32(SFixed32Rules value)
.buf.validate.SFixed32Rules sfixed32 = 11;
-
setSfixed32
public FieldConstraints.Builder setSfixed32(SFixed32Rules.Builder builderForValue)
.buf.validate.SFixed32Rules sfixed32 = 11;
-
mergeSfixed32
public FieldConstraints.Builder mergeSfixed32(SFixed32Rules value)
.buf.validate.SFixed32Rules sfixed32 = 11;
-
clearSfixed32
public FieldConstraints.Builder clearSfixed32()
.buf.validate.SFixed32Rules sfixed32 = 11;
-
getSfixed32Builder
public SFixed32Rules.Builder getSfixed32Builder()
.buf.validate.SFixed32Rules sfixed32 = 11;
-
getSfixed32OrBuilder
public SFixed32RulesOrBuilder getSfixed32OrBuilder()
.buf.validate.SFixed32Rules sfixed32 = 11;- Specified by:
getSfixed32OrBuilderin interfaceFieldConstraintsOrBuilder
-
hasSfixed64
public boolean hasSfixed64()
.buf.validate.SFixed64Rules sfixed64 = 12;- Specified by:
hasSfixed64in interfaceFieldConstraintsOrBuilder- Returns:
- Whether the sfixed64 field is set.
-
getSfixed64
public SFixed64Rules getSfixed64()
.buf.validate.SFixed64Rules sfixed64 = 12;- Specified by:
getSfixed64in interfaceFieldConstraintsOrBuilder- Returns:
- The sfixed64.
-
setSfixed64
public FieldConstraints.Builder setSfixed64(SFixed64Rules value)
.buf.validate.SFixed64Rules sfixed64 = 12;
-
setSfixed64
public FieldConstraints.Builder setSfixed64(SFixed64Rules.Builder builderForValue)
.buf.validate.SFixed64Rules sfixed64 = 12;
-
mergeSfixed64
public FieldConstraints.Builder mergeSfixed64(SFixed64Rules value)
.buf.validate.SFixed64Rules sfixed64 = 12;
-
clearSfixed64
public FieldConstraints.Builder clearSfixed64()
.buf.validate.SFixed64Rules sfixed64 = 12;
-
getSfixed64Builder
public SFixed64Rules.Builder getSfixed64Builder()
.buf.validate.SFixed64Rules sfixed64 = 12;
-
getSfixed64OrBuilder
public SFixed64RulesOrBuilder getSfixed64OrBuilder()
.buf.validate.SFixed64Rules sfixed64 = 12;- Specified by:
getSfixed64OrBuilderin interfaceFieldConstraintsOrBuilder
-
hasBool
public boolean hasBool()
.buf.validate.BoolRules bool = 13;- Specified by:
hasBoolin interfaceFieldConstraintsOrBuilder- Returns:
- Whether the bool field is set.
-
getBool
public BoolRules getBool()
.buf.validate.BoolRules bool = 13;- Specified by:
getBoolin interfaceFieldConstraintsOrBuilder- Returns:
- The bool.
-
setBool
public FieldConstraints.Builder setBool(BoolRules value)
.buf.validate.BoolRules bool = 13;
-
setBool
public FieldConstraints.Builder setBool(BoolRules.Builder builderForValue)
.buf.validate.BoolRules bool = 13;
-
mergeBool
public FieldConstraints.Builder mergeBool(BoolRules value)
.buf.validate.BoolRules bool = 13;
-
clearBool
public FieldConstraints.Builder clearBool()
.buf.validate.BoolRules bool = 13;
-
getBoolBuilder
public BoolRules.Builder getBoolBuilder()
.buf.validate.BoolRules bool = 13;
-
getBoolOrBuilder
public BoolRulesOrBuilder getBoolOrBuilder()
.buf.validate.BoolRules bool = 13;- Specified by:
getBoolOrBuilderin interfaceFieldConstraintsOrBuilder
-
hasString
public boolean hasString()
.buf.validate.StringRules string = 14;- Specified by:
hasStringin interfaceFieldConstraintsOrBuilder- Returns:
- Whether the string field is set.
-
getString
public StringRules getString()
.buf.validate.StringRules string = 14;- Specified by:
getStringin interfaceFieldConstraintsOrBuilder- Returns:
- The string.
-
setString
public FieldConstraints.Builder setString(StringRules value)
.buf.validate.StringRules string = 14;
-
setString
public FieldConstraints.Builder setString(StringRules.Builder builderForValue)
.buf.validate.StringRules string = 14;
-
mergeString
public FieldConstraints.Builder mergeString(StringRules value)
.buf.validate.StringRules string = 14;
-
clearString
public FieldConstraints.Builder clearString()
.buf.validate.StringRules string = 14;
-
getStringBuilder
public StringRules.Builder getStringBuilder()
.buf.validate.StringRules string = 14;
-
getStringOrBuilder
public StringRulesOrBuilder getStringOrBuilder()
.buf.validate.StringRules string = 14;- Specified by:
getStringOrBuilderin interfaceFieldConstraintsOrBuilder
-
hasBytes
public boolean hasBytes()
.buf.validate.BytesRules bytes = 15;- Specified by:
hasBytesin interfaceFieldConstraintsOrBuilder- Returns:
- Whether the bytes field is set.
-
getBytes
public BytesRules getBytes()
.buf.validate.BytesRules bytes = 15;- Specified by:
getBytesin interfaceFieldConstraintsOrBuilder- Returns:
- The bytes.
-
setBytes
public FieldConstraints.Builder setBytes(BytesRules value)
.buf.validate.BytesRules bytes = 15;
-
setBytes
public FieldConstraints.Builder setBytes(BytesRules.Builder builderForValue)
.buf.validate.BytesRules bytes = 15;
-
mergeBytes
public FieldConstraints.Builder mergeBytes(BytesRules value)
.buf.validate.BytesRules bytes = 15;
-
clearBytes
public FieldConstraints.Builder clearBytes()
.buf.validate.BytesRules bytes = 15;
-
getBytesBuilder
public BytesRules.Builder getBytesBuilder()
.buf.validate.BytesRules bytes = 15;
-
getBytesOrBuilder
public BytesRulesOrBuilder getBytesOrBuilder()
.buf.validate.BytesRules bytes = 15;- Specified by:
getBytesOrBuilderin interfaceFieldConstraintsOrBuilder
-
hasEnum
public boolean hasEnum()
Complex Field Types
.buf.validate.EnumRules enum = 16;- Specified by:
hasEnumin interfaceFieldConstraintsOrBuilder- Returns:
- Whether the enum field is set.
-
getEnum
public EnumRules getEnum()
Complex Field Types
.buf.validate.EnumRules enum = 16;- Specified by:
getEnumin interfaceFieldConstraintsOrBuilder- Returns:
- The enum.
-
setEnum
public FieldConstraints.Builder setEnum(EnumRules value)
Complex Field Types
.buf.validate.EnumRules enum = 16;
-
setEnum
public FieldConstraints.Builder setEnum(EnumRules.Builder builderForValue)
Complex Field Types
.buf.validate.EnumRules enum = 16;
-
mergeEnum
public FieldConstraints.Builder mergeEnum(EnumRules value)
Complex Field Types
.buf.validate.EnumRules enum = 16;
-
clearEnum
public FieldConstraints.Builder clearEnum()
Complex Field Types
.buf.validate.EnumRules enum = 16;
-
getEnumBuilder
public EnumRules.Builder getEnumBuilder()
Complex Field Types
.buf.validate.EnumRules enum = 16;
-
getEnumOrBuilder
public EnumRulesOrBuilder getEnumOrBuilder()
Complex Field Types
.buf.validate.EnumRules enum = 16;- Specified by:
getEnumOrBuilderin interfaceFieldConstraintsOrBuilder
-
hasRepeated
public boolean hasRepeated()
.buf.validate.RepeatedRules repeated = 18;- Specified by:
hasRepeatedin interfaceFieldConstraintsOrBuilder- Returns:
- Whether the repeated field is set.
-
getRepeated
public RepeatedRules getRepeated()
.buf.validate.RepeatedRules repeated = 18;- Specified by:
getRepeatedin interfaceFieldConstraintsOrBuilder- Returns:
- The repeated.
-
setRepeated
public FieldConstraints.Builder setRepeated(RepeatedRules value)
.buf.validate.RepeatedRules repeated = 18;
-
setRepeated
public FieldConstraints.Builder setRepeated(RepeatedRules.Builder builderForValue)
.buf.validate.RepeatedRules repeated = 18;
-
mergeRepeated
public FieldConstraints.Builder mergeRepeated(RepeatedRules value)
.buf.validate.RepeatedRules repeated = 18;
-
clearRepeated
public FieldConstraints.Builder clearRepeated()
.buf.validate.RepeatedRules repeated = 18;
-
getRepeatedBuilder
public RepeatedRules.Builder getRepeatedBuilder()
.buf.validate.RepeatedRules repeated = 18;
-
getRepeatedOrBuilder
public RepeatedRulesOrBuilder getRepeatedOrBuilder()
.buf.validate.RepeatedRules repeated = 18;- Specified by:
getRepeatedOrBuilderin interfaceFieldConstraintsOrBuilder
-
hasMap
public boolean hasMap()
.buf.validate.MapRules map = 19;- Specified by:
hasMapin interfaceFieldConstraintsOrBuilder- Returns:
- Whether the map field is set.
-
getMap
public MapRules getMap()
.buf.validate.MapRules map = 19;- Specified by:
getMapin interfaceFieldConstraintsOrBuilder- Returns:
- The map.
-
setMap
public FieldConstraints.Builder setMap(MapRules value)
.buf.validate.MapRules map = 19;
-
setMap
public FieldConstraints.Builder setMap(MapRules.Builder builderForValue)
.buf.validate.MapRules map = 19;
-
mergeMap
public FieldConstraints.Builder mergeMap(MapRules value)
.buf.validate.MapRules map = 19;
-
clearMap
public FieldConstraints.Builder clearMap()
.buf.validate.MapRules map = 19;
-
getMapBuilder
public MapRules.Builder getMapBuilder()
.buf.validate.MapRules map = 19;
-
getMapOrBuilder
public MapRulesOrBuilder getMapOrBuilder()
.buf.validate.MapRules map = 19;- Specified by:
getMapOrBuilderin interfaceFieldConstraintsOrBuilder
-
hasAny
public boolean hasAny()
Well-Known Field Types
.buf.validate.AnyRules any = 20;- Specified by:
hasAnyin interfaceFieldConstraintsOrBuilder- Returns:
- Whether the any field is set.
-
getAny
public AnyRules getAny()
Well-Known Field Types
.buf.validate.AnyRules any = 20;- Specified by:
getAnyin interfaceFieldConstraintsOrBuilder- Returns:
- The any.
-
setAny
public FieldConstraints.Builder setAny(AnyRules value)
Well-Known Field Types
.buf.validate.AnyRules any = 20;
-
setAny
public FieldConstraints.Builder setAny(AnyRules.Builder builderForValue)
Well-Known Field Types
.buf.validate.AnyRules any = 20;
-
mergeAny
public FieldConstraints.Builder mergeAny(AnyRules value)
Well-Known Field Types
.buf.validate.AnyRules any = 20;
-
clearAny
public FieldConstraints.Builder clearAny()
Well-Known Field Types
.buf.validate.AnyRules any = 20;
-
getAnyBuilder
public AnyRules.Builder getAnyBuilder()
Well-Known Field Types
.buf.validate.AnyRules any = 20;
-
getAnyOrBuilder
public AnyRulesOrBuilder getAnyOrBuilder()
Well-Known Field Types
.buf.validate.AnyRules any = 20;- Specified by:
getAnyOrBuilderin interfaceFieldConstraintsOrBuilder
-
hasDuration
public boolean hasDuration()
.buf.validate.DurationRules duration = 21;- Specified by:
hasDurationin interfaceFieldConstraintsOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public DurationRules getDuration()
.buf.validate.DurationRules duration = 21;- Specified by:
getDurationin interfaceFieldConstraintsOrBuilder- Returns:
- The duration.
-
setDuration
public FieldConstraints.Builder setDuration(DurationRules value)
.buf.validate.DurationRules duration = 21;
-
setDuration
public FieldConstraints.Builder setDuration(DurationRules.Builder builderForValue)
.buf.validate.DurationRules duration = 21;
-
mergeDuration
public FieldConstraints.Builder mergeDuration(DurationRules value)
.buf.validate.DurationRules duration = 21;
-
clearDuration
public FieldConstraints.Builder clearDuration()
.buf.validate.DurationRules duration = 21;
-
getDurationBuilder
public DurationRules.Builder getDurationBuilder()
.buf.validate.DurationRules duration = 21;
-
getDurationOrBuilder
public DurationRulesOrBuilder getDurationOrBuilder()
.buf.validate.DurationRules duration = 21;- Specified by:
getDurationOrBuilderin interfaceFieldConstraintsOrBuilder
-
hasTimestamp
public boolean hasTimestamp()
.buf.validate.TimestampRules timestamp = 22;- Specified by:
hasTimestampin interfaceFieldConstraintsOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public TimestampRules getTimestamp()
.buf.validate.TimestampRules timestamp = 22;- Specified by:
getTimestampin interfaceFieldConstraintsOrBuilder- Returns:
- The timestamp.
-
setTimestamp
public FieldConstraints.Builder setTimestamp(TimestampRules value)
.buf.validate.TimestampRules timestamp = 22;
-
setTimestamp
public FieldConstraints.Builder setTimestamp(TimestampRules.Builder builderForValue)
.buf.validate.TimestampRules timestamp = 22;
-
mergeTimestamp
public FieldConstraints.Builder mergeTimestamp(TimestampRules value)
.buf.validate.TimestampRules timestamp = 22;
-
clearTimestamp
public FieldConstraints.Builder clearTimestamp()
.buf.validate.TimestampRules timestamp = 22;
-
getTimestampBuilder
public TimestampRules.Builder getTimestampBuilder()
.buf.validate.TimestampRules timestamp = 22;
-
getTimestampOrBuilder
public TimestampRulesOrBuilder getTimestampOrBuilder()
.buf.validate.TimestampRules timestamp = 22;- Specified by:
getTimestampOrBuilderin interfaceFieldConstraintsOrBuilder
-
-