Package io.envoyproxy.pgv.validate
Class Validate.BytesRules.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>
-
- io.envoyproxy.pgv.validate.Validate.BytesRules.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Validate.BytesRulesOrBuilder,Cloneable
- Enclosing class:
- Validate.BytesRules
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` values
Protobuf typevalidate.BytesRules
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Validate.BytesRules.BuilderaddAllIn(Iterable<? extends com.google.protobuf.ByteString> values)In specifies that this field must be equal to one of the specified valuesValidate.BytesRules.BuilderaddAllNotIn(Iterable<? extends com.google.protobuf.ByteString> values)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.BytesRules.BuilderaddIn(com.google.protobuf.ByteString value)In specifies that this field must be equal to one of the specified valuesValidate.BytesRules.BuilderaddNotIn(com.google.protobuf.ByteString value)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.BytesRules.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Validate.BytesRulesbuild()Validate.BytesRulesbuildPartial()Validate.BytesRules.Builderclear()Validate.BytesRules.BuilderclearConst()Const specifies that this field must be exactly the specified valueValidate.BytesRules.BuilderclearContains()Contains specifies that this field must have the specified bytes anywhere in the string.Validate.BytesRules.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Validate.BytesRules.BuilderclearIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptyValidate.BytesRules.BuilderclearIn()In specifies that this field must be equal to one of the specified valuesValidate.BytesRules.BuilderclearIp()Ip specifies that the field must be a valid IP (v4 or v6) address in byte formatValidate.BytesRules.BuilderclearIpv4()Ipv4 specifies that the field must be a valid IPv4 address in byte formatValidate.BytesRules.BuilderclearIpv6()Ipv6 specifies that the field must be a valid IPv6 address in byte formatValidate.BytesRules.BuilderclearLen()Len specifies that this field must be the specified number of bytesValidate.BytesRules.BuilderclearMaxLen()MaxLen specifies that this field must be the specified number of bytes at a maximumValidate.BytesRules.BuilderclearMinLen()MinLen specifies that this field must be the specified number of bytes at a minimumValidate.BytesRules.BuilderclearNotIn()NotIn specifies that this field cannot be equal to one of the specified valuesValidate.BytesRules.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Validate.BytesRules.BuilderclearPattern()Pattern specifes that this field must match against the specified regular expression (RE2 syntax).Validate.BytesRules.BuilderclearPrefix()Prefix specifies that this field must have the specified bytes at the beginning of the string.Validate.BytesRules.BuilderclearSuffix()Suffix specifies that this field must have the specified bytes at the end of the string.Validate.BytesRules.BuilderclearWellKnown()Validate.BytesRules.Builderclone()com.google.protobuf.ByteStringgetConst()Const specifies that this field must be exactly the specified valuecom.google.protobuf.ByteStringgetContains()Contains specifies that this field must have the specified bytes anywhere in the string.Validate.BytesRulesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptycom.google.protobuf.ByteStringgetIn(int index)In specifies that this field must be equal to one of the specified valuesintgetInCount()In specifies that this field must be equal to one of the specified valuesList<com.google.protobuf.ByteString>getInList()In specifies that this field must be equal to one of the specified valuesbooleangetIp()Ip specifies that the field must be a valid IP (v4 or v6) address in byte formatbooleangetIpv4()Ipv4 specifies that the field must be a valid IPv4 address in byte formatbooleangetIpv6()Ipv6 specifies that the field must be a valid IPv6 address in byte formatlonggetLen()Len specifies that this field must be the specified number of byteslonggetMaxLen()MaxLen specifies that this field must be the specified number of bytes at a maximumlonggetMinLen()MinLen specifies that this field must be the specified number of bytes at a minimumcom.google.protobuf.ByteStringgetNotIn(int index)NotIn specifies that this field cannot be equal to one of the specified valuesintgetNotInCount()NotIn specifies that this field cannot be equal to one of the specified valuesList<com.google.protobuf.ByteString>getNotInList()NotIn specifies that this field cannot be equal to one of the specified valuesStringgetPattern()Pattern specifes that this field must match against the specified regular expression (RE2 syntax).com.google.protobuf.ByteStringgetPatternBytes()Pattern specifes that this field must match against the specified regular expression (RE2 syntax).com.google.protobuf.ByteStringgetPrefix()Prefix specifies that this field must have the specified bytes at the beginning of the string.com.google.protobuf.ByteStringgetSuffix()Suffix specifies that this field must have the specified bytes at the end of the string.Validate.BytesRules.WellKnownCasegetWellKnownCase()booleanhasConst()Const specifies that this field must be exactly the specified valuebooleanhasContains()Contains specifies that this field must have the specified bytes anywhere in the string.booleanhasIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptybooleanhasIp()Ip specifies that the field must be a valid IP (v4 or v6) address in byte formatbooleanhasIpv4()Ipv4 specifies that the field must be a valid IPv4 address in byte formatbooleanhasIpv6()Ipv6 specifies that the field must be a valid IPv6 address in byte formatbooleanhasLen()Len specifies that this field must be the specified number of bytesbooleanhasMaxLen()MaxLen specifies that this field must be the specified number of bytes at a maximumbooleanhasMinLen()MinLen specifies that this field must be the specified number of bytes at a minimumbooleanhasPattern()Pattern specifes that this field must match against the specified regular expression (RE2 syntax).booleanhasPrefix()Prefix specifies that this field must have the specified bytes at the beginning of the string.booleanhasSuffix()Suffix specifies that this field must have the specified bytes at the end of the string.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Validate.BytesRules.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Validate.BytesRules.BuildermergeFrom(com.google.protobuf.Message other)Validate.BytesRules.BuildermergeFrom(Validate.BytesRules other)Validate.BytesRules.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Validate.BytesRules.BuildersetConst(com.google.protobuf.ByteString value)Const specifies that this field must be exactly the specified valueValidate.BytesRules.BuildersetContains(com.google.protobuf.ByteString value)Contains specifies that this field must have the specified bytes anywhere in the string.Validate.BytesRules.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Validate.BytesRules.BuildersetIgnoreEmpty(boolean value)IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptyValidate.BytesRules.BuildersetIn(int index, com.google.protobuf.ByteString value)In specifies that this field must be equal to one of the specified valuesValidate.BytesRules.BuildersetIp(boolean value)Ip specifies that the field must be a valid IP (v4 or v6) address in byte formatValidate.BytesRules.BuildersetIpv4(boolean value)Ipv4 specifies that the field must be a valid IPv4 address in byte formatValidate.BytesRules.BuildersetIpv6(boolean value)Ipv6 specifies that the field must be a valid IPv6 address in byte formatValidate.BytesRules.BuildersetLen(long value)Len specifies that this field must be the specified number of bytesValidate.BytesRules.BuildersetMaxLen(long value)MaxLen specifies that this field must be the specified number of bytes at a maximumValidate.BytesRules.BuildersetMinLen(long value)MinLen specifies that this field must be the specified number of bytes at a minimumValidate.BytesRules.BuildersetNotIn(int index, com.google.protobuf.ByteString value)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.BytesRules.BuildersetPattern(String value)Pattern specifes that this field must match against the specified regular expression (RE2 syntax).Validate.BytesRules.BuildersetPatternBytes(com.google.protobuf.ByteString value)Pattern specifes that this field must match against the specified regular expression (RE2 syntax).Validate.BytesRules.BuildersetPrefix(com.google.protobuf.ByteString value)Prefix specifies that this field must have the specified bytes at the beginning of the string.Validate.BytesRules.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Validate.BytesRules.BuildersetSuffix(com.google.protobuf.ByteString value)Suffix specifies that this field must have the specified bytes at the end of the string.Validate.BytesRules.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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.BytesRules.Builder>
-
clear
public Validate.BytesRules.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.BytesRules.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.BytesRules.Builder>
-
getDefaultInstanceForType
public Validate.BytesRules getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Validate.BytesRules build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Validate.BytesRules buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Validate.BytesRules.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.BytesRules.Builder>
-
setField
public Validate.BytesRules.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.BytesRules.Builder>
-
clearField
public Validate.BytesRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>
-
clearOneof
public Validate.BytesRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>
-
setRepeatedField
public Validate.BytesRules.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.BytesRules.Builder>
-
addRepeatedField
public Validate.BytesRules.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.BytesRules.Builder>
-
mergeFrom
public Validate.BytesRules.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Validate.BytesRules.Builder>
-
mergeFrom
public Validate.BytesRules.Builder mergeFrom(Validate.BytesRules other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>
-
mergeFrom
public Validate.BytesRules.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.BytesRules.Builder>- Throws:
IOException
-
getWellKnownCase
public Validate.BytesRules.WellKnownCase getWellKnownCase()
- Specified by:
getWellKnownCasein interfaceValidate.BytesRulesOrBuilder
-
clearWellKnown
public Validate.BytesRules.Builder clearWellKnown()
-
hasConst
public boolean hasConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;- Specified by:
hasConstin interfaceValidate.BytesRulesOrBuilder
-
getConst
public com.google.protobuf.ByteString getConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;- Specified by:
getConstin interfaceValidate.BytesRulesOrBuilder
-
setConst
public Validate.BytesRules.Builder setConst(com.google.protobuf.ByteString value)
Const specifies that this field must be exactly the specified value
optional bytes const = 1;
-
clearConst
public Validate.BytesRules.Builder clearConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;
-
hasLen
public boolean hasLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;- Specified by:
hasLenin interfaceValidate.BytesRulesOrBuilder
-
getLen
public long getLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;- Specified by:
getLenin interfaceValidate.BytesRulesOrBuilder
-
setLen
public Validate.BytesRules.Builder setLen(long value)
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;
-
clearLen
public Validate.BytesRules.Builder clearLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;
-
hasMinLen
public boolean hasMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_len = 2;- Specified by:
hasMinLenin interfaceValidate.BytesRulesOrBuilder
-
getMinLen
public long getMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_len = 2;- Specified by:
getMinLenin interfaceValidate.BytesRulesOrBuilder
-
setMinLen
public 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;
-
clearMinLen
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;
-
hasMaxLen
public boolean hasMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_len = 3;- Specified by:
hasMaxLenin interfaceValidate.BytesRulesOrBuilder
-
getMaxLen
public long getMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_len = 3;- Specified by:
getMaxLenin interfaceValidate.BytesRulesOrBuilder
-
setMaxLen
public 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;
-
clearMaxLen
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;
-
hasPattern
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;- Specified by:
hasPatternin interfaceValidate.BytesRulesOrBuilder
-
getPattern
public 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;- Specified by:
getPatternin interfaceValidate.BytesRulesOrBuilder
-
getPatternBytes
public 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;- Specified by:
getPatternBytesin interfaceValidate.BytesRulesOrBuilder
-
setPattern
public 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;
-
clearPattern
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;
-
setPatternBytes
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;
-
hasPrefix
public boolean hasPrefix()
Prefix specifies that this field must have the specified bytes at the beginning of the string.
optional bytes prefix = 5;- Specified by:
hasPrefixin interfaceValidate.BytesRulesOrBuilder
-
getPrefix
public 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;- Specified by:
getPrefixin interfaceValidate.BytesRulesOrBuilder
-
setPrefix
public 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;
-
clearPrefix
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;
-
hasSuffix
public boolean hasSuffix()
Suffix specifies that this field must have the specified bytes at the end of the string.
optional bytes suffix = 6;- Specified by:
hasSuffixin interfaceValidate.BytesRulesOrBuilder
-
getSuffix
public 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;- Specified by:
getSuffixin interfaceValidate.BytesRulesOrBuilder
-
setSuffix
public 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;
-
clearSuffix
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;
-
hasContains
public boolean hasContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;- Specified by:
hasContainsin interfaceValidate.BytesRulesOrBuilder
-
getContains
public com.google.protobuf.ByteString getContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;- Specified by:
getContainsin interfaceValidate.BytesRulesOrBuilder
-
setContains
public 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;
-
clearContains
public Validate.BytesRules.Builder clearContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;
-
getInList
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;- Specified by:
getInListin interfaceValidate.BytesRulesOrBuilder
-
getInCount
public int getInCount()
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;- Specified by:
getInCountin interfaceValidate.BytesRulesOrBuilder
-
getIn
public 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;- Specified by:
getInin interfaceValidate.BytesRulesOrBuilder
-
setIn
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;
-
addIn
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;
-
addAllIn
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;
-
clearIn
public Validate.BytesRules.Builder clearIn()
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;
-
getNotInList
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;- Specified by:
getNotInListin interfaceValidate.BytesRulesOrBuilder
-
getNotInCount
public int getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;- Specified by:
getNotInCountin interfaceValidate.BytesRulesOrBuilder
-
getNotIn
public 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;- Specified by:
getNotInin interfaceValidate.BytesRulesOrBuilder
-
setNotIn
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;
-
addNotIn
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;
-
addAllNotIn
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;
-
clearNotIn
public Validate.BytesRules.Builder clearNotIn()
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;
-
hasIp
public boolean hasIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
optional bool ip = 10;- Specified by:
hasIpin interfaceValidate.BytesRulesOrBuilder
-
getIp
public boolean getIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
optional bool ip = 10;- Specified by:
getIpin interfaceValidate.BytesRulesOrBuilder
-
setIp
public Validate.BytesRules.Builder setIp(boolean value)
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
optional bool ip = 10;
-
clearIp
public Validate.BytesRules.Builder clearIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
optional bool ip = 10;
-
hasIpv4
public boolean hasIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
optional bool ipv4 = 11;- Specified by:
hasIpv4in interfaceValidate.BytesRulesOrBuilder
-
getIpv4
public boolean getIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
optional bool ipv4 = 11;- Specified by:
getIpv4in interfaceValidate.BytesRulesOrBuilder
-
setIpv4
public Validate.BytesRules.Builder setIpv4(boolean value)
Ipv4 specifies that the field must be a valid IPv4 address in byte format
optional bool ipv4 = 11;
-
clearIpv4
public Validate.BytesRules.Builder clearIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
optional bool ipv4 = 11;
-
hasIpv6
public boolean hasIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
optional bool ipv6 = 12;- Specified by:
hasIpv6in interfaceValidate.BytesRulesOrBuilder
-
getIpv6
public boolean getIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
optional bool ipv6 = 12;- Specified by:
getIpv6in interfaceValidate.BytesRulesOrBuilder
-
setIpv6
public Validate.BytesRules.Builder setIpv6(boolean value)
Ipv6 specifies that the field must be a valid IPv6 address in byte format
optional bool ipv6 = 12;
-
clearIpv6
public Validate.BytesRules.Builder clearIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
optional bool ipv6 = 12;
-
hasIgnoreEmpty
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;- Specified by:
hasIgnoreEmptyin interfaceValidate.BytesRulesOrBuilder
-
getIgnoreEmpty
public 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;- Specified by:
getIgnoreEmptyin interfaceValidate.BytesRulesOrBuilder
-
setIgnoreEmpty
public 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;
-
clearIgnoreEmpty
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;
-
setUnknownFields
public final Validate.BytesRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>
-
mergeUnknownFields
public final Validate.BytesRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.BytesRules.Builder>
-
-