Class IntRangeArray.Builder (0.5.0)

public static final class IntRangeArray.Builder extends GeneratedMessageV3.Builder<IntRangeArray.Builder> implements IntRangeArrayOrBuilder

A list of integer range values.

Protobuf type google.cloud.visionai.v1.IntRangeArray

Static Methods

getDescriptor()

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

Methods

addAllIntRanges(Iterable<? extends IntRange> values)

public IntRangeArray.Builder addAllIntRanges(Iterable<? extends IntRange> values)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

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

addIntRanges(IntRange value)

public IntRangeArray.Builder addIntRanges(IntRange value)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameter
Name Description
value IntRange
Returns
Type Description
IntRangeArray.Builder

addIntRanges(IntRange.Builder builderForValue)

public IntRangeArray.Builder addIntRanges(IntRange.Builder builderForValue)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameter
Name Description
builderForValue IntRange.Builder
Returns
Type Description
IntRangeArray.Builder

addIntRanges(int index, IntRange value)

public IntRangeArray.Builder addIntRanges(int index, IntRange value)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameters
Name Description
index int
value IntRange
Returns
Type Description
IntRangeArray.Builder

addIntRanges(int index, IntRange.Builder builderForValue)

public IntRangeArray.Builder addIntRanges(int index, IntRange.Builder builderForValue)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameters
Name Description
index int
builderForValue IntRange.Builder
Returns
Type Description
IntRangeArray.Builder

addIntRangesBuilder()

public IntRange.Builder addIntRangesBuilder()

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Returns
Type Description
IntRange.Builder

addIntRangesBuilder(int index)

public IntRange.Builder addIntRangesBuilder(int index)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameter
Name Description
index int
Returns
Type Description
IntRange.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IntRangeArray build()
Returns
Type Description
IntRangeArray

buildPartial()

public IntRangeArray buildPartial()
Returns
Type Description
IntRangeArray

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIntRanges()

public IntRangeArray.Builder clearIntRanges()

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Returns
Type Description
IntRangeArray.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public IntRangeArray getDefaultInstanceForType()
Returns
Type Description
IntRangeArray

getDescriptorForType()

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

getIntRanges(int index)

public IntRange getIntRanges(int index)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameter
Name Description
index int
Returns
Type Description
IntRange

getIntRangesBuilder(int index)

public IntRange.Builder getIntRangesBuilder(int index)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameter
Name Description
index int
Returns
Type Description
IntRange.Builder

getIntRangesBuilderList()

public List<IntRange.Builder> getIntRangesBuilderList()

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Returns
Type Description
List<Builder>

getIntRangesCount()

public int getIntRangesCount()

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Returns
Type Description
int

getIntRangesList()

public List<IntRange> getIntRangesList()

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Returns
Type Description
List<IntRange>

getIntRangesOrBuilder(int index)

public IntRangeOrBuilder getIntRangesOrBuilder(int index)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameter
Name Description
index int
Returns
Type Description
IntRangeOrBuilder

getIntRangesOrBuilderList()

public List<? extends IntRangeOrBuilder> getIntRangesOrBuilderList()

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IntRangeArray other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIntRanges(int index)

public IntRangeArray.Builder removeIntRanges(int index)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameter
Name Description
index int
Returns
Type Description
IntRangeArray.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIntRanges(int index, IntRange value)

public IntRangeArray.Builder setIntRanges(int index, IntRange value)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameters
Name Description
index int
value IntRange
Returns
Type Description
IntRangeArray.Builder

setIntRanges(int index, IntRange.Builder builderForValue)

public IntRangeArray.Builder setIntRanges(int index, IntRange.Builder builderForValue)

Int range values.

repeated .google.cloud.visionai.v1.IntRange int_ranges = 1;

Parameters
Name Description
index int
builderForValue IntRange.Builder
Returns
Type Description
IntRangeArray.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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