public static final class DurationRules.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder> implements DurationRulesOrBuilder
DurationRules describe the constraints applied exclusively to the `google.protobuf.Duration` well-known type.Protobuf type
buf.validate.DurationRules| Modifier and Type | Method and Description |
|---|---|
DurationRules.Builder |
addAllIn(Iterable<? extends com.google.protobuf.Duration> values)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
addAllNotIn(Iterable<? extends com.google.protobuf.Duration> values)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
addIn(com.google.protobuf.Duration.Builder builderForValue)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
addIn(com.google.protobuf.Duration value)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
addIn(int index,
com.google.protobuf.Duration.Builder builderForValue)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
addIn(int index,
com.google.protobuf.Duration value)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
com.google.protobuf.Duration.Builder |
addInBuilder()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
com.google.protobuf.Duration.Builder |
addInBuilder(int index)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
addNotIn(com.google.protobuf.Duration.Builder builderForValue)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
addNotIn(com.google.protobuf.Duration value)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
addNotIn(int index,
com.google.protobuf.Duration.Builder builderForValue)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
addNotIn(int index,
com.google.protobuf.Duration value)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
com.google.protobuf.Duration.Builder |
addNotInBuilder()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
com.google.protobuf.Duration.Builder |
addNotInBuilder(int index)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DurationRules |
build() |
DurationRules |
buildPartial() |
DurationRules.Builder |
clear() |
DurationRules.Builder |
clearConst()
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
|
DurationRules.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DurationRules.Builder |
clearGreaterThan() |
DurationRules.Builder |
clearGt()
`gt` requires the duration field value to be greater than the specified
value (exclusive).
|
DurationRules.Builder |
clearGte()
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive).
|
DurationRules.Builder |
clearIn()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
clearLessThan() |
DurationRules.Builder |
clearLt()
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive.
|
DurationRules.Builder |
clearLte()
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive.
|
DurationRules.Builder |
clearNotIn()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DurationRules.Builder |
clone() |
com.google.protobuf.Duration |
getConst()
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
|
com.google.protobuf.Duration.Builder |
getConstBuilder()
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
|
com.google.protobuf.DurationOrBuilder |
getConstOrBuilder()
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
|
DurationRules |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DurationRules.GreaterThanCase |
getGreaterThanCase() |
com.google.protobuf.Duration |
getGt()
`gt` requires the duration field value to be greater than the specified
value (exclusive).
|
com.google.protobuf.Duration.Builder |
getGtBuilder()
`gt` requires the duration field value to be greater than the specified
value (exclusive).
|
com.google.protobuf.Duration |
getGte()
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive).
|
com.google.protobuf.Duration.Builder |
getGteBuilder()
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive).
|
com.google.protobuf.DurationOrBuilder |
getGteOrBuilder()
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive).
|
com.google.protobuf.DurationOrBuilder |
getGtOrBuilder()
`gt` requires the duration field value to be greater than the specified
value (exclusive).
|
com.google.protobuf.Duration |
getIn(int index)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
com.google.protobuf.Duration.Builder |
getInBuilder(int index)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
List<com.google.protobuf.Duration.Builder> |
getInBuilderList()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
int |
getInCount()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
List<com.google.protobuf.Duration> |
getInList()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
com.google.protobuf.DurationOrBuilder |
getInOrBuilder(int index)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
List<? extends com.google.protobuf.DurationOrBuilder> |
getInOrBuilderList()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.LessThanCase |
getLessThanCase() |
com.google.protobuf.Duration |
getLt()
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive.
|
com.google.protobuf.Duration.Builder |
getLtBuilder()
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive.
|
com.google.protobuf.Duration |
getLte()
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive.
|
com.google.protobuf.Duration.Builder |
getLteBuilder()
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive.
|
com.google.protobuf.DurationOrBuilder |
getLteOrBuilder()
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive.
|
com.google.protobuf.DurationOrBuilder |
getLtOrBuilder()
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive.
|
com.google.protobuf.Duration |
getNotIn(int index)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
com.google.protobuf.Duration.Builder |
getNotInBuilder(int index)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
List<com.google.protobuf.Duration.Builder> |
getNotInBuilderList()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
int |
getNotInCount()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
List<com.google.protobuf.Duration> |
getNotInList()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
com.google.protobuf.DurationOrBuilder |
getNotInOrBuilder(int index)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
List<? extends com.google.protobuf.DurationOrBuilder> |
getNotInOrBuilderList()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
boolean |
hasConst()
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
|
boolean |
hasGt()
`gt` requires the duration field value to be greater than the specified
value (exclusive).
|
boolean |
hasGte()
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive).
|
boolean |
hasLt()
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive.
|
boolean |
hasLte()
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
DurationRules.Builder |
mergeConst(com.google.protobuf.Duration value)
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
|
DurationRules.Builder |
mergeGt(com.google.protobuf.Duration value)
`gt` requires the duration field value to be greater than the specified
value (exclusive).
|
DurationRules.Builder |
mergeGte(com.google.protobuf.Duration value)
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive).
|
DurationRules.Builder |
mergeLt(com.google.protobuf.Duration value)
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive.
|
DurationRules.Builder |
mergeLte(com.google.protobuf.Duration value)
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive.
|
DurationRules.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DurationRules.Builder |
removeIn(int index)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
removeNotIn(int index)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
setConst(com.google.protobuf.Duration.Builder builderForValue)
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
|
DurationRules.Builder |
setConst(com.google.protobuf.Duration value)
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
|
DurationRules.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DurationRules.Builder |
setGt(com.google.protobuf.Duration.Builder builderForValue)
`gt` requires the duration field value to be greater than the specified
value (exclusive).
|
DurationRules.Builder |
setGt(com.google.protobuf.Duration value)
`gt` requires the duration field value to be greater than the specified
value (exclusive).
|
DurationRules.Builder |
setGte(com.google.protobuf.Duration.Builder builderForValue)
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive).
|
DurationRules.Builder |
setGte(com.google.protobuf.Duration value)
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive).
|
DurationRules.Builder |
setIn(int index,
com.google.protobuf.Duration.Builder builderForValue)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
setIn(int index,
com.google.protobuf.Duration value)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
setLt(com.google.protobuf.Duration.Builder builderForValue)
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive.
|
DurationRules.Builder |
setLt(com.google.protobuf.Duration value)
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive.
|
DurationRules.Builder |
setLte(com.google.protobuf.Duration.Builder builderForValue)
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive.
|
DurationRules.Builder |
setLte(com.google.protobuf.Duration value)
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive.
|
DurationRules.Builder |
setNotIn(int index,
com.google.protobuf.Duration.Builder builderForValue)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
setNotIn(int index,
com.google.protobuf.Duration value)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
|
DurationRules.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DurationRules.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, isInitialized, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>public DurationRules.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>public DurationRules getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DurationRules build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DurationRules buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DurationRules.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>public DurationRules.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>public DurationRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>public DurationRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>public DurationRules.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>public DurationRules.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>public DurationRules.LessThanCase getLessThanCase()
getLessThanCase in interface DurationRulesOrBuilderpublic DurationRules.Builder clearLessThan()
public DurationRules.GreaterThanCase getGreaterThanCase()
getGreaterThanCase in interface DurationRulesOrBuilderpublic DurationRules.Builder clearGreaterThan()
public boolean hasConst()
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
If the field's value deviates from the specified value, an error message
will be generated.
```proto
message MyDuration {
// value must equal 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.const = "5s"];
}
```
optional .google.protobuf.Duration const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }hasConst in interface DurationRulesOrBuilderpublic com.google.protobuf.Duration getConst()
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
If the field's value deviates from the specified value, an error message
will be generated.
```proto
message MyDuration {
// value must equal 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.const = "5s"];
}
```
optional .google.protobuf.Duration const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }getConst in interface DurationRulesOrBuilderpublic DurationRules.Builder setConst(com.google.protobuf.Duration value)
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
If the field's value deviates from the specified value, an error message
will be generated.
```proto
message MyDuration {
// value must equal 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.const = "5s"];
}
```
optional .google.protobuf.Duration const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }public DurationRules.Builder setConst(com.google.protobuf.Duration.Builder builderForValue)
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
If the field's value deviates from the specified value, an error message
will be generated.
```proto
message MyDuration {
// value must equal 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.const = "5s"];
}
```
optional .google.protobuf.Duration const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }public DurationRules.Builder mergeConst(com.google.protobuf.Duration value)
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
If the field's value deviates from the specified value, an error message
will be generated.
```proto
message MyDuration {
// value must equal 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.const = "5s"];
}
```
optional .google.protobuf.Duration const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }public DurationRules.Builder clearConst()
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
If the field's value deviates from the specified value, an error message
will be generated.
```proto
message MyDuration {
// value must equal 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.const = "5s"];
}
```
optional .google.protobuf.Duration const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }public com.google.protobuf.Duration.Builder getConstBuilder()
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
If the field's value deviates from the specified value, an error message
will be generated.
```proto
message MyDuration {
// value must equal 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.const = "5s"];
}
```
optional .google.protobuf.Duration const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }public com.google.protobuf.DurationOrBuilder getConstOrBuilder()
`const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly.
If the field's value deviates from the specified value, an error message
will be generated.
```proto
message MyDuration {
// value must equal 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.const = "5s"];
}
```
optional .google.protobuf.Duration const = 2 [json_name = "const", (.buf.validate.priv.field) = { ... }getConstOrBuilder in interface DurationRulesOrBuilderpublic boolean hasLt()
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive. If the field's value is greater than or equal to the specified
value, an error message will be generated.
```proto
message MyDuration {
// value must be less than 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"];
}
```
.google.protobuf.Duration lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }hasLt in interface DurationRulesOrBuilderpublic com.google.protobuf.Duration getLt()
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive. If the field's value is greater than or equal to the specified
value, an error message will be generated.
```proto
message MyDuration {
// value must be less than 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"];
}
```
.google.protobuf.Duration lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }getLt in interface DurationRulesOrBuilderpublic DurationRules.Builder setLt(com.google.protobuf.Duration value)
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive. If the field's value is greater than or equal to the specified
value, an error message will be generated.
```proto
message MyDuration {
// value must be less than 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"];
}
```
.google.protobuf.Duration lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }public DurationRules.Builder setLt(com.google.protobuf.Duration.Builder builderForValue)
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive. If the field's value is greater than or equal to the specified
value, an error message will be generated.
```proto
message MyDuration {
// value must be less than 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"];
}
```
.google.protobuf.Duration lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }public DurationRules.Builder mergeLt(com.google.protobuf.Duration value)
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive. If the field's value is greater than or equal to the specified
value, an error message will be generated.
```proto
message MyDuration {
// value must be less than 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"];
}
```
.google.protobuf.Duration lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }public DurationRules.Builder clearLt()
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive. If the field's value is greater than or equal to the specified
value, an error message will be generated.
```proto
message MyDuration {
// value must be less than 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"];
}
```
.google.protobuf.Duration lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }public com.google.protobuf.Duration.Builder getLtBuilder()
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive. If the field's value is greater than or equal to the specified
value, an error message will be generated.
```proto
message MyDuration {
// value must be less than 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"];
}
```
.google.protobuf.Duration lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }public com.google.protobuf.DurationOrBuilder getLtOrBuilder()
`lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type,
exclusive. If the field's value is greater than or equal to the specified
value, an error message will be generated.
```proto
message MyDuration {
// value must be less than 5s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"];
}
```
.google.protobuf.Duration lt = 3 [json_name = "lt", (.buf.validate.priv.field) = { ... }getLtOrBuilder in interface DurationRulesOrBuilderpublic boolean hasLte()
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive. If the field's value is greater than the specified value,
an error message will be generated.
```proto
message MyDuration {
// value must be less than or equal to 10s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"];
}
```
.google.protobuf.Duration lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }hasLte in interface DurationRulesOrBuilderpublic com.google.protobuf.Duration getLte()
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive. If the field's value is greater than the specified value,
an error message will be generated.
```proto
message MyDuration {
// value must be less than or equal to 10s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"];
}
```
.google.protobuf.Duration lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }getLte in interface DurationRulesOrBuilderpublic DurationRules.Builder setLte(com.google.protobuf.Duration value)
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive. If the field's value is greater than the specified value,
an error message will be generated.
```proto
message MyDuration {
// value must be less than or equal to 10s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"];
}
```
.google.protobuf.Duration lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }public DurationRules.Builder setLte(com.google.protobuf.Duration.Builder builderForValue)
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive. If the field's value is greater than the specified value,
an error message will be generated.
```proto
message MyDuration {
// value must be less than or equal to 10s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"];
}
```
.google.protobuf.Duration lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }public DurationRules.Builder mergeLte(com.google.protobuf.Duration value)
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive. If the field's value is greater than the specified value,
an error message will be generated.
```proto
message MyDuration {
// value must be less than or equal to 10s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"];
}
```
.google.protobuf.Duration lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }public DurationRules.Builder clearLte()
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive. If the field's value is greater than the specified value,
an error message will be generated.
```proto
message MyDuration {
// value must be less than or equal to 10s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"];
}
```
.google.protobuf.Duration lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }public com.google.protobuf.Duration.Builder getLteBuilder()
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive. If the field's value is greater than the specified value,
an error message will be generated.
```proto
message MyDuration {
// value must be less than or equal to 10s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"];
}
```
.google.protobuf.Duration lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }public com.google.protobuf.DurationOrBuilder getLteOrBuilder()
`lte` indicates that the field must be less than or equal to the specified
value of the `google.protobuf.Duration` type, inclusive. If the field's value is greater than the specified value,
an error message will be generated.
```proto
message MyDuration {
// value must be less than or equal to 10s
google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"];
}
```
.google.protobuf.Duration lte = 4 [json_name = "lte", (.buf.validate.priv.field) = { ... }getLteOrBuilder in interface DurationRulesOrBuilderpublic boolean hasGt()
`gt` requires the duration field value to be greater than the specified
value (exclusive). If the value of `gt` is larger than a specified `lt`
or `lte`, the range is reversed, and the field value must be outside the
specified range. If the field value doesn't meet the required conditions,
an error message is generated.
```proto
message MyDuration {
// duration must be greater than 5s [duration.gt]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gt = { seconds: 5 }];
// duration must be greater than 5s and less than 10s [duration.gt_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gt: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than 10s or less than 5s [duration.gt_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gt: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }hasGt in interface DurationRulesOrBuilderpublic com.google.protobuf.Duration getGt()
`gt` requires the duration field value to be greater than the specified
value (exclusive). If the value of `gt` is larger than a specified `lt`
or `lte`, the range is reversed, and the field value must be outside the
specified range. If the field value doesn't meet the required conditions,
an error message is generated.
```proto
message MyDuration {
// duration must be greater than 5s [duration.gt]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gt = { seconds: 5 }];
// duration must be greater than 5s and less than 10s [duration.gt_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gt: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than 10s or less than 5s [duration.gt_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gt: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }getGt in interface DurationRulesOrBuilderpublic DurationRules.Builder setGt(com.google.protobuf.Duration value)
`gt` requires the duration field value to be greater than the specified
value (exclusive). If the value of `gt` is larger than a specified `lt`
or `lte`, the range is reversed, and the field value must be outside the
specified range. If the field value doesn't meet the required conditions,
an error message is generated.
```proto
message MyDuration {
// duration must be greater than 5s [duration.gt]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gt = { seconds: 5 }];
// duration must be greater than 5s and less than 10s [duration.gt_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gt: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than 10s or less than 5s [duration.gt_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gt: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }public DurationRules.Builder setGt(com.google.protobuf.Duration.Builder builderForValue)
`gt` requires the duration field value to be greater than the specified
value (exclusive). If the value of `gt` is larger than a specified `lt`
or `lte`, the range is reversed, and the field value must be outside the
specified range. If the field value doesn't meet the required conditions,
an error message is generated.
```proto
message MyDuration {
// duration must be greater than 5s [duration.gt]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gt = { seconds: 5 }];
// duration must be greater than 5s and less than 10s [duration.gt_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gt: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than 10s or less than 5s [duration.gt_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gt: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }public DurationRules.Builder mergeGt(com.google.protobuf.Duration value)
`gt` requires the duration field value to be greater than the specified
value (exclusive). If the value of `gt` is larger than a specified `lt`
or `lte`, the range is reversed, and the field value must be outside the
specified range. If the field value doesn't meet the required conditions,
an error message is generated.
```proto
message MyDuration {
// duration must be greater than 5s [duration.gt]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gt = { seconds: 5 }];
// duration must be greater than 5s and less than 10s [duration.gt_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gt: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than 10s or less than 5s [duration.gt_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gt: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }public DurationRules.Builder clearGt()
`gt` requires the duration field value to be greater than the specified
value (exclusive). If the value of `gt` is larger than a specified `lt`
or `lte`, the range is reversed, and the field value must be outside the
specified range. If the field value doesn't meet the required conditions,
an error message is generated.
```proto
message MyDuration {
// duration must be greater than 5s [duration.gt]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gt = { seconds: 5 }];
// duration must be greater than 5s and less than 10s [duration.gt_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gt: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than 10s or less than 5s [duration.gt_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gt: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }public com.google.protobuf.Duration.Builder getGtBuilder()
`gt` requires the duration field value to be greater than the specified
value (exclusive). If the value of `gt` is larger than a specified `lt`
or `lte`, the range is reversed, and the field value must be outside the
specified range. If the field value doesn't meet the required conditions,
an error message is generated.
```proto
message MyDuration {
// duration must be greater than 5s [duration.gt]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gt = { seconds: 5 }];
// duration must be greater than 5s and less than 10s [duration.gt_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gt: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than 10s or less than 5s [duration.gt_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gt: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }public com.google.protobuf.DurationOrBuilder getGtOrBuilder()
`gt` requires the duration field value to be greater than the specified
value (exclusive). If the value of `gt` is larger than a specified `lt`
or `lte`, the range is reversed, and the field value must be outside the
specified range. If the field value doesn't meet the required conditions,
an error message is generated.
```proto
message MyDuration {
// duration must be greater than 5s [duration.gt]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gt = { seconds: 5 }];
// duration must be greater than 5s and less than 10s [duration.gt_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gt: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than 10s or less than 5s [duration.gt_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gt: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gt = 5 [json_name = "gt", (.buf.validate.priv.field) = { ... }getGtOrBuilder in interface DurationRulesOrBuilderpublic boolean hasGte()
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive). If the value of `gte` is larger than a
specified `lt` or `lte`, the range is reversed, and the field value must
be outside the specified range. If the field value doesn't meet the
required conditions, an error message is generated.
```proto
message MyDuration {
// duration must be greater than or equal to 5s [duration.gte]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gte = { seconds: 5 }];
// duration must be greater than or equal to 5s and less than 10s [duration.gte_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gte: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than or equal to 10s or less than 5s [duration.gte_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gte: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }hasGte in interface DurationRulesOrBuilderpublic com.google.protobuf.Duration getGte()
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive). If the value of `gte` is larger than a
specified `lt` or `lte`, the range is reversed, and the field value must
be outside the specified range. If the field value doesn't meet the
required conditions, an error message is generated.
```proto
message MyDuration {
// duration must be greater than or equal to 5s [duration.gte]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gte = { seconds: 5 }];
// duration must be greater than or equal to 5s and less than 10s [duration.gte_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gte: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than or equal to 10s or less than 5s [duration.gte_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gte: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }getGte in interface DurationRulesOrBuilderpublic DurationRules.Builder setGte(com.google.protobuf.Duration value)
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive). If the value of `gte` is larger than a
specified `lt` or `lte`, the range is reversed, and the field value must
be outside the specified range. If the field value doesn't meet the
required conditions, an error message is generated.
```proto
message MyDuration {
// duration must be greater than or equal to 5s [duration.gte]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gte = { seconds: 5 }];
// duration must be greater than or equal to 5s and less than 10s [duration.gte_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gte: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than or equal to 10s or less than 5s [duration.gte_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gte: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }public DurationRules.Builder setGte(com.google.protobuf.Duration.Builder builderForValue)
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive). If the value of `gte` is larger than a
specified `lt` or `lte`, the range is reversed, and the field value must
be outside the specified range. If the field value doesn't meet the
required conditions, an error message is generated.
```proto
message MyDuration {
// duration must be greater than or equal to 5s [duration.gte]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gte = { seconds: 5 }];
// duration must be greater than or equal to 5s and less than 10s [duration.gte_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gte: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than or equal to 10s or less than 5s [duration.gte_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gte: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }public DurationRules.Builder mergeGte(com.google.protobuf.Duration value)
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive). If the value of `gte` is larger than a
specified `lt` or `lte`, the range is reversed, and the field value must
be outside the specified range. If the field value doesn't meet the
required conditions, an error message is generated.
```proto
message MyDuration {
// duration must be greater than or equal to 5s [duration.gte]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gte = { seconds: 5 }];
// duration must be greater than or equal to 5s and less than 10s [duration.gte_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gte: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than or equal to 10s or less than 5s [duration.gte_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gte: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }public DurationRules.Builder clearGte()
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive). If the value of `gte` is larger than a
specified `lt` or `lte`, the range is reversed, and the field value must
be outside the specified range. If the field value doesn't meet the
required conditions, an error message is generated.
```proto
message MyDuration {
// duration must be greater than or equal to 5s [duration.gte]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gte = { seconds: 5 }];
// duration must be greater than or equal to 5s and less than 10s [duration.gte_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gte: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than or equal to 10s or less than 5s [duration.gte_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gte: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }public com.google.protobuf.Duration.Builder getGteBuilder()
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive). If the value of `gte` is larger than a
specified `lt` or `lte`, the range is reversed, and the field value must
be outside the specified range. If the field value doesn't meet the
required conditions, an error message is generated.
```proto
message MyDuration {
// duration must be greater than or equal to 5s [duration.gte]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gte = { seconds: 5 }];
// duration must be greater than or equal to 5s and less than 10s [duration.gte_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gte: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than or equal to 10s or less than 5s [duration.gte_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gte: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }public com.google.protobuf.DurationOrBuilder getGteOrBuilder()
`gte` requires the duration field value to be greater than or equal to the
specified value (exclusive). If the value of `gte` is larger than a
specified `lt` or `lte`, the range is reversed, and the field value must
be outside the specified range. If the field value doesn't meet the
required conditions, an error message is generated.
```proto
message MyDuration {
// duration must be greater than or equal to 5s [duration.gte]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.gte = { seconds: 5 }];
// duration must be greater than or equal to 5s and less than 10s [duration.gte_lt]
google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gte: { seconds: 5 }, lt: { seconds: 10 } }];
// duration must be greater than or equal to 10s or less than 5s [duration.gte_lt_exclusive]
google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gte: { seconds: 10 }, lt: { seconds: 5 } }];
}
```
.google.protobuf.Duration gte = 6 [json_name = "gte", (.buf.validate.priv.field) = { ... }getGteOrBuilder in interface DurationRulesOrBuilderpublic List<com.google.protobuf.Duration> getInList()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }getInList in interface DurationRulesOrBuilderpublic int getInCount()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }getInCount in interface DurationRulesOrBuilderpublic com.google.protobuf.Duration getIn(int index)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }getIn in interface DurationRulesOrBuilderpublic DurationRules.Builder setIn(int index, com.google.protobuf.Duration value)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public DurationRules.Builder setIn(int index, com.google.protobuf.Duration.Builder builderForValue)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public DurationRules.Builder addIn(com.google.protobuf.Duration value)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public DurationRules.Builder addIn(int index, com.google.protobuf.Duration value)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public DurationRules.Builder addIn(com.google.protobuf.Duration.Builder builderForValue)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public DurationRules.Builder addIn(int index, com.google.protobuf.Duration.Builder builderForValue)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public DurationRules.Builder addAllIn(Iterable<? extends com.google.protobuf.Duration> values)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public DurationRules.Builder clearIn()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public DurationRules.Builder removeIn(int index)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public com.google.protobuf.Duration.Builder getInBuilder(int index)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public com.google.protobuf.DurationOrBuilder getInOrBuilder(int index)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }getInOrBuilder in interface DurationRulesOrBuilderpublic List<? extends com.google.protobuf.DurationOrBuilder> getInOrBuilderList()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }getInOrBuilderList in interface DurationRulesOrBuilderpublic com.google.protobuf.Duration.Builder addInBuilder()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public com.google.protobuf.Duration.Builder addInBuilder(int index)
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public List<com.google.protobuf.Duration.Builder> getInBuilderList()
`in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type.
If the field's value doesn't correspond to any of the specified values,
an error message will be generated.
```proto
message MyDuration {
// value must be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration in = 7 [json_name = "in", (.buf.validate.priv.field) = { ... }public List<com.google.protobuf.Duration> getNotInList()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }getNotInList in interface DurationRulesOrBuilderpublic int getNotInCount()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }getNotInCount in interface DurationRulesOrBuilderpublic com.google.protobuf.Duration getNotIn(int index)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }getNotIn in interface DurationRulesOrBuilderpublic DurationRules.Builder setNotIn(int index, com.google.protobuf.Duration value)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public DurationRules.Builder setNotIn(int index, com.google.protobuf.Duration.Builder builderForValue)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public DurationRules.Builder addNotIn(com.google.protobuf.Duration value)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public DurationRules.Builder addNotIn(int index, com.google.protobuf.Duration value)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public DurationRules.Builder addNotIn(com.google.protobuf.Duration.Builder builderForValue)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public DurationRules.Builder addNotIn(int index, com.google.protobuf.Duration.Builder builderForValue)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public DurationRules.Builder addAllNotIn(Iterable<? extends com.google.protobuf.Duration> values)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public DurationRules.Builder clearNotIn()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public DurationRules.Builder removeNotIn(int index)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public com.google.protobuf.Duration.Builder getNotInBuilder(int index)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public com.google.protobuf.DurationOrBuilder getNotInOrBuilder(int index)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }getNotInOrBuilder in interface DurationRulesOrBuilderpublic List<? extends com.google.protobuf.DurationOrBuilder> getNotInOrBuilderList()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }getNotInOrBuilderList in interface DurationRulesOrBuilderpublic com.google.protobuf.Duration.Builder addNotInBuilder()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public com.google.protobuf.Duration.Builder addNotInBuilder(int index)
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public List<com.google.protobuf.Duration.Builder> getNotInBuilderList()
`not_in` denotes that the field must not be equal to
any of the specified values of the `google.protobuf.Duration` type.
If the field's value matches any of these values, an error message will be
generated.
```proto
message MyDuration {
// value must not be in list [1s, 2s, 3s]
google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]];
}
```
repeated .google.protobuf.Duration not_in = 8 [json_name = "notIn", (.buf.validate.priv.field) = { ... }public final DurationRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>public final DurationRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DurationRules.Builder>Copyright © 2024. All rights reserved.