Class GeoLocationArray.Builder (0.9.0)

public static final class GeoLocationArray.Builder extends GeneratedMessageV3.Builder<GeoLocationArray.Builder> implements GeoLocationArrayOrBuilder

A list of locations.

Protobuf type google.cloud.visionai.v1.GeoLocationArray

Static Methods

getDescriptor()

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

Methods

addAllCircleAreas(Iterable<? extends CircleArea> values)

public GeoLocationArray.Builder addAllCircleAreas(Iterable<? extends CircleArea> values)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

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

addCircleAreas(CircleArea value)

public GeoLocationArray.Builder addCircleAreas(CircleArea value)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameter
Name Description
value CircleArea
Returns
Type Description
GeoLocationArray.Builder

addCircleAreas(CircleArea.Builder builderForValue)

public GeoLocationArray.Builder addCircleAreas(CircleArea.Builder builderForValue)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameter
Name Description
builderForValue CircleArea.Builder
Returns
Type Description
GeoLocationArray.Builder

addCircleAreas(int index, CircleArea value)

public GeoLocationArray.Builder addCircleAreas(int index, CircleArea value)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameters
Name Description
index int
value CircleArea
Returns
Type Description
GeoLocationArray.Builder

addCircleAreas(int index, CircleArea.Builder builderForValue)

public GeoLocationArray.Builder addCircleAreas(int index, CircleArea.Builder builderForValue)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameters
Name Description
index int
builderForValue CircleArea.Builder
Returns
Type Description
GeoLocationArray.Builder

addCircleAreasBuilder()

public CircleArea.Builder addCircleAreasBuilder()

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Returns
Type Description
CircleArea.Builder

addCircleAreasBuilder(int index)

public CircleArea.Builder addCircleAreasBuilder(int index)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameter
Name Description
index int
Returns
Type Description
CircleArea.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GeoLocationArray build()
Returns
Type Description
GeoLocationArray

buildPartial()

public GeoLocationArray buildPartial()
Returns
Type Description
GeoLocationArray

clear()

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

clearCircleAreas()

public GeoLocationArray.Builder clearCircleAreas()

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Returns
Type Description
GeoLocationArray.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCircleAreas(int index)

public CircleArea getCircleAreas(int index)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameter
Name Description
index int
Returns
Type Description
CircleArea

getCircleAreasBuilder(int index)

public CircleArea.Builder getCircleAreasBuilder(int index)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameter
Name Description
index int
Returns
Type Description
CircleArea.Builder

getCircleAreasBuilderList()

public List<CircleArea.Builder> getCircleAreasBuilderList()

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Returns
Type Description
List<Builder>

getCircleAreasCount()

public int getCircleAreasCount()

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Returns
Type Description
int

getCircleAreasList()

public List<CircleArea> getCircleAreasList()

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Returns
Type Description
List<CircleArea>

getCircleAreasOrBuilder(int index)

public CircleAreaOrBuilder getCircleAreasOrBuilder(int index)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameter
Name Description
index int
Returns
Type Description
CircleAreaOrBuilder

getCircleAreasOrBuilderList()

public List<? extends CircleAreaOrBuilder> getCircleAreasOrBuilderList()

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

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

getDefaultInstanceForType()

public GeoLocationArray getDefaultInstanceForType()
Returns
Type Description
GeoLocationArray

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GeoLocationArray other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCircleAreas(int index)

public GeoLocationArray.Builder removeCircleAreas(int index)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameter
Name Description
index int
Returns
Type Description
GeoLocationArray.Builder

setCircleAreas(int index, CircleArea value)

public GeoLocationArray.Builder setCircleAreas(int index, CircleArea value)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameters
Name Description
index int
value CircleArea
Returns
Type Description
GeoLocationArray.Builder

setCircleAreas(int index, CircleArea.Builder builderForValue)

public GeoLocationArray.Builder setCircleAreas(int index, CircleArea.Builder builderForValue)

A list of circle areas.

repeated .google.cloud.visionai.v1.CircleArea circle_areas = 1;

Parameters
Name Description
index int
builderForValue CircleArea.Builder
Returns
Type Description
GeoLocationArray.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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