public final class BytesRules extends com.google.protobuf.GeneratedMessageV3 implements BytesRulesOrBuilder
BytesRules describe the constraints applied to `bytes` values. These rules may also be applied to the `google.protobuf.BytesValue` Well-Known-Type.Protobuf type
buf.validate.BytesRules| Modifier and Type | Class and Description |
|---|---|
static class |
BytesRules.Builder
BytesRules describe the constraints applied to `bytes` values.
|
static class |
BytesRules.WellKnownCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONST_FIELD_NUMBER |
static int |
CONTAINS_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 int |
PATTERN_FIELD_NUMBER |
static int |
PREFIX_FIELD_NUMBER |
static int |
SUFFIX_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getConst()
`const` requires the field value to exactly match the specified bytes
value.
|
com.google.protobuf.ByteString |
getContains()
`contains` requires the field value to have the specified bytes anywhere in
the string.
|
static BytesRules |
getDefaultInstance() |
BytesRules |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getIn(int index)
`in` requires the field value to be equal to one of the specified
values.
|
int |
getInCount()
`in` requires the field value to be equal to one of the specified
values.
|
List<com.google.protobuf.ByteString> |
getInList()
`in` requires the field value to be equal to one of the specified
values.
|
boolean |
getIp()
`ip` ensures that the field `value` is a valid IP address (v4 or v6) in byte format.
|
boolean |
getIpv4()
`ipv4` ensures that the field `value` is a valid IPv4 address in byte format.
|
boolean |
getIpv6()
`ipv6` ensures that the field `value` is a valid IPv6 address in byte format.
|
long |
getLen()
`len` requires the field value to have the specified length in bytes.
|
long |
getMaxLen()
`max_len` requires the field value to have at most the specified maximum
length in bytes.
|
long |
getMinLen()
`min_len` requires the field value to have at least the specified minimum
length in bytes.
|
com.google.protobuf.ByteString |
getNotIn(int index)
`not_in` requires the field value to be not equal to any of the specified
values.
|
int |
getNotInCount()
`not_in` requires the field value to be not equal to any of the specified
values.
|
List<com.google.protobuf.ByteString> |
getNotInList()
`not_in` requires the field value to be not equal to any of the specified
values.
|
com.google.protobuf.Parser<BytesRules> |
getParserForType() |
String |
getPattern()
`pattern` requires the field value to match the specified regular
expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)).
|
com.google.protobuf.ByteString |
getPatternBytes()
`pattern` requires the field value to match the specified regular
expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)).
|
com.google.protobuf.ByteString |
getPrefix()
`prefix` requires the field value to have the specified bytes at the
beginning of the string.
|
com.google.protobuf.ByteString |
getSuffix()
`suffix` requires the field value to have the specified bytes at the end
of the string.
|
BytesRules.WellKnownCase |
getWellKnownCase() |
boolean |
hasConst()
`const` requires the field value to exactly match the specified bytes
value.
|
boolean |
hasContains()
`contains` requires the field value to have the specified bytes anywhere in
the string.
|
boolean |
hasIp()
`ip` ensures that the field `value` is a valid IP address (v4 or v6) in byte format.
|
boolean |
hasIpv4()
`ipv4` ensures that the field `value` is a valid IPv4 address in byte format.
|
boolean |
hasIpv6()
`ipv6` ensures that the field `value` is a valid IPv6 address in byte format.
|
boolean |
hasLen()
`len` requires the field value to have the specified length in bytes.
|
boolean |
hasMaxLen()
`max_len` requires the field value to have at most the specified maximum
length in bytes.
|
boolean |
hasMinLen()
`min_len` requires the field value to have at least the specified minimum
length in bytes.
|
boolean |
hasPattern()
`pattern` requires the field value to match the specified regular
expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)).
|
boolean |
hasPrefix()
`prefix` requires the field value to have the specified bytes at the
beginning of the string.
|
boolean |
hasSuffix()
`suffix` requires the field value to have the specified bytes at the end
of the string.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
static BytesRules.Builder |
newBuilder() |
static BytesRules.Builder |
newBuilder(BytesRules prototype) |
BytesRules.Builder |
newBuilderForType() |
protected BytesRules.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BytesRules |
parseDelimitedFrom(InputStream input) |
static BytesRules |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BytesRules |
parseFrom(byte[] data) |
static BytesRules |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BytesRules |
parseFrom(ByteBuffer data) |
static BytesRules |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BytesRules |
parseFrom(com.google.protobuf.ByteString data) |
static BytesRules |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BytesRules |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BytesRules |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BytesRules |
parseFrom(InputStream input) |
static BytesRules |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BytesRules> |
parser() |
BytesRules.Builder |
toBuilder() |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getSerializedSize, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isInitialized, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeToequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONST_FIELD_NUMBER
public static final int LEN_FIELD_NUMBER
public static final int MIN_LEN_FIELD_NUMBER
public static final int MAX_LEN_FIELD_NUMBER
public static final int PATTERN_FIELD_NUMBER
public static final int PREFIX_FIELD_NUMBER
public static final int SUFFIX_FIELD_NUMBER
public static final int CONTAINS_FIELD_NUMBER
public static final int IN_FIELD_NUMBER
public static final int NOT_IN_FIELD_NUMBER
public static final int IP_FIELD_NUMBER
public static final int IPV4_FIELD_NUMBER
public static final int IPV6_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public BytesRules.WellKnownCase getWellKnownCase()
getWellKnownCase in interface BytesRulesOrBuilderpublic boolean hasConst()
`const` requires the field value to exactly match the specified bytes
value. If the field value doesn't match, an error message is generated.
```proto
message MyBytes {
// value must be "\x01\x02\x03\x04"
bytes value = 1 [(buf.validate.field).bytes.const = "\x01\x02\x03\x04"];
}
```
optional bytes const = 1 [json_name = "const", (.buf.validate.priv.field) = { ... }hasConst in interface BytesRulesOrBuilderpublic com.google.protobuf.ByteString getConst()
`const` requires the field value to exactly match the specified bytes
value. If the field value doesn't match, an error message is generated.
```proto
message MyBytes {
// value must be "\x01\x02\x03\x04"
bytes value = 1 [(buf.validate.field).bytes.const = "\x01\x02\x03\x04"];
}
```
optional bytes const = 1 [json_name = "const", (.buf.validate.priv.field) = { ... }getConst in interface BytesRulesOrBuilderpublic boolean hasLen()
`len` requires the field value to have the specified length in bytes.
If the field value doesn't match, an error message is generated.
```proto
message MyBytes {
// value length must be 4 bytes.
optional bytes value = 1 [(buf.validate.field).bytes.len = 4];
}
```
optional uint64 len = 13 [json_name = "len", (.buf.validate.priv.field) = { ... }hasLen in interface BytesRulesOrBuilderpublic long getLen()
`len` requires the field value to have the specified length in bytes.
If the field value doesn't match, an error message is generated.
```proto
message MyBytes {
// value length must be 4 bytes.
optional bytes value = 1 [(buf.validate.field).bytes.len = 4];
}
```
optional uint64 len = 13 [json_name = "len", (.buf.validate.priv.field) = { ... }getLen in interface BytesRulesOrBuilderpublic boolean hasMinLen()
`min_len` requires the field value to have at least the specified minimum
length in bytes.
If the field value doesn't meet the requirement, an error message is generated.
```proto
message MyBytes {
// value length must be at least 2 bytes.
optional bytes value = 1 [(buf.validate.field).bytes.min_len = 2];
}
```
optional uint64 min_len = 2 [json_name = "minLen", (.buf.validate.priv.field) = { ... }hasMinLen in interface BytesRulesOrBuilderpublic long getMinLen()
`min_len` requires the field value to have at least the specified minimum
length in bytes.
If the field value doesn't meet the requirement, an error message is generated.
```proto
message MyBytes {
// value length must be at least 2 bytes.
optional bytes value = 1 [(buf.validate.field).bytes.min_len = 2];
}
```
optional uint64 min_len = 2 [json_name = "minLen", (.buf.validate.priv.field) = { ... }getMinLen in interface BytesRulesOrBuilderpublic boolean hasMaxLen()
`max_len` requires the field value to have at most the specified maximum
length in bytes.
If the field value exceeds the requirement, an error message is generated.
```proto
message MyBytes {
// value must be at most 6 bytes.
optional bytes value = 1 [(buf.validate.field).bytes.max_len = 6];
}
```
optional uint64 max_len = 3 [json_name = "maxLen", (.buf.validate.priv.field) = { ... }hasMaxLen in interface BytesRulesOrBuilderpublic long getMaxLen()
`max_len` requires the field value to have at most the specified maximum
length in bytes.
If the field value exceeds the requirement, an error message is generated.
```proto
message MyBytes {
// value must be at most 6 bytes.
optional bytes value = 1 [(buf.validate.field).bytes.max_len = 6];
}
```
optional uint64 max_len = 3 [json_name = "maxLen", (.buf.validate.priv.field) = { ... }getMaxLen in interface BytesRulesOrBuilderpublic boolean hasPattern()
`pattern` requires the field value to match the specified regular
expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)).
The value of the field must be valid UTF-8 or validation will fail with a
runtime error.
If the field value doesn't match the pattern, an error message is generated.
```proto
message MyBytes {
// value must match regex pattern "^[a-zA-Z0-9]+$".
optional bytes value = 1 [(buf.validate.field).bytes.pattern = "^[a-zA-Z0-9]+$"];
}
```
optional string pattern = 4 [json_name = "pattern", (.buf.validate.priv.field) = { ... }hasPattern in interface BytesRulesOrBuilderpublic String getPattern()
`pattern` requires the field value to match the specified regular
expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)).
The value of the field must be valid UTF-8 or validation will fail with a
runtime error.
If the field value doesn't match the pattern, an error message is generated.
```proto
message MyBytes {
// value must match regex pattern "^[a-zA-Z0-9]+$".
optional bytes value = 1 [(buf.validate.field).bytes.pattern = "^[a-zA-Z0-9]+$"];
}
```
optional string pattern = 4 [json_name = "pattern", (.buf.validate.priv.field) = { ... }getPattern in interface BytesRulesOrBuilderpublic com.google.protobuf.ByteString getPatternBytes()
`pattern` requires the field value to match the specified regular
expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)).
The value of the field must be valid UTF-8 or validation will fail with a
runtime error.
If the field value doesn't match the pattern, an error message is generated.
```proto
message MyBytes {
// value must match regex pattern "^[a-zA-Z0-9]+$".
optional bytes value = 1 [(buf.validate.field).bytes.pattern = "^[a-zA-Z0-9]+$"];
}
```
optional string pattern = 4 [json_name = "pattern", (.buf.validate.priv.field) = { ... }getPatternBytes in interface BytesRulesOrBuilderpublic boolean hasPrefix()
`prefix` requires the field value to have the specified bytes at the
beginning of the string.
If the field value doesn't meet the requirement, an error message is generated.
```proto
message MyBytes {
// value does not have prefix \x01\x02
optional bytes value = 1 [(buf.validate.field).bytes.prefix = "\x01\x02"];
}
```
optional bytes prefix = 5 [json_name = "prefix", (.buf.validate.priv.field) = { ... }hasPrefix in interface BytesRulesOrBuilderpublic com.google.protobuf.ByteString getPrefix()
`prefix` requires the field value to have the specified bytes at the
beginning of the string.
If the field value doesn't meet the requirement, an error message is generated.
```proto
message MyBytes {
// value does not have prefix \x01\x02
optional bytes value = 1 [(buf.validate.field).bytes.prefix = "\x01\x02"];
}
```
optional bytes prefix = 5 [json_name = "prefix", (.buf.validate.priv.field) = { ... }getPrefix in interface BytesRulesOrBuilderpublic boolean hasSuffix()
`suffix` requires the field value to have the specified bytes at the end
of the string.
If the field value doesn't meet the requirement, an error message is generated.
```proto
message MyBytes {
// value does not have suffix \x03\x04
optional bytes value = 1 [(buf.validate.field).bytes.suffix = "\x03\x04"];
}
```
optional bytes suffix = 6 [json_name = "suffix", (.buf.validate.priv.field) = { ... }hasSuffix in interface BytesRulesOrBuilderpublic com.google.protobuf.ByteString getSuffix()
`suffix` requires the field value to have the specified bytes at the end
of the string.
If the field value doesn't meet the requirement, an error message is generated.
```proto
message MyBytes {
// value does not have suffix \x03\x04
optional bytes value = 1 [(buf.validate.field).bytes.suffix = "\x03\x04"];
}
```
optional bytes suffix = 6 [json_name = "suffix", (.buf.validate.priv.field) = { ... }getSuffix in interface BytesRulesOrBuilderpublic boolean hasContains()
`contains` requires the field value to have the specified bytes anywhere in
the string.
If the field value doesn't meet the requirement, an error message is generated.
```protobuf
message MyBytes {
// value does not contain \x02\x03
optional bytes value = 1 [(buf.validate.field).bytes.contains = "\x02\x03"];
}
```
optional bytes contains = 7 [json_name = "contains", (.buf.validate.priv.field) = { ... }hasContains in interface BytesRulesOrBuilderpublic com.google.protobuf.ByteString getContains()
`contains` requires the field value to have the specified bytes anywhere in
the string.
If the field value doesn't meet the requirement, an error message is generated.
```protobuf
message MyBytes {
// value does not contain \x02\x03
optional bytes value = 1 [(buf.validate.field).bytes.contains = "\x02\x03"];
}
```
optional bytes contains = 7 [json_name = "contains", (.buf.validate.priv.field) = { ... }getContains in interface BytesRulesOrBuilderpublic List<com.google.protobuf.ByteString> getInList()
`in` requires the field value to be equal to one of the specified
values. If the field value doesn't match any of the specified values, an
error message is generated.
```protobuf
message MyBytes {
// value must in ["\x01\x02", "\x02\x03", "\x03\x04"]
optional bytes value = 1 [(buf.validate.field).bytes.in = {"\x01\x02", "\x02\x03", "\x03\x04"}];
}
```
repeated bytes in = 8 [json_name = "in", (.buf.validate.priv.field) = { ... }getInList in interface BytesRulesOrBuilderpublic int getInCount()
`in` requires the field value to be equal to one of the specified
values. If the field value doesn't match any of the specified values, an
error message is generated.
```protobuf
message MyBytes {
// value must in ["\x01\x02", "\x02\x03", "\x03\x04"]
optional bytes value = 1 [(buf.validate.field).bytes.in = {"\x01\x02", "\x02\x03", "\x03\x04"}];
}
```
repeated bytes in = 8 [json_name = "in", (.buf.validate.priv.field) = { ... }getInCount in interface BytesRulesOrBuilderpublic com.google.protobuf.ByteString getIn(int index)
`in` requires the field value to be equal to one of the specified
values. If the field value doesn't match any of the specified values, an
error message is generated.
```protobuf
message MyBytes {
// value must in ["\x01\x02", "\x02\x03", "\x03\x04"]
optional bytes value = 1 [(buf.validate.field).bytes.in = {"\x01\x02", "\x02\x03", "\x03\x04"}];
}
```
repeated bytes in = 8 [json_name = "in", (.buf.validate.priv.field) = { ... }getIn in interface BytesRulesOrBuilderindex - The index of the element to return.public List<com.google.protobuf.ByteString> getNotInList()
`not_in` requires the field value to be not equal to any of the specified
values.
If the field value matches any of the specified values, an error message is
generated.
```proto
message MyBytes {
// value must not in ["\x01\x02", "\x02\x03", "\x03\x04"]
optional bytes value = 1 [(buf.validate.field).bytes.not_in = {"\x01\x02", "\x02\x03", "\x03\x04"}];
}
```
repeated bytes not_in = 9 [json_name = "notIn", (.buf.validate.priv.field) = { ... }getNotInList in interface BytesRulesOrBuilderpublic int getNotInCount()
`not_in` requires the field value to be not equal to any of the specified
values.
If the field value matches any of the specified values, an error message is
generated.
```proto
message MyBytes {
// value must not in ["\x01\x02", "\x02\x03", "\x03\x04"]
optional bytes value = 1 [(buf.validate.field).bytes.not_in = {"\x01\x02", "\x02\x03", "\x03\x04"}];
}
```
repeated bytes not_in = 9 [json_name = "notIn", (.buf.validate.priv.field) = { ... }getNotInCount in interface BytesRulesOrBuilderpublic com.google.protobuf.ByteString getNotIn(int index)
`not_in` requires the field value to be not equal to any of the specified
values.
If the field value matches any of the specified values, an error message is
generated.
```proto
message MyBytes {
// value must not in ["\x01\x02", "\x02\x03", "\x03\x04"]
optional bytes value = 1 [(buf.validate.field).bytes.not_in = {"\x01\x02", "\x02\x03", "\x03\x04"}];
}
```
repeated bytes not_in = 9 [json_name = "notIn", (.buf.validate.priv.field) = { ... }getNotIn in interface BytesRulesOrBuilderindex - The index of the element to return.public boolean hasIp()
`ip` ensures that the field `value` is a valid IP address (v4 or v6) in byte format.
If the field value doesn't meet this constraint, an error message is generated.
```proto
message MyBytes {
// value must be a valid IP address
optional bytes value = 1 [(buf.validate.field).bytes.ip = true];
}
```
bool ip = 10 [json_name = "ip", (.buf.validate.priv.field) = { ... }hasIp in interface BytesRulesOrBuilderpublic boolean getIp()
`ip` ensures that the field `value` is a valid IP address (v4 or v6) in byte format.
If the field value doesn't meet this constraint, an error message is generated.
```proto
message MyBytes {
// value must be a valid IP address
optional bytes value = 1 [(buf.validate.field).bytes.ip = true];
}
```
bool ip = 10 [json_name = "ip", (.buf.validate.priv.field) = { ... }getIp in interface BytesRulesOrBuilderpublic boolean hasIpv4()
`ipv4` ensures that the field `value` is a valid IPv4 address in byte format.
If the field value doesn't meet this constraint, an error message is generated.
```proto
message MyBytes {
// value must be a valid IPv4 address
optional bytes value = 1 [(buf.validate.field).bytes.ipv4 = true];
}
```
bool ipv4 = 11 [json_name = "ipv4", (.buf.validate.priv.field) = { ... }hasIpv4 in interface BytesRulesOrBuilderpublic boolean getIpv4()
`ipv4` ensures that the field `value` is a valid IPv4 address in byte format.
If the field value doesn't meet this constraint, an error message is generated.
```proto
message MyBytes {
// value must be a valid IPv4 address
optional bytes value = 1 [(buf.validate.field).bytes.ipv4 = true];
}
```
bool ipv4 = 11 [json_name = "ipv4", (.buf.validate.priv.field) = { ... }getIpv4 in interface BytesRulesOrBuilderpublic boolean hasIpv6()
`ipv6` ensures that the field `value` is a valid IPv6 address in byte format.
If the field value doesn't meet this constraint, an error message is generated.
```proto
message MyBytes {
// value must be a valid IPv6 address
optional bytes value = 1 [(buf.validate.field).bytes.ipv6 = true];
}
```
bool ipv6 = 12 [json_name = "ipv6", (.buf.validate.priv.field) = { ... }hasIpv6 in interface BytesRulesOrBuilderpublic boolean getIpv6()
`ipv6` ensures that the field `value` is a valid IPv6 address in byte format.
If the field value doesn't meet this constraint, an error message is generated.
```proto
message MyBytes {
// value must be a valid IPv6 address
optional bytes value = 1 [(buf.validate.field).bytes.ipv6 = true];
}
```
bool ipv6 = 12 [json_name = "ipv6", (.buf.validate.priv.field) = { ... }getIpv6 in interface BytesRulesOrBuilderpublic static BytesRules parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BytesRules parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BytesRules parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BytesRules parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BytesRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BytesRules parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BytesRules parseFrom(InputStream input) throws IOException
IOExceptionpublic static BytesRules parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BytesRules parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BytesRules parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BytesRules parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BytesRules parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BytesRules.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BytesRules.Builder newBuilder()
public static BytesRules.Builder newBuilder(BytesRules prototype)
public BytesRules.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BytesRules.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BytesRules getDefaultInstance()
public static com.google.protobuf.Parser<BytesRules> parser()
public com.google.protobuf.Parser<BytesRules> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BytesRules getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.