Package io.envoyproxy.pgv.validate
Class Validate.BytesRules
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.pgv.validate.Validate.BytesRules
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Validate.BytesRulesOrBuilder
,Serializable
- Enclosing class:
- Validate
public static final class Validate.BytesRules extends com.google.protobuf.GeneratedMessageV3 implements Validate.BytesRulesOrBuilder
BytesRules describe the constraints applied to `bytes` values
Protobuf typevalidate.BytesRules
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Validate.BytesRules.Builder
BytesRules describe the constraints applied to `bytes` valuesstatic class
Validate.BytesRules.WellKnownCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONST_FIELD_NUMBER
static int
CONTAINS_FIELD_NUMBER
static int
IGNORE_EMPTY_FIELD_NUMBER
static int
IN_FIELD_NUMBER
static int
IP_FIELD_NUMBER
static int
IPV4_FIELD_NUMBER
static int
IPV6_FIELD_NUMBER
static int
LEN_FIELD_NUMBER
static int
MAX_LEN_FIELD_NUMBER
static int
MIN_LEN_FIELD_NUMBER
static int
NOT_IN_FIELD_NUMBER
static com.google.protobuf.Parser<Validate.BytesRules>
PARSER
Deprecated.static int
PATTERN_FIELD_NUMBER
static int
PREFIX_FIELD_NUMBER
static int
SUFFIX_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.protobuf.ByteString
getConst()
Const specifies that this field must be exactly the specified valuecom.google.protobuf.ByteString
getContains()
Contains specifies that this field must have the specified bytes anywhere in the string.static Validate.BytesRules
getDefaultInstance()
Validate.BytesRules
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptycom.google.protobuf.ByteString
getIn(int index)
In specifies that this field must be equal to one of the specified valuesint
getInCount()
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 valuesboolean
getIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte formatboolean
getIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte formatboolean
getIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte formatlong
getLen()
Len specifies that this field must be the specified number of byteslong
getMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximumlong
getMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimumcom.google.protobuf.ByteString
getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified valuesint
getNotInCount()
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 valuescom.google.protobuf.Parser<Validate.BytesRules>
getParserForType()
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.int
getSerializedSize()
com.google.protobuf.ByteString
getSuffix()
Suffix specifies that this field must have the specified bytes at the end of the string.com.google.protobuf.UnknownFieldSet
getUnknownFields()
Validate.BytesRules.WellKnownCase
getWellKnownCase()
boolean
hasConst()
Const specifies that this field must be exactly the specified valueboolean
hasContains()
Contains specifies that this field must have the specified bytes anywhere in the string.int
hashCode()
boolean
hasIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptyboolean
hasIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte formatboolean
hasIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte formatboolean
hasIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte formatboolean
hasLen()
Len specifies that this field must be the specified number of bytesboolean
hasMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximumboolean
hasMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimumboolean
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()
static Validate.BytesRules.Builder
newBuilder()
static Validate.BytesRules.Builder
newBuilder(Validate.BytesRules prototype)
Validate.BytesRules.Builder
newBuilderForType()
protected Validate.BytesRules.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Validate.BytesRules
parseDelimitedFrom(InputStream input)
static Validate.BytesRules
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Validate.BytesRules
parseFrom(byte[] data)
static Validate.BytesRules
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Validate.BytesRules
parseFrom(com.google.protobuf.ByteString data)
static Validate.BytesRules
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Validate.BytesRules
parseFrom(com.google.protobuf.CodedInputStream input)
static Validate.BytesRules
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Validate.BytesRules
parseFrom(InputStream input)
static Validate.BytesRules
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Validate.BytesRules
parseFrom(ByteBuffer data)
static Validate.BytesRules
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Validate.BytesRules>
parser()
Validate.BytesRules.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CONST_FIELD_NUMBER
public static final int CONST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LEN_FIELD_NUMBER
public static final int LEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIN_LEN_FIELD_NUMBER
public static final int MIN_LEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_LEN_FIELD_NUMBER
public static final int MAX_LEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATTERN_FIELD_NUMBER
public static final int PATTERN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREFIX_FIELD_NUMBER
public static final int PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUFFIX_FIELD_NUMBER
public static final int SUFFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTAINS_FIELD_NUMBER
public static final int CONTAINS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IN_FIELD_NUMBER
public static final int IN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOT_IN_FIELD_NUMBER
public static final int NOT_IN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_FIELD_NUMBER
public static final int IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IPV4_FIELD_NUMBER
public static final int IPV4_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IPV6_FIELD_NUMBER
public static final int IPV6_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IGNORE_EMPTY_FIELD_NUMBER
public static final int IGNORE_EMPTY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Validate.BytesRules> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getWellKnownCase
public Validate.BytesRules.WellKnownCase getWellKnownCase()
- Specified by:
getWellKnownCase
in interfaceValidate.BytesRulesOrBuilder
-
hasConst
public boolean hasConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;
- Specified by:
hasConst
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the const field is set.
-
getConst
public com.google.protobuf.ByteString getConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;
- Specified by:
getConst
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The const.
-
hasLen
public boolean hasLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;
- Specified by:
hasLen
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the len field is set.
-
getLen
public long getLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;
- Specified by:
getLen
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The len.
-
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:
hasMinLen
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the minLen field is set.
-
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:
getMinLen
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The minLen.
-
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:
hasMaxLen
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the maxLen field is set.
-
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:
getMaxLen
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The maxLen.
-
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:
hasPattern
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the pattern field is set.
-
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:
getPattern
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The pattern.
-
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:
getPatternBytes
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The bytes for pattern.
-
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:
hasPrefix
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the prefix field is set.
-
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:
getPrefix
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The prefix.
-
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:
hasSuffix
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the suffix field is set.
-
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:
getSuffix
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The suffix.
-
hasContains
public boolean hasContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;
- Specified by:
hasContains
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the contains field is set.
-
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:
getContains
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The contains.
-
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:
getInList
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- A list containing the in.
-
getInCount
public int getInCount()
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;
- Specified by:
getInCount
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The count of in.
-
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:
getIn
in interfaceValidate.BytesRulesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The in at the given index.
-
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:
getNotInList
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- A list containing the notIn.
-
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:
getNotInCount
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The count of notIn.
-
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:
getNotIn
in interfaceValidate.BytesRulesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The notIn at the given index.
-
hasIp
public boolean hasIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
bool ip = 10;
- Specified by:
hasIp
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the ip field is set.
-
getIp
public boolean getIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
bool ip = 10;
- Specified by:
getIp
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The ip.
-
hasIpv4
public boolean hasIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
bool ipv4 = 11;
- Specified by:
hasIpv4
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the ipv4 field is set.
-
getIpv4
public boolean getIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
bool ipv4 = 11;
- Specified by:
getIpv4
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The ipv4.
-
hasIpv6
public boolean hasIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
bool ipv6 = 12;
- Specified by:
hasIpv6
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the ipv6 field is set.
-
getIpv6
public boolean getIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
bool ipv6 = 12;
- Specified by:
getIpv6
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The ipv6.
-
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:
hasIgnoreEmpty
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- Whether the ignoreEmpty field is set.
-
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:
getIgnoreEmpty
in interfaceValidate.BytesRulesOrBuilder
- Returns:
- The ignoreEmpty.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Validate.BytesRules parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.BytesRules parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.BytesRules parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.BytesRules parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.BytesRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.BytesRules parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Validate.BytesRules parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Validate.BytesRules parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Validate.BytesRules parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Validate.BytesRules parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Validate.BytesRules parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Validate.BytesRules parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Validate.BytesRules.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Validate.BytesRules.Builder newBuilder()
-
newBuilder
public static Validate.BytesRules.Builder newBuilder(Validate.BytesRules prototype)
-
toBuilder
public Validate.BytesRules.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Validate.BytesRules.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Validate.BytesRules getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Validate.BytesRules> parser()
-
getParserForType
public com.google.protobuf.Parser<Validate.BytesRules> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Validate.BytesRules getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-