Class StreamWithAnnotation.NodeAnnotation.Builder (0.14.1)

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.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAnnotations(Iterable<? extends StreamAnnotation> values)

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

The node specific stream annotations.

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

Parameter
NameDescription
valuesIterable<? extends com.google.events.cloud.visionai.v1.StreamAnnotation>
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

addAnnotations(StreamAnnotation value)

public StreamWithAnnotation.NodeAnnotation.Builder addAnnotations(StreamAnnotation value)

The node specific stream annotations.

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

Parameter
NameDescription
valueStreamAnnotation
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

addAnnotations(StreamAnnotation.Builder builderForValue)

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

The node specific stream annotations.

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

Parameter
NameDescription
builderForValueStreamAnnotation.Builder
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

addAnnotations(int index, StreamAnnotation value)

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

The node specific stream annotations.

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

Parameters
NameDescription
indexint
valueStreamAnnotation
Returns
TypeDescription
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.events.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameters
NameDescription
indexint
builderForValueStreamAnnotation.Builder
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

addAnnotationsBuilder()

public StreamAnnotation.Builder addAnnotationsBuilder()

The node specific stream annotations.

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

Returns
TypeDescription
StreamAnnotation.Builder

addAnnotationsBuilder(int index)

public StreamAnnotation.Builder addAnnotationsBuilder(int index)

The node specific stream annotations.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamAnnotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamWithAnnotation.NodeAnnotation build()
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation

buildPartial()

public StreamWithAnnotation.NodeAnnotation buildPartial()
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation

clear()

public StreamWithAnnotation.NodeAnnotation.Builder clear()
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder
Overrides

clearAnnotations()

public StreamWithAnnotation.NodeAnnotation.Builder clearAnnotations()

The node specific stream annotations.

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

Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

clearField(Descriptors.FieldDescriptor field)

public StreamWithAnnotation.NodeAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder
Overrides

clearNode()

public StreamWithAnnotation.NodeAnnotation.Builder clearNode()

The node name of the application graph.

string node = 1;

Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public StreamWithAnnotation.NodeAnnotation.Builder clone()
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder
Overrides

getAnnotations(int index)

public StreamAnnotation getAnnotations(int index)

The node specific stream annotations.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamAnnotation

getAnnotationsBuilder(int index)

public StreamAnnotation.Builder getAnnotationsBuilder(int index)

The node specific stream annotations.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamAnnotation.Builder

getAnnotationsBuilderList()

public List<StreamAnnotation.Builder> getAnnotationsBuilderList()

The node specific stream annotations.

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

Returns
TypeDescription
List<Builder>

getAnnotationsCount()

public int getAnnotationsCount()

The node specific stream annotations.

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

Returns
TypeDescription
int

getAnnotationsList()

public List<StreamAnnotation> getAnnotationsList()

The node specific stream annotations.

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

Returns
TypeDescription
List<StreamAnnotation>

getAnnotationsOrBuilder(int index)

public StreamAnnotationOrBuilder getAnnotationsOrBuilder(int index)

The node specific stream annotations.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamAnnotationOrBuilder

getAnnotationsOrBuilderList()

public List<? extends StreamAnnotationOrBuilder> getAnnotationsOrBuilderList()

The node specific stream annotations.

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

Returns
TypeDescription
List<? extends com.google.events.cloud.visionai.v1.StreamAnnotationOrBuilder>

getDefaultInstanceForType()

public StreamWithAnnotation.NodeAnnotation getDefaultInstanceForType()
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNode()

public String getNode()

The node name of the application graph.

string node = 1;

Returns
TypeDescription
String

The node.

getNodeBytes()

public ByteString getNodeBytes()

The node name of the application graph.

string node = 1;

Returns
TypeDescription
ByteString

The bytes for node.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StreamWithAnnotation.NodeAnnotation other)

public StreamWithAnnotation.NodeAnnotation.Builder mergeFrom(StreamWithAnnotation.NodeAnnotation other)
Parameter
NameDescription
otherStreamWithAnnotation.NodeAnnotation
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamWithAnnotation.NodeAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder
Overrides

removeAnnotations(int index)

public StreamWithAnnotation.NodeAnnotation.Builder removeAnnotations(int index)

The node specific stream annotations.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

setAnnotations(int index, StreamAnnotation value)

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

The node specific stream annotations.

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

Parameters
NameDescription
indexint
valueStreamAnnotation
Returns
TypeDescription
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.events.cloud.visionai.v1.StreamAnnotation annotations = 2;

Parameters
NameDescription
indexint
builderForValueStreamAnnotation.Builder
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StreamWithAnnotation.NodeAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The node to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for node to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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