Class FloatRangeArray.Builder (0.11.0)

public static final class FloatRangeArray.Builder extends GeneratedMessageV3.Builder<FloatRangeArray.Builder> implements FloatRangeArrayOrBuilder

A list of float range values.

Protobuf type google.cloud.visionai.v1.FloatRangeArray

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFloatRanges(Iterable<? extends FloatRange> values)

public FloatRangeArray.Builder addAllFloatRanges(Iterable<? extends FloatRange> values)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.FloatRange>
Returns
Type Description
FloatRangeArray.Builder

addFloatRanges(FloatRange value)

public FloatRangeArray.Builder addFloatRanges(FloatRange value)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameter
Name Description
value FloatRange
Returns
Type Description
FloatRangeArray.Builder

addFloatRanges(FloatRange.Builder builderForValue)

public FloatRangeArray.Builder addFloatRanges(FloatRange.Builder builderForValue)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameter
Name Description
builderForValue FloatRange.Builder
Returns
Type Description
FloatRangeArray.Builder

addFloatRanges(int index, FloatRange value)

public FloatRangeArray.Builder addFloatRanges(int index, FloatRange value)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameters
Name Description
index int
value FloatRange
Returns
Type Description
FloatRangeArray.Builder

addFloatRanges(int index, FloatRange.Builder builderForValue)

public FloatRangeArray.Builder addFloatRanges(int index, FloatRange.Builder builderForValue)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameters
Name Description
index int
builderForValue FloatRange.Builder
Returns
Type Description
FloatRangeArray.Builder

addFloatRangesBuilder()

public FloatRange.Builder addFloatRangesBuilder()

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Returns
Type Description
FloatRange.Builder

addFloatRangesBuilder(int index)

public FloatRange.Builder addFloatRangesBuilder(int index)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameter
Name Description
index int
Returns
Type Description
FloatRange.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FloatRangeArray.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FloatRangeArray.Builder
Overrides

build()

public FloatRangeArray build()
Returns
Type Description
FloatRangeArray

buildPartial()

public FloatRangeArray buildPartial()
Returns
Type Description
FloatRangeArray

clear()

public FloatRangeArray.Builder clear()
Returns
Type Description
FloatRangeArray.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FloatRangeArray.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FloatRangeArray.Builder
Overrides

clearFloatRanges()

public FloatRangeArray.Builder clearFloatRanges()

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Returns
Type Description
FloatRangeArray.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FloatRangeArray.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FloatRangeArray.Builder
Overrides

clone()

public FloatRangeArray.Builder clone()
Returns
Type Description
FloatRangeArray.Builder
Overrides

getDefaultInstanceForType()

public FloatRangeArray getDefaultInstanceForType()
Returns
Type Description
FloatRangeArray

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFloatRanges(int index)

public FloatRange getFloatRanges(int index)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameter
Name Description
index int
Returns
Type Description
FloatRange

getFloatRangesBuilder(int index)

public FloatRange.Builder getFloatRangesBuilder(int index)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameter
Name Description
index int
Returns
Type Description
FloatRange.Builder

getFloatRangesBuilderList()

public List<FloatRange.Builder> getFloatRangesBuilderList()

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Returns
Type Description
List<Builder>

getFloatRangesCount()

public int getFloatRangesCount()

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Returns
Type Description
int

getFloatRangesList()

public List<FloatRange> getFloatRangesList()

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Returns
Type Description
List<FloatRange>

getFloatRangesOrBuilder(int index)

public FloatRangeOrBuilder getFloatRangesOrBuilder(int index)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameter
Name Description
index int
Returns
Type Description
FloatRangeOrBuilder

getFloatRangesOrBuilderList()

public List<? extends FloatRangeOrBuilder> getFloatRangesOrBuilderList()

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.FloatRangeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FloatRangeArray other)

public FloatRangeArray.Builder mergeFrom(FloatRangeArray other)
Parameter
Name Description
other FloatRangeArray
Returns
Type Description
FloatRangeArray.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FloatRangeArray.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FloatRangeArray.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FloatRangeArray.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FloatRangeArray.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FloatRangeArray.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FloatRangeArray.Builder
Overrides

removeFloatRanges(int index)

public FloatRangeArray.Builder removeFloatRanges(int index)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameter
Name Description
index int
Returns
Type Description
FloatRangeArray.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FloatRangeArray.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FloatRangeArray.Builder
Overrides

setFloatRanges(int index, FloatRange value)

public FloatRangeArray.Builder setFloatRanges(int index, FloatRange value)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameters
Name Description
index int
value FloatRange
Returns
Type Description
FloatRangeArray.Builder

setFloatRanges(int index, FloatRange.Builder builderForValue)

public FloatRangeArray.Builder setFloatRanges(int index, FloatRange.Builder builderForValue)

Float range values.

repeated .google.cloud.visionai.v1.FloatRange float_ranges = 1;

Parameters
Name Description
index int
builderForValue FloatRange.Builder
Returns
Type Description
FloatRangeArray.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FloatRangeArray.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FloatRangeArray.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FloatRangeArray.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FloatRangeArray.Builder
Overrides