Package io.envoyproxy.pgv.validate
Class Validate.AnyRules.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
io.envoyproxy.pgv.validate.Validate.AnyRules.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Validate.AnyRulesOrBuilder,Cloneable
- Enclosing class:
- Validate.AnyRules
public static final class Validate.AnyRules.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder> implements Validate.AnyRulesOrBuilder
AnyRules describe constraints applied exclusively to the `google.protobuf.Any` well-known typeProtobuf type
validate.AnyRules-
Method Summary
Modifier and Type Method Description Validate.AnyRules.BuilderaddAllIn(Iterable<String> values)In specifies that this field's `type_url` must be equal to one of the specified values.Validate.AnyRules.BuilderaddAllNotIn(Iterable<String> values)NotIn specifies that this field's `type_url` must not be equal to any of the specified values.Validate.AnyRules.BuilderaddIn(String value)In specifies that this field's `type_url` must be equal to one of the specified values.Validate.AnyRules.BuilderaddInBytes(com.google.protobuf.ByteString value)In specifies that this field's `type_url` must be equal to one of the specified values.Validate.AnyRules.BuilderaddNotIn(String value)NotIn specifies that this field's `type_url` must not be equal to any of the specified values.Validate.AnyRules.BuilderaddNotInBytes(com.google.protobuf.ByteString value)NotIn specifies that this field's `type_url` must not be equal to any of the specified values.Validate.AnyRules.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Validate.AnyRulesbuild()Validate.AnyRulesbuildPartial()Validate.AnyRules.Builderclear()Validate.AnyRules.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Validate.AnyRules.BuilderclearIn()In specifies that this field's `type_url` must be equal to one of the specified values.Validate.AnyRules.BuilderclearNotIn()NotIn specifies that this field's `type_url` must not be equal to any of the specified values.Validate.AnyRules.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Validate.AnyRules.BuilderclearRequired()Required specifies that this field must be setValidate.AnyRules.Builderclone()Validate.AnyRulesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetIn(int index)In specifies that this field's `type_url` must be equal to one of the specified values.com.google.protobuf.ByteStringgetInBytes(int index)In specifies that this field's `type_url` must be equal to one of the specified values.intgetInCount()In specifies that this field's `type_url` must be equal to one of the specified values.com.google.protobuf.ProtocolStringListgetInList()In specifies that this field's `type_url` must be equal to one of the specified values.StringgetNotIn(int index)NotIn specifies that this field's `type_url` must not be equal to any of the specified values.com.google.protobuf.ByteStringgetNotInBytes(int index)NotIn specifies that this field's `type_url` must not be equal to any of the specified values.intgetNotInCount()NotIn specifies that this field's `type_url` must not be equal to any of the specified values.com.google.protobuf.ProtocolStringListgetNotInList()NotIn specifies that this field's `type_url` must not be equal to any of the specified values.booleangetRequired()Required specifies that this field must be setbooleanhasRequired()Required specifies that this field must be setprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Validate.AnyRules.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Validate.AnyRules.BuildermergeFrom(com.google.protobuf.Message other)Validate.AnyRules.BuildermergeFrom(Validate.AnyRules other)Validate.AnyRules.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Validate.AnyRules.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Validate.AnyRules.BuildersetIn(int index, String value)In specifies that this field's `type_url` must be equal to one of the specified values.Validate.AnyRules.BuildersetNotIn(int index, String value)NotIn specifies that this field's `type_url` must not be equal to any of the specified values.Validate.AnyRules.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Validate.AnyRules.BuildersetRequired(boolean value)Required specifies that this field must be setValidate.AnyRules.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.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.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-
setField
public Validate.AnyRules.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-
setRepeatedField
public Validate.AnyRules.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-
addRepeatedField
public Validate.AnyRules.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Validate.AnyRules.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-
mergeFrom
public Validate.AnyRules.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Validate.AnyRules.Builder>- Throws:
IOException
-
hasRequired
public boolean hasRequired()Required specifies that this field must be set
optional bool required = 1;- Specified by:
hasRequiredin interfaceValidate.AnyRulesOrBuilder
-
getRequired
public boolean getRequired()Required specifies that this field must be set
optional bool required = 1;- Specified by:
getRequiredin interfaceValidate.AnyRulesOrBuilder
-
setRequired
Required specifies that this field must be set
optional bool required = 1; -
clearRequired
Required specifies that this field must be set
optional bool required = 1; -
getInList
public com.google.protobuf.ProtocolStringList getInList()In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;- Specified by:
getInListin interfaceValidate.AnyRulesOrBuilder
-
getInCount
public int getInCount()In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;- Specified by:
getInCountin interfaceValidate.AnyRulesOrBuilder
-
getIn
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;- Specified by:
getInin interfaceValidate.AnyRulesOrBuilder
-
getInBytes
public com.google.protobuf.ByteString getInBytes(int index)In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;- Specified by:
getInBytesin interfaceValidate.AnyRulesOrBuilder
-
setIn
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2; -
addIn
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2; -
addAllIn
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2; -
clearIn
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2; -
addInBytes
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2; -
getNotInList
public com.google.protobuf.ProtocolStringList getNotInList()NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;- Specified by:
getNotInListin interfaceValidate.AnyRulesOrBuilder
-
getNotInCount
public int getNotInCount()NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;- Specified by:
getNotInCountin interfaceValidate.AnyRulesOrBuilder
-
getNotIn
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;- Specified by:
getNotInin interfaceValidate.AnyRulesOrBuilder
-
getNotInBytes
public com.google.protobuf.ByteString getNotInBytes(int index)NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;- Specified by:
getNotInBytesin interfaceValidate.AnyRulesOrBuilder
-
setNotIn
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3; -
addNotIn
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3; -
addAllNotIn
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3; -
clearNotIn
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3; -
addNotInBytes
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3; -
setUnknownFields
public final Validate.AnyRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-
mergeUnknownFields
public final Validate.AnyRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>
-