Class StreamWithAnnotation.NodeAnnotation.Builder (0.2.0)

public static final class StreamWithAnnotation.NodeAnnotation.Builder extends GeneratedMessageV3.Builder<StreamWithAnnotation.NodeAnnotation.Builder> implements StreamWithAnnotation.NodeAnnotationOrBuilder

Message describing annotations specific to application node.

Protobuf type google.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation

Static Methods

getDescriptor()

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

Methods

addAllAnnotations(Iterable<? extends StreamAnnotation> values)

public StreamWithAnnotation.NodeAnnotation.Builder addAllAnnotations(Iterable<? extends StreamAnnotation> values)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.StreamAnnotation>
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

addAnnotations(StreamAnnotation value)

public StreamWithAnnotation.NodeAnnotation.Builder addAnnotations(StreamAnnotation value)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameter
Name Description
value StreamAnnotation
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

addAnnotations(StreamAnnotation.Builder builderForValue)

public StreamWithAnnotation.NodeAnnotation.Builder addAnnotations(StreamAnnotation.Builder builderForValue)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameter
Name Description
builderForValue StreamAnnotation.Builder
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

addAnnotations(int index, StreamAnnotation value)

public StreamWithAnnotation.NodeAnnotation.Builder addAnnotations(int index, StreamAnnotation value)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameters
Name Description
index int
value StreamAnnotation
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

addAnnotations(int index, StreamAnnotation.Builder builderForValue)

public StreamWithAnnotation.NodeAnnotation.Builder addAnnotations(int index, StreamAnnotation.Builder builderForValue)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameters
Name Description
index int
builderForValue StreamAnnotation.Builder
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

addAnnotationsBuilder()

public StreamAnnotation.Builder addAnnotationsBuilder()

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Returns
Type Description
StreamAnnotation.Builder

addAnnotationsBuilder(int index)

public StreamAnnotation.Builder addAnnotationsBuilder(int index)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
StreamAnnotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamWithAnnotation.NodeAnnotation build()
Returns
Type Description
StreamWithAnnotation.NodeAnnotation

buildPartial()

public StreamWithAnnotation.NodeAnnotation buildPartial()
Returns
Type Description
StreamWithAnnotation.NodeAnnotation

clear()

public StreamWithAnnotation.NodeAnnotation.Builder clear()
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder
Overrides

clearAnnotations()

public StreamWithAnnotation.NodeAnnotation.Builder clearAnnotations()

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNode()

public StreamWithAnnotation.NodeAnnotation.Builder clearNode()

The node name of the application graph.

string node = 1;

Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public StreamWithAnnotation.NodeAnnotation.Builder clone()
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder
Overrides

getAnnotations(int index)

public StreamAnnotation getAnnotations(int index)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
StreamAnnotation

getAnnotationsBuilder(int index)

public StreamAnnotation.Builder getAnnotationsBuilder(int index)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
StreamAnnotation.Builder

getAnnotationsBuilderList()

public List<StreamAnnotation.Builder> getAnnotationsBuilderList()

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Returns
Type Description
List<Builder>

getAnnotationsCount()

public int getAnnotationsCount()

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Returns
Type Description
int

getAnnotationsList()

public List<StreamAnnotation> getAnnotationsList()

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Returns
Type Description
List<StreamAnnotation>

getAnnotationsOrBuilder(int index)

public StreamAnnotationOrBuilder getAnnotationsOrBuilder(int index)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
StreamAnnotationOrBuilder

getAnnotationsOrBuilderList()

public List<? extends StreamAnnotationOrBuilder> getAnnotationsOrBuilderList()

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

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

getDefaultInstanceForType()

public StreamWithAnnotation.NodeAnnotation getDefaultInstanceForType()
Returns
Type Description
StreamWithAnnotation.NodeAnnotation

getDescriptorForType()

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

getNode()

public String getNode()

The node name of the application graph.

string node = 1;

Returns
Type Description
String

The node.

getNodeBytes()

public ByteString getNodeBytes()

The node name of the application graph.

string node = 1;

Returns
Type Description
ByteString

The bytes for node.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StreamWithAnnotation.NodeAnnotation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAnnotations(int index)

public StreamWithAnnotation.NodeAnnotation.Builder removeAnnotations(int index)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

setAnnotations(int index, StreamAnnotation value)

public StreamWithAnnotation.NodeAnnotation.Builder setAnnotations(int index, StreamAnnotation value)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameters
Name Description
index int
value StreamAnnotation
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

setAnnotations(int index, StreamAnnotation.Builder builderForValue)

public StreamWithAnnotation.NodeAnnotation.Builder setAnnotations(int index, StreamAnnotation.Builder builderForValue)

The node specific stream annotations.

repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameters
Name Description
index int
builderForValue StreamAnnotation.Builder
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNode(String value)

public StreamWithAnnotation.NodeAnnotation.Builder setNode(String value)

The node name of the application graph.

string node = 1;

Parameter
Name Description
value String

The node to set.

Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

This builder for chaining.

setNodeBytes(ByteString value)

public StreamWithAnnotation.NodeAnnotation.Builder setNodeBytes(ByteString value)

The node name of the application graph.

string node = 1;

Parameter
Name Description
value ByteString

The bytes for node to set.

Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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