public interface AnyRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getIn(int index)
`in` requires the field's `type_url` to be equal to one of the
specified values.
|
com.google.protobuf.ByteString |
getInBytes(int index)
`in` requires the field's `type_url` to be equal to one of the
specified values.
|
int |
getInCount()
`in` requires the field's `type_url` to be equal to one of the
specified values.
|
List<String> |
getInList()
`in` requires the field's `type_url` to be equal to one of the
specified values.
|
String |
getNotIn(int index)
requires the field's type_url to be not equal to any of the specified values.
|
com.google.protobuf.ByteString |
getNotInBytes(int index)
requires the field's type_url to be not equal to any of the specified values.
|
int |
getNotInCount()
requires the field's type_url to be not equal to any of the specified values.
|
List<String> |
getNotInList()
requires the field's type_url to be not equal to any of the specified values.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<String> getInList()
`in` requires the field's `type_url` to be equal to one of the
specified values. If it doesn't match any of the specified values, an error
message is generated.
```proto
message MyAny {
// The `value` field must have a `type_url` equal to one of the specified values.
google.protobuf.Any value = 1 [(buf.validate.field).any.in = ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"]];
}
```
repeated string in = 2 [json_name = "in"];int getInCount()
`in` requires the field's `type_url` to be equal to one of the
specified values. If it doesn't match any of the specified values, an error
message is generated.
```proto
message MyAny {
// The `value` field must have a `type_url` equal to one of the specified values.
google.protobuf.Any value = 1 [(buf.validate.field).any.in = ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"]];
}
```
repeated string in = 2 [json_name = "in"];String getIn(int index)
`in` requires the field's `type_url` to be equal to one of the
specified values. If it doesn't match any of the specified values, an error
message is generated.
```proto
message MyAny {
// The `value` field must have a `type_url` equal to one of the specified values.
google.protobuf.Any value = 1 [(buf.validate.field).any.in = ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"]];
}
```
repeated string in = 2 [json_name = "in"];index - The index of the element to return.com.google.protobuf.ByteString getInBytes(int index)
`in` requires the field's `type_url` to be equal to one of the
specified values. If it doesn't match any of the specified values, an error
message is generated.
```proto
message MyAny {
// The `value` field must have a `type_url` equal to one of the specified values.
google.protobuf.Any value = 1 [(buf.validate.field).any.in = ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"]];
}
```
repeated string in = 2 [json_name = "in"];index - The index of the value to return.List<String> getNotInList()
requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.
```proto
message MyAny {
// The field `value` must not have a `type_url` equal to any of the specified values.
google.protobuf.Any value = 1 [(buf.validate.field).any.not_in = ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"]];
}
```
repeated string not_in = 3 [json_name = "notIn"];int getNotInCount()
requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.
```proto
message MyAny {
// The field `value` must not have a `type_url` equal to any of the specified values.
google.protobuf.Any value = 1 [(buf.validate.field).any.not_in = ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"]];
}
```
repeated string not_in = 3 [json_name = "notIn"];String getNotIn(int index)
requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.
```proto
message MyAny {
// The field `value` must not have a `type_url` equal to any of the specified values.
google.protobuf.Any value = 1 [(buf.validate.field).any.not_in = ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"]];
}
```
repeated string not_in = 3 [json_name = "notIn"];index - The index of the element to return.com.google.protobuf.ByteString getNotInBytes(int index)
requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.
```proto
message MyAny {
// The field `value` must not have a `type_url` equal to any of the specified values.
google.protobuf.Any value = 1 [(buf.validate.field).any.not_in = ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"]];
}
```
repeated string not_in = 3 [json_name = "notIn"];index - The index of the value to return.Copyright © 2024. All rights reserved.