- 0.48.0 (latest)
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Interval.Builder extends GeneratedMessageV3.Builder<Interval.Builder> implements IntervalOrBuilder
A floating point interval.
Protobuf type google.cloud.discoveryengine.v1alpha.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 |