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| Modifier and Type | Method and Description |
|---|---|
Validate.AnyRules.Builder |
addAllIn(Iterable<String> values)
In specifies that this field's `type_url` must be equal to one of the
specified values.
|
Validate.AnyRules.Builder |
addAllNotIn(Iterable<String> values)
NotIn specifies that this field's `type_url` must not be equal to any of
the specified values.
|
Validate.AnyRules.Builder |
addIn(String value)
In specifies that this field's `type_url` must be equal to one of the
specified values.
|
Validate.AnyRules.Builder |
addInBytes(com.google.protobuf.ByteString value)
In specifies that this field's `type_url` must be equal to one of the
specified values.
|
Validate.AnyRules.Builder |
addNotIn(String value)
NotIn specifies that this field's `type_url` must not be equal to any of
the specified values.
|
Validate.AnyRules.Builder |
addNotInBytes(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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Validate.AnyRules |
build() |
Validate.AnyRules |
buildPartial() |
Validate.AnyRules.Builder |
clear() |
Validate.AnyRules.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Validate.AnyRules.Builder |
clearIn()
In specifies that this field's `type_url` must be equal to one of the
specified values.
|
Validate.AnyRules.Builder |
clearNotIn()
NotIn specifies that this field's `type_url` must not be equal to any of
the specified values.
|
Validate.AnyRules.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Validate.AnyRules.Builder |
clearRequired()
Required specifies that this field must be set
optional bool required = 1; |
Validate.AnyRules.Builder |
clone() |
Validate.AnyRules |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getIn(int index)
In specifies that this field's `type_url` must be equal to one of the
specified values.
|
com.google.protobuf.ByteString |
getInBytes(int index)
In specifies that this field's `type_url` must be equal to one of the
specified values.
|
int |
getInCount()
In specifies that this field's `type_url` must be equal to one of the
specified values.
|
com.google.protobuf.ProtocolStringList |
getInList()
In specifies that this field's `type_url` must be equal to one of the
specified values.
|
String |
getNotIn(int index)
NotIn specifies that this field's `type_url` must not be equal to any of
the specified values.
|
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.
|
int |
getNotInCount()
NotIn specifies that this field's `type_url` must not be equal to any of
the specified values.
|
com.google.protobuf.ProtocolStringList |
getNotInList()
NotIn specifies that this field's `type_url` must not be equal to any of
the specified values.
|
boolean |
getRequired()
Required specifies that this field must be set
optional bool required = 1; |
boolean |
hasRequired()
Required specifies that this field must be set
optional bool required = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Validate.AnyRules.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Validate.AnyRules.Builder |
mergeFrom(com.google.protobuf.Message other) |
Validate.AnyRules.Builder |
mergeFrom(Validate.AnyRules other) |
Validate.AnyRules.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Validate.AnyRules.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Validate.AnyRules.Builder |
setIn(int index,
String value)
In specifies that this field's `type_url` must be equal to one of the
specified values.
|
Validate.AnyRules.Builder |
setNotIn(int index,
String value)
NotIn specifies that this field's `type_url` must not be equal to any of
the specified values.
|
Validate.AnyRules.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Validate.AnyRules.Builder |
setRequired(boolean value)
Required specifies that this field must be set
optional bool required = 1; |
Validate.AnyRules.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public Validate.AnyRules.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public Validate.AnyRules getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Validate.AnyRules build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Validate.AnyRules buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Validate.AnyRules.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public Validate.AnyRules.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public Validate.AnyRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public Validate.AnyRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public Validate.AnyRules.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public Validate.AnyRules.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public Validate.AnyRules.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Validate.AnyRules.Builder>public Validate.AnyRules.Builder mergeFrom(Validate.AnyRules other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public Validate.AnyRules.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Validate.AnyRules.Builder>IOExceptionpublic boolean hasRequired()
Required specifies that this field must be set
optional bool required = 1;hasRequired in interface Validate.AnyRulesOrBuilderpublic boolean getRequired()
Required specifies that this field must be set
optional bool required = 1;getRequired in interface Validate.AnyRulesOrBuilderpublic Validate.AnyRules.Builder setRequired(boolean value)
Required specifies that this field must be set
optional bool required = 1;public Validate.AnyRules.Builder clearRequired()
Required specifies that this field must be set
optional bool required = 1;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;getInList in interface Validate.AnyRulesOrBuilderpublic int getInCount()
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;getInCount in interface Validate.AnyRulesOrBuilderpublic String getIn(int index)
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;getIn in interface Validate.AnyRulesOrBuilderpublic 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;getInBytes in interface Validate.AnyRulesOrBuilderpublic Validate.AnyRules.Builder setIn(int index, String value)
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;public Validate.AnyRules.Builder addIn(String value)
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;public Validate.AnyRules.Builder addAllIn(Iterable<String> values)
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;public Validate.AnyRules.Builder clearIn()
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;public Validate.AnyRules.Builder addInBytes(com.google.protobuf.ByteString value)
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;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;getNotInList in interface Validate.AnyRulesOrBuilderpublic 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;getNotInCount in interface Validate.AnyRulesOrBuilderpublic String getNotIn(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;getNotIn in interface Validate.AnyRulesOrBuilderpublic 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;getNotInBytes in interface Validate.AnyRulesOrBuilderpublic Validate.AnyRules.Builder setNotIn(int index, String value)
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;public Validate.AnyRules.Builder addNotIn(String value)
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;public Validate.AnyRules.Builder addAllNotIn(Iterable<String> values)
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;public Validate.AnyRules.Builder clearNotIn()
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;public Validate.AnyRules.Builder addNotInBytes(com.google.protobuf.ByteString value)
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;public final Validate.AnyRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>public final Validate.AnyRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.AnyRules.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.