Class NormalizedPolyline.Builder (0.16.0)

public static final class NormalizedPolyline.Builder extends GeneratedMessageV3.Builder<NormalizedPolyline.Builder> implements NormalizedPolylineOrBuilder

Normalized Pplyline, which represents a curve consisting of connected straight-line segments.

Protobuf type google.events.cloud.visionai.v1.NormalizedPolyline

Static Methods

getDescriptor()

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

Methods

addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)

public NormalizedPolyline.Builder addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameter
Name Description
values Iterable<? extends com.google.events.cloud.visionai.v1.NormalizedVertex>
Returns
Type Description
NormalizedPolyline.Builder

addNormalizedVertices(NormalizedVertex value)

public NormalizedPolyline.Builder addNormalizedVertices(NormalizedVertex value)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameter
Name Description
value NormalizedVertex
Returns
Type Description
NormalizedPolyline.Builder

addNormalizedVertices(NormalizedVertex.Builder builderForValue)

public NormalizedPolyline.Builder addNormalizedVertices(NormalizedVertex.Builder builderForValue)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameter
Name Description
builderForValue NormalizedVertex.Builder
Returns
Type Description
NormalizedPolyline.Builder

addNormalizedVertices(int index, NormalizedVertex value)

public NormalizedPolyline.Builder addNormalizedVertices(int index, NormalizedVertex value)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameters
Name Description
index int
value NormalizedVertex
Returns
Type Description
NormalizedPolyline.Builder

addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)

public NormalizedPolyline.Builder addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameters
Name Description
index int
builderForValue NormalizedVertex.Builder
Returns
Type Description
NormalizedPolyline.Builder

addNormalizedVerticesBuilder()

public NormalizedVertex.Builder addNormalizedVerticesBuilder()

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Returns
Type Description
NormalizedVertex.Builder

addNormalizedVerticesBuilder(int index)

public NormalizedVertex.Builder addNormalizedVerticesBuilder(int index)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameter
Name Description
index int
Returns
Type Description
NormalizedVertex.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NormalizedPolyline build()
Returns
Type Description
NormalizedPolyline

buildPartial()

public NormalizedPolyline buildPartial()
Returns
Type Description
NormalizedPolyline

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNormalizedVertices()

public NormalizedPolyline.Builder clearNormalizedVertices()

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Returns
Type Description
NormalizedPolyline.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NormalizedPolyline getDefaultInstanceForType()
Returns
Type Description
NormalizedPolyline

getDescriptorForType()

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

getNormalizedVertices(int index)

public NormalizedVertex getNormalizedVertices(int index)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameter
Name Description
index int
Returns
Type Description
NormalizedVertex

getNormalizedVerticesBuilder(int index)

public NormalizedVertex.Builder getNormalizedVerticesBuilder(int index)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameter
Name Description
index int
Returns
Type Description
NormalizedVertex.Builder

getNormalizedVerticesBuilderList()

public List<NormalizedVertex.Builder> getNormalizedVerticesBuilderList()

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Returns
Type Description
List<Builder>

getNormalizedVerticesCount()

public int getNormalizedVerticesCount()

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Returns
Type Description
int

getNormalizedVerticesList()

public List<NormalizedVertex> getNormalizedVerticesList()

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Returns
Type Description
List<NormalizedVertex>

getNormalizedVerticesOrBuilder(int index)

public NormalizedVertexOrBuilder getNormalizedVerticesOrBuilder(int index)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameter
Name Description
index int
Returns
Type Description
NormalizedVertexOrBuilder

getNormalizedVerticesOrBuilderList()

public List<? extends NormalizedVertexOrBuilder> getNormalizedVerticesOrBuilderList()

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NormalizedPolyline other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNormalizedVertices(int index)

public NormalizedPolyline.Builder removeNormalizedVertices(int index)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameter
Name Description
index int
Returns
Type Description
NormalizedPolyline.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNormalizedVertices(int index, NormalizedVertex value)

public NormalizedPolyline.Builder setNormalizedVertices(int index, NormalizedVertex value)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameters
Name Description
index int
value NormalizedVertex
Returns
Type Description
NormalizedPolyline.Builder

setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)

public NormalizedPolyline.Builder setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)

A sequence of vertices connected by straight lines.

repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;

Parameters
Name Description
index int
builderForValue NormalizedVertex.Builder
Returns
Type Description
NormalizedPolyline.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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