| Package | Description |
|---|---|
| com.buf.validate |
| Modifier and Type | Method and Description |
|---|---|
BytesRules.Builder |
BytesRules.Builder.addAllIn(Iterable<? extends com.google.protobuf.ByteString> values)
`in` requires the field value to be equal to one of the specified
values.
|
BytesRules.Builder |
BytesRules.Builder.addAllNotIn(Iterable<? extends com.google.protobuf.ByteString> values)
`not_in` requires the field value to be not equal to any of the specified
values.
|
BytesRules.Builder |
BytesRules.Builder.addIn(com.google.protobuf.ByteString value)
`in` requires the field value to be equal to one of the specified
values.
|
BytesRules.Builder |
BytesRules.Builder.addNotIn(com.google.protobuf.ByteString value)
`not_in` requires the field value to be not equal to any of the specified
values.
|
BytesRules.Builder |
BytesRules.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BytesRules.Builder |
BytesRules.Builder.clear() |
BytesRules.Builder |
BytesRules.Builder.clearConst()
`const` requires the field value to exactly match the specified bytes
value.
|
BytesRules.Builder |
BytesRules.Builder.clearContains()
`contains` requires the field value to have the specified bytes anywhere in
the string.
|
BytesRules.Builder |
BytesRules.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BytesRules.Builder |
BytesRules.Builder.clearIn()
`in` requires the field value to be equal to one of the specified
values.
|
BytesRules.Builder |
BytesRules.Builder.clearIp()
`ip` ensures that the field `value` is a valid IP address (v4 or v6) in byte format.
|
BytesRules.Builder |
BytesRules.Builder.clearIpv4()
`ipv4` ensures that the field `value` is a valid IPv4 address in byte format.
|
BytesRules.Builder |
BytesRules.Builder.clearIpv6()
`ipv6` ensures that the field `value` is a valid IPv6 address in byte format.
|
BytesRules.Builder |
BytesRules.Builder.clearLen()
`len` requires the field value to have the specified length in bytes.
|
BytesRules.Builder |
BytesRules.Builder.clearMaxLen()
`max_len` requires the field value to have at most the specified maximum
length in bytes.
|
BytesRules.Builder |
BytesRules.Builder.clearMinLen()
`min_len` requires the field value to have at least the specified minimum
length in bytes.
|
BytesRules.Builder |
BytesRules.Builder.clearNotIn()
`not_in` requires the field value to be not equal to any of the specified
values.
|
BytesRules.Builder |
BytesRules.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BytesRules.Builder |
BytesRules.Builder.clearPattern()
`pattern` requires the field value to match the specified regular
expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)).
|
BytesRules.Builder |
BytesRules.Builder.clearPrefix()
`prefix` requires the field value to have the specified bytes at the
beginning of the string.
|
BytesRules.Builder |
BytesRules.Builder.clearSuffix()
`suffix` requires the field value to have the specified bytes at the end
of the string.
|
BytesRules.Builder |
BytesRules.Builder.clearWellKnown() |
BytesRules.Builder |
BytesRules.Builder.clone() |
BytesRules.Builder |
FieldConstraints.Builder.getBytesBuilder()
.buf.validate.BytesRules bytes = 15 [json_name = "bytes"]; |
BytesRules.Builder |
BytesRules.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static BytesRules.Builder |
BytesRules.newBuilder() |
static BytesRules.Builder |
BytesRules.newBuilder(BytesRules prototype) |
BytesRules.Builder |
BytesRules.newBuilderForType() |
protected BytesRules.Builder |
BytesRules.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
BytesRules.Builder |
BytesRules.Builder.setConst(com.google.protobuf.ByteString value)
`const` requires the field value to exactly match the specified bytes
value.
|
BytesRules.Builder |
BytesRules.Builder.setContains(com.google.protobuf.ByteString value)
`contains` requires the field value to have the specified bytes anywhere in
the string.
|
BytesRules.Builder |
BytesRules.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BytesRules.Builder |
BytesRules.Builder.setIn(int index,
com.google.protobuf.ByteString value)
`in` requires the field value to be equal to one of the specified
values.
|
BytesRules.Builder |
BytesRules.Builder.setIp(boolean value)
`ip` ensures that the field `value` is a valid IP address (v4 or v6) in byte format.
|
BytesRules.Builder |
BytesRules.Builder.setIpv4(boolean value)
`ipv4` ensures that the field `value` is a valid IPv4 address in byte format.
|
BytesRules.Builder |
BytesRules.Builder.setIpv6(boolean value)
`ipv6` ensures that the field `value` is a valid IPv6 address in byte format.
|
BytesRules.Builder |
BytesRules.Builder.setLen(long value)
`len` requires the field value to have the specified length in bytes.
|
BytesRules.Builder |
BytesRules.Builder.setMaxLen(long value)
`max_len` requires the field value to have at most the specified maximum
length in bytes.
|
BytesRules.Builder |
BytesRules.Builder.setMinLen(long value)
`min_len` requires the field value to have at least the specified minimum
length in bytes.
|
BytesRules.Builder |
BytesRules.Builder.setNotIn(int index,
com.google.protobuf.ByteString value)
`not_in` requires the field value to be not equal to any of the specified
values.
|
BytesRules.Builder |
BytesRules.Builder.setPattern(String value)
`pattern` requires the field value to match the specified regular
expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)).
|
BytesRules.Builder |
BytesRules.Builder.setPatternBytes(com.google.protobuf.ByteString value)
`pattern` requires the field value to match the specified regular
expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)).
|
BytesRules.Builder |
BytesRules.Builder.setPrefix(com.google.protobuf.ByteString value)
`prefix` requires the field value to have the specified bytes at the
beginning of the string.
|
BytesRules.Builder |
BytesRules.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BytesRules.Builder |
BytesRules.Builder.setSuffix(com.google.protobuf.ByteString value)
`suffix` requires the field value to have the specified bytes at the end
of the string.
|
BytesRules.Builder |
BytesRules.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BytesRules.Builder |
BytesRules.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
FieldConstraints.Builder |
FieldConstraints.Builder.setBytes(BytesRules.Builder builderForValue)
.buf.validate.BytesRules bytes = 15 [json_name = "bytes"]; |
Copyright © 2023. All rights reserved.