- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class Interval.Builder extends GeneratedMessageV3.Builder<Interval.Builder> implements IntervalOrBuilder
A floating point interval.
Protobuf type google.cloud.retail.v2beta.Interval
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Interval.BuilderImplements
IntervalOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Interval.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Interval.Builder |
build()
public Interval build()
Returns | |
---|---|
Type | Description |
Interval |
buildPartial()
public Interval buildPartial()
Returns | |
---|---|
Type | Description |
Interval |
clear()
public Interval.Builder clear()
Returns | |
---|---|
Type | Description |
Interval.Builder |
clearExclusiveMaximum()
public Interval.Builder clearExclusiveMaximum()
Exclusive upper bound.
double exclusive_maximum = 4;
Returns | |
---|---|
Type | Description |
Interval.Builder |
This builder for chaining. |
clearExclusiveMinimum()
public Interval.Builder clearExclusiveMinimum()
Exclusive lower bound.
double exclusive_minimum = 2;
Returns | |
---|---|
Type | Description |
Interval.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Interval.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Interval.Builder |
clearMax()
public Interval.Builder clearMax()
Returns | |
---|---|
Type | Description |
Interval.Builder |
clearMaximum()
public Interval.Builder clearMaximum()
Inclusive upper bound.
double maximum = 3;
Returns | |
---|---|
Type | Description |
Interval.Builder |
This builder for chaining. |
clearMin()
public Interval.Builder clearMin()
Returns | |
---|---|
Type | Description |
Interval.Builder |
clearMinimum()
public Interval.Builder clearMinimum()
Inclusive lower bound.
double minimum = 1;
Returns | |
---|---|
Type | Description |
Interval.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Interval.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Interval.Builder |
clone()
public Interval.Builder clone()
Returns | |
---|---|
Type | Description |
Interval.Builder |
getDefaultInstanceForType()
public Interval getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Interval |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExclusiveMaximum()
public double getExclusiveMaximum()
Exclusive upper bound.
double exclusive_maximum = 4;
Returns | |
---|---|
Type | Description |
double |
The exclusiveMaximum. |
getExclusiveMinimum()
public double getExclusiveMinimum()
Exclusive lower bound.
double exclusive_minimum = 2;
Returns | |
---|---|
Type | Description |
double |
The exclusiveMinimum. |
getMaxCase()
public Interval.MaxCase getMaxCase()
Returns | |
---|---|
Type | Description |
Interval.MaxCase |
getMaximum()
public double getMaximum()
Inclusive upper bound.
double maximum = 3;
Returns | |
---|---|
Type | Description |
double |
The maximum. |
getMinCase()
public Interval.MinCase getMinCase()
Returns | |
---|---|
Type | Description |
Interval.MinCase |
getMinimum()
public double getMinimum()
Inclusive lower bound.
double minimum = 1;
Returns | |
---|---|
Type | Description |
double |
The minimum. |
hasExclusiveMaximum()
public boolean hasExclusiveMaximum()
Exclusive upper bound.
double exclusive_maximum = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the exclusiveMaximum field is set. |
hasExclusiveMinimum()
public boolean hasExclusiveMinimum()
Exclusive lower bound.
double exclusive_minimum = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the exclusiveMinimum field is set. |
hasMaximum()
public boolean hasMaximum()
Inclusive upper bound.
double maximum = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the maximum field is set. |
hasMinimum()
public boolean hasMinimum()
Inclusive lower bound.
double minimum = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the minimum field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Interval other)
public Interval.Builder mergeFrom(Interval other)
Parameter | |
---|---|
Name | Description |
other |
Interval |
Returns | |
---|---|
Type | Description |
Interval.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Interval.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Interval.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Interval.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Interval.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Interval.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Interval.Builder |
setExclusiveMaximum(double value)
public Interval.Builder setExclusiveMaximum(double value)
Exclusive upper bound.
double exclusive_maximum = 4;
Parameter | |
---|---|
Name | Description |
value |
double The exclusiveMaximum to set. |
Returns | |
---|---|
Type | Description |
Interval.Builder |
This builder for chaining. |
setExclusiveMinimum(double value)
public Interval.Builder setExclusiveMinimum(double value)
Exclusive lower bound.
double exclusive_minimum = 2;
Parameter | |
---|---|
Name | Description |
value |
double The exclusiveMinimum to set. |
Returns | |
---|---|
Type | Description |
Interval.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Interval.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Interval.Builder |
setMaximum(double value)
public Interval.Builder setMaximum(double value)
Inclusive upper bound.
double maximum = 3;
Parameter | |
---|---|
Name | Description |
value |
double The maximum to set. |
Returns | |
---|---|
Type | Description |
Interval.Builder |
This builder for chaining. |
setMinimum(double value)
public Interval.Builder setMinimum(double value)
Inclusive lower bound.
double minimum = 1;
Parameter | |
---|---|
Name | Description |
value |
double The minimum to set. |
Returns | |
---|---|
Type | Description |
Interval.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Interval.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Interval.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Interval.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Interval.Builder |