- 2.55.0 (latest)
- 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.v2.Interval
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Interval.BuilderImplements
IntervalOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Interval.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Interval.Builder |
build()
public Interval build()
Type | Description |
Interval |
buildPartial()
public Interval buildPartial()
Type | Description |
Interval |
clear()
public Interval.Builder clear()
Type | Description |
Interval.Builder |
clearExclusiveMaximum()
public Interval.Builder clearExclusiveMaximum()
Exclusive upper bound.
double exclusive_maximum = 4;
Type | Description |
Interval.Builder | This builder for chaining. |
clearExclusiveMinimum()
public Interval.Builder clearExclusiveMinimum()
Exclusive lower bound.
double exclusive_minimum = 2;
Type | Description |
Interval.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Interval.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Interval.Builder |
clearMax()
public Interval.Builder clearMax()
Type | Description |
Interval.Builder |
clearMaximum()
public Interval.Builder clearMaximum()
Inclusive upper bound.
double maximum = 3;
Type | Description |
Interval.Builder | This builder for chaining. |
clearMin()
public Interval.Builder clearMin()
Type | Description |
Interval.Builder |
clearMinimum()
public Interval.Builder clearMinimum()
Inclusive lower bound.
double minimum = 1;
Type | Description |
Interval.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Interval.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Interval.Builder |
clone()
public Interval.Builder clone()
Type | Description |
Interval.Builder |
getDefaultInstanceForType()
public Interval getDefaultInstanceForType()
Type | Description |
Interval |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExclusiveMaximum()
public double getExclusiveMaximum()
Exclusive upper bound.
double exclusive_maximum = 4;
Type | Description |
double | The exclusiveMaximum. |
getExclusiveMinimum()
public double getExclusiveMinimum()
Exclusive lower bound.
double exclusive_minimum = 2;
Type | Description |
double | The exclusiveMinimum. |
getMaxCase()
public Interval.MaxCase getMaxCase()
Type | Description |
Interval.MaxCase |
getMaximum()
public double getMaximum()
Inclusive upper bound.
double maximum = 3;
Type | Description |
double | The maximum. |
getMinCase()
public Interval.MinCase getMinCase()
Type | Description |
Interval.MinCase |
getMinimum()
public double getMinimum()
Inclusive lower bound.
double minimum = 1;
Type | Description |
double | The minimum. |
hasExclusiveMaximum()
public boolean hasExclusiveMaximum()
Exclusive upper bound.
double exclusive_maximum = 4;
Type | Description |
boolean | Whether the exclusiveMaximum field is set. |
hasExclusiveMinimum()
public boolean hasExclusiveMinimum()
Exclusive lower bound.
double exclusive_minimum = 2;
Type | Description |
boolean | Whether the exclusiveMinimum field is set. |
hasMaximum()
public boolean hasMaximum()
Inclusive upper bound.
double maximum = 3;
Type | Description |
boolean | Whether the maximum field is set. |
hasMinimum()
public boolean hasMinimum()
Inclusive lower bound.
double minimum = 1;
Type | Description |
boolean | Whether the minimum field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Interval other)
public Interval.Builder mergeFrom(Interval other)
Name | Description |
other | Interval |
Type | Description |
Interval.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Interval.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Interval.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Interval.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Interval.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Interval.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Interval.Builder |
setExclusiveMaximum(double value)
public Interval.Builder setExclusiveMaximum(double value)
Exclusive upper bound.
double exclusive_maximum = 4;
Name | Description |
value | double The exclusiveMaximum to set. |
Type | Description |
Interval.Builder | This builder for chaining. |
setExclusiveMinimum(double value)
public Interval.Builder setExclusiveMinimum(double value)
Exclusive lower bound.
double exclusive_minimum = 2;
Name | Description |
value | double The exclusiveMinimum to set. |
Type | Description |
Interval.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Interval.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Interval.Builder |
setMaximum(double value)
public Interval.Builder setMaximum(double value)
Inclusive upper bound.
double maximum = 3;
Name | Description |
value | double The maximum to set. |
Type | Description |
Interval.Builder | This builder for chaining. |
setMinimum(double value)
public Interval.Builder setMinimum(double value)
Inclusive lower bound.
double minimum = 1;
Name | Description |
value | double The minimum to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Interval.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Interval.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Interval.Builder |