public static final class Validate.BytesRules.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder> implements Validate.BytesRulesOrBuilder
BytesRules describe the constraints applied to `bytes` valuesProtobuf type
validate.BytesRules| Modifier and Type | Method and Description |
|---|---|
Validate.BytesRules.Builder |
addAllIn(Iterable<? extends com.google.protobuf.ByteString> values)
In specifies that this field must be equal to one of the specified
values
repeated bytes in = 8; |
Validate.BytesRules.Builder |
addAllNotIn(Iterable<? extends com.google.protobuf.ByteString> values)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated bytes not_in = 9; |
Validate.BytesRules.Builder |
addIn(com.google.protobuf.ByteString value)
In specifies that this field must be equal to one of the specified
values
repeated bytes in = 8; |
Validate.BytesRules.Builder |
addNotIn(com.google.protobuf.ByteString value)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated bytes not_in = 9; |
Validate.BytesRules.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Validate.BytesRules |
build() |
Validate.BytesRules |
buildPartial() |
Validate.BytesRules.Builder |
clear() |
Validate.BytesRules.Builder |
clearConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1; |
Validate.BytesRules.Builder |
clearContains()
Contains specifies that this field must have the specified bytes
anywhere in the string.
|
Validate.BytesRules.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Validate.BytesRules.Builder |
clearIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be
evaluated only if the field is not empty
optional bool ignore_empty = 14; |
Validate.BytesRules.Builder |
clearIn()
In specifies that this field must be equal to one of the specified
values
repeated bytes in = 8; |
Validate.BytesRules.Builder |
clearIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in
byte format
bool ip = 10; |
Validate.BytesRules.Builder |
clearIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte
format
bool ipv4 = 11; |
Validate.BytesRules.Builder |
clearIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte
format
bool ipv6 = 12; |
Validate.BytesRules.Builder |
clearLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13; |
Validate.BytesRules.Builder |
clearMaxLen()
MaxLen specifies that this field must be the specified number of bytes
at a maximum
optional uint64 max_len = 3; |
Validate.BytesRules.Builder |
clearMinLen()
MinLen specifies that this field must be the specified number of bytes
at a minimum
optional uint64 min_len = 2; |
Validate.BytesRules.Builder |
clearNotIn()
NotIn specifies that this field cannot be equal to one of the specified
values
repeated bytes not_in = 9; |
Validate.BytesRules.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Validate.BytesRules.Builder |
clearPattern()
Pattern specifes that this field must match against the specified
regular expression (RE2 syntax).
|
Validate.BytesRules.Builder |
clearPrefix()
Prefix specifies that this field must have the specified bytes at the
beginning of the string.
|
Validate.BytesRules.Builder |
clearSuffix()
Suffix specifies that this field must have the specified bytes at the
end of the string.
|
Validate.BytesRules.Builder |
clearWellKnown() |
Validate.BytesRules.Builder |
clone() |
com.google.protobuf.ByteString |
getConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1; |
com.google.protobuf.ByteString |
getContains()
Contains specifies that this field must have the specified bytes
anywhere in the string.
|
Validate.BytesRules |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be
evaluated only if the field is not empty
optional bool ignore_empty = 14; |
com.google.protobuf.ByteString |
getIn(int index)
In specifies that this field must be equal to one of the specified
values
repeated bytes in = 8; |
int |
getInCount()
In specifies that this field must be equal to one of the specified
values
repeated bytes in = 8; |
List<com.google.protobuf.ByteString> |
getInList()
In specifies that this field must be equal to one of the specified
values
repeated bytes in = 8; |
boolean |
getIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in
byte format
bool ip = 10; |
boolean |
getIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte
format
bool ipv4 = 11; |
boolean |
getIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte
format
bool ipv6 = 12; |
long |
getLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13; |
long |
getMaxLen()
MaxLen specifies that this field must be the specified number of bytes
at a maximum
optional uint64 max_len = 3; |
long |
getMinLen()
MinLen specifies that this field must be the specified number of bytes
at a minimum
optional uint64 min_len = 2; |
com.google.protobuf.ByteString |
getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated bytes not_in = 9; |
int |
getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified
values
repeated bytes not_in = 9; |
List<com.google.protobuf.ByteString> |
getNotInList()
NotIn specifies that this field cannot be equal to one of the specified
values
repeated bytes not_in = 9; |
String |
getPattern()
Pattern specifes that this field must match against the specified
regular expression (RE2 syntax).
|
com.google.protobuf.ByteString |
getPatternBytes()
Pattern specifes that this field must match against the specified
regular expression (RE2 syntax).
|
com.google.protobuf.ByteString |
getPrefix()
Prefix specifies that this field must have the specified bytes at the
beginning of the string.
|
com.google.protobuf.ByteString |
getSuffix()
Suffix specifies that this field must have the specified bytes at the
end of the string.
|
Validate.BytesRules.WellKnownCase |
getWellKnownCase() |
boolean |
hasConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1; |
boolean |
hasContains()
Contains specifies that this field must have the specified bytes
anywhere in the string.
|
boolean |
hasIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be
evaluated only if the field is not empty
optional bool ignore_empty = 14; |
boolean |
hasIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in
byte format
bool ip = 10; |
boolean |
hasIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte
format
bool ipv4 = 11; |
boolean |
hasIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte
format
bool ipv6 = 12; |
boolean |
hasLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13; |
boolean |
hasMaxLen()
MaxLen specifies that this field must be the specified number of bytes
at a maximum
optional uint64 max_len = 3; |
boolean |
hasMinLen()
MinLen specifies that this field must be the specified number of bytes
at a minimum
optional uint64 min_len = 2; |
boolean |
hasPattern()
Pattern specifes that this field must match against the specified
regular expression (RE2 syntax).
|
boolean |
hasPrefix()
Prefix specifies that this field must have the specified bytes at the
beginning of the string.
|
boolean |
hasSuffix()
Suffix specifies that this field must have the specified bytes at the
end of the string.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Validate.BytesRules.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Validate.BytesRules.Builder |
mergeFrom(com.google.protobuf.Message other) |
Validate.BytesRules.Builder |
mergeFrom(Validate.BytesRules other) |
Validate.BytesRules.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Validate.BytesRules.Builder |
setConst(com.google.protobuf.ByteString value)
Const specifies that this field must be exactly the specified value
optional bytes const = 1; |
Validate.BytesRules.Builder |
setContains(com.google.protobuf.ByteString value)
Contains specifies that this field must have the specified bytes
anywhere in the string.
|
Validate.BytesRules.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Validate.BytesRules.Builder |
setIgnoreEmpty(boolean value)
IgnoreEmpty specifies that the validation rules of this field should be
evaluated only if the field is not empty
optional bool ignore_empty = 14; |
Validate.BytesRules.Builder |
setIn(int index,
com.google.protobuf.ByteString value)
In specifies that this field must be equal to one of the specified
values
repeated bytes in = 8; |
Validate.BytesRules.Builder |
setIp(boolean value)
Ip specifies that the field must be a valid IP (v4 or v6) address in
byte format
bool ip = 10; |
Validate.BytesRules.Builder |
setIpv4(boolean value)
Ipv4 specifies that the field must be a valid IPv4 address in byte
format
bool ipv4 = 11; |
Validate.BytesRules.Builder |
setIpv6(boolean value)
Ipv6 specifies that the field must be a valid IPv6 address in byte
format
bool ipv6 = 12; |
Validate.BytesRules.Builder |
setLen(long value)
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13; |
Validate.BytesRules.Builder |
setMaxLen(long value)
MaxLen specifies that this field must be the specified number of bytes
at a maximum
optional uint64 max_len = 3; |
Validate.BytesRules.Builder |
setMinLen(long value)
MinLen specifies that this field must be the specified number of bytes
at a minimum
optional uint64 min_len = 2; |
Validate.BytesRules.Builder |
setNotIn(int index,
com.google.protobuf.ByteString value)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated bytes not_in = 9; |
Validate.BytesRules.Builder |
setPattern(String value)
Pattern specifes that this field must match against the specified
regular expression (RE2 syntax).
|
Validate.BytesRules.Builder |
setPatternBytes(com.google.protobuf.ByteString value)
Pattern specifes that this field must match against the specified
regular expression (RE2 syntax).
|
Validate.BytesRules.Builder |
setPrefix(com.google.protobuf.ByteString value)
Prefix specifies that this field must have the specified bytes at the
beginning of the string.
|
Validate.BytesRules.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Validate.BytesRules.Builder |
setSuffix(com.google.protobuf.ByteString value)
Suffix specifies that this field must have the specified bytes at the
end of the string.
|
Validate.BytesRules.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.BytesRules.Builder>public Validate.BytesRules.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.BytesRules.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.BytesRules.Builder>public Validate.BytesRules getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Validate.BytesRules build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Validate.BytesRules buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Validate.BytesRules.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.BytesRules.Builder>public Validate.BytesRules.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.BytesRules.Builder>public Validate.BytesRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>public Validate.BytesRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>public Validate.BytesRules.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.BytesRules.Builder>public Validate.BytesRules.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.BytesRules.Builder>public Validate.BytesRules.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Validate.BytesRules.Builder>public Validate.BytesRules.Builder mergeFrom(Validate.BytesRules other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>public Validate.BytesRules.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.BytesRules.Builder>IOExceptionpublic Validate.BytesRules.WellKnownCase getWellKnownCase()
getWellKnownCase in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder clearWellKnown()
public boolean hasConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;hasConst in interface Validate.BytesRulesOrBuilderpublic com.google.protobuf.ByteString getConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;getConst in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setConst(com.google.protobuf.ByteString value)
Const specifies that this field must be exactly the specified value
optional bytes const = 1;value - The const to set.public Validate.BytesRules.Builder clearConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;public boolean hasLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;hasLen in interface Validate.BytesRulesOrBuilderpublic long getLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;getLen in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setLen(long value)
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;value - The len to set.public Validate.BytesRules.Builder clearLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;public boolean hasMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_len = 2;hasMinLen in interface Validate.BytesRulesOrBuilderpublic long getMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_len = 2;getMinLen in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setMinLen(long value)
MinLen specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_len = 2;value - The minLen to set.public Validate.BytesRules.Builder clearMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_len = 2;public boolean hasMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_len = 3;hasMaxLen in interface Validate.BytesRulesOrBuilderpublic long getMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_len = 3;getMaxLen in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setMaxLen(long value)
MaxLen specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_len = 3;value - The maxLen to set.public Validate.BytesRules.Builder clearMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_len = 3;public boolean hasPattern()
Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.
optional string pattern = 4;hasPattern in interface Validate.BytesRulesOrBuilderpublic String getPattern()
Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.
optional string pattern = 4;getPattern in interface Validate.BytesRulesOrBuilderpublic com.google.protobuf.ByteString getPatternBytes()
Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.
optional string pattern = 4;getPatternBytes in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setPattern(String value)
Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.
optional string pattern = 4;value - The pattern to set.public Validate.BytesRules.Builder clearPattern()
Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.
optional string pattern = 4;public Validate.BytesRules.Builder setPatternBytes(com.google.protobuf.ByteString value)
Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.
optional string pattern = 4;value - The bytes for pattern to set.public boolean hasPrefix()
Prefix specifies that this field must have the specified bytes at the beginning of the string.
optional bytes prefix = 5;hasPrefix in interface Validate.BytesRulesOrBuilderpublic com.google.protobuf.ByteString getPrefix()
Prefix specifies that this field must have the specified bytes at the beginning of the string.
optional bytes prefix = 5;getPrefix in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setPrefix(com.google.protobuf.ByteString value)
Prefix specifies that this field must have the specified bytes at the beginning of the string.
optional bytes prefix = 5;value - The prefix to set.public Validate.BytesRules.Builder clearPrefix()
Prefix specifies that this field must have the specified bytes at the beginning of the string.
optional bytes prefix = 5;public boolean hasSuffix()
Suffix specifies that this field must have the specified bytes at the end of the string.
optional bytes suffix = 6;hasSuffix in interface Validate.BytesRulesOrBuilderpublic com.google.protobuf.ByteString getSuffix()
Suffix specifies that this field must have the specified bytes at the end of the string.
optional bytes suffix = 6;getSuffix in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setSuffix(com.google.protobuf.ByteString value)
Suffix specifies that this field must have the specified bytes at the end of the string.
optional bytes suffix = 6;value - The suffix to set.public Validate.BytesRules.Builder clearSuffix()
Suffix specifies that this field must have the specified bytes at the end of the string.
optional bytes suffix = 6;public boolean hasContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;hasContains in interface Validate.BytesRulesOrBuilderpublic com.google.protobuf.ByteString getContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;getContains in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setContains(com.google.protobuf.ByteString value)
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;value - The contains to set.public Validate.BytesRules.Builder clearContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;public List<com.google.protobuf.ByteString> getInList()
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;getInList in interface Validate.BytesRulesOrBuilderpublic int getInCount()
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;getInCount in interface Validate.BytesRulesOrBuilderpublic com.google.protobuf.ByteString getIn(int index)
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;getIn in interface Validate.BytesRulesOrBuilderindex - The index of the element to return.public Validate.BytesRules.Builder setIn(int index, com.google.protobuf.ByteString value)
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;index - The index to set the value at.value - The in to set.public Validate.BytesRules.Builder addIn(com.google.protobuf.ByteString value)
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;value - The in to add.public Validate.BytesRules.Builder addAllIn(Iterable<? extends com.google.protobuf.ByteString> values)
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;values - The in to add.public Validate.BytesRules.Builder clearIn()
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;public List<com.google.protobuf.ByteString> getNotInList()
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;getNotInList in interface Validate.BytesRulesOrBuilderpublic int getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;getNotInCount in interface Validate.BytesRulesOrBuilderpublic com.google.protobuf.ByteString getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;getNotIn in interface Validate.BytesRulesOrBuilderindex - The index of the element to return.public Validate.BytesRules.Builder setNotIn(int index, com.google.protobuf.ByteString value)
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;index - The index to set the value at.value - The notIn to set.public Validate.BytesRules.Builder addNotIn(com.google.protobuf.ByteString value)
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;value - The notIn to add.public Validate.BytesRules.Builder addAllNotIn(Iterable<? extends com.google.protobuf.ByteString> values)
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;values - The notIn to add.public Validate.BytesRules.Builder clearNotIn()
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;public boolean hasIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
bool ip = 10;hasIp in interface Validate.BytesRulesOrBuilderpublic boolean getIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
bool ip = 10;getIp in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setIp(boolean value)
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
bool ip = 10;value - The ip to set.public Validate.BytesRules.Builder clearIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
bool ip = 10;public boolean hasIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
bool ipv4 = 11;hasIpv4 in interface Validate.BytesRulesOrBuilderpublic boolean getIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
bool ipv4 = 11;getIpv4 in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setIpv4(boolean value)
Ipv4 specifies that the field must be a valid IPv4 address in byte format
bool ipv4 = 11;value - The ipv4 to set.public Validate.BytesRules.Builder clearIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
bool ipv4 = 11;public boolean hasIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
bool ipv6 = 12;hasIpv6 in interface Validate.BytesRulesOrBuilderpublic boolean getIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
bool ipv6 = 12;getIpv6 in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setIpv6(boolean value)
Ipv6 specifies that the field must be a valid IPv6 address in byte format
bool ipv6 = 12;value - The ipv6 to set.public Validate.BytesRules.Builder clearIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
bool ipv6 = 12;public boolean hasIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
optional bool ignore_empty = 14;hasIgnoreEmpty in interface Validate.BytesRulesOrBuilderpublic boolean getIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
optional bool ignore_empty = 14;getIgnoreEmpty in interface Validate.BytesRulesOrBuilderpublic Validate.BytesRules.Builder setIgnoreEmpty(boolean value)
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
optional bool ignore_empty = 14;value - The ignoreEmpty to set.public Validate.BytesRules.Builder clearIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
optional bool ignore_empty = 14;public final Validate.BytesRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>public final Validate.BytesRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>Copyright © 2022. All rights reserved.