Class NormalizedPolyline.Builder (0.14.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.events.cloud.visionai.v1.NormalizedVertex>
Returns
TypeDescription
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
NameDescription
valueNormalizedVertex
Returns
TypeDescription
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
NameDescription
builderForValueNormalizedVertex.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNormalizedVertex
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNormalizedVertex.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NormalizedVertex.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NormalizedPolyline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

build()

public NormalizedPolyline build()
Returns
TypeDescription
NormalizedPolyline

buildPartial()

public NormalizedPolyline buildPartial()
Returns
TypeDescription
NormalizedPolyline

clear()

public NormalizedPolyline.Builder clear()
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NormalizedPolyline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
NormalizedPolyline.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NormalizedPolyline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

clone()

public NormalizedPolyline.Builder clone()
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

getDefaultInstanceForType()

public NormalizedPolyline getDefaultInstanceForType()
Returns
TypeDescription
NormalizedPolyline

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.events.cloud.visionai.v1.NormalizedVertexOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NormalizedPolyline other)

public NormalizedPolyline.Builder mergeFrom(NormalizedPolyline other)
Parameter
NameDescription
otherNormalizedPolyline
Returns
TypeDescription
NormalizedPolyline.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NormalizedPolyline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NormalizedPolyline.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NormalizedPolyline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NormalizedPolyline.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NormalizedPolyline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueNormalizedVertex
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNormalizedVertex.Builder
Returns
TypeDescription
NormalizedPolyline.Builder

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

public NormalizedPolyline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NormalizedPolyline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides