Class ApplicationNodeAnnotation.Builder (0.3.0)

public static final class ApplicationNodeAnnotation.Builder extends GeneratedMessageV3.Builder<ApplicationNodeAnnotation.Builder> implements ApplicationNodeAnnotationOrBuilder

Message describing annotations specific to application node. This message is a duplication of StreamWithAnnotation.NodeAnnotation.

Protobuf type google.cloud.visionai.v1.ApplicationNodeAnnotation

Static Methods

getDescriptor()

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

Methods

addAllAnnotations(Iterable<? extends StreamAnnotation> values)

public ApplicationNodeAnnotation.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
ApplicationNodeAnnotation.Builder

addAnnotations(StreamAnnotation value)

public ApplicationNodeAnnotation.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
ApplicationNodeAnnotation.Builder

addAnnotations(StreamAnnotation.Builder builderForValue)

public ApplicationNodeAnnotation.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
ApplicationNodeAnnotation.Builder

addAnnotations(int index, StreamAnnotation value)

public ApplicationNodeAnnotation.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
ApplicationNodeAnnotation.Builder

addAnnotations(int index, StreamAnnotation.Builder builderForValue)

public ApplicationNodeAnnotation.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
ApplicationNodeAnnotation.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 ApplicationNodeAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ApplicationNodeAnnotation.Builder
Overrides

build()

public ApplicationNodeAnnotation build()
Returns
Type Description
ApplicationNodeAnnotation

buildPartial()

public ApplicationNodeAnnotation buildPartial()
Returns
Type Description
ApplicationNodeAnnotation

clear()

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

clearAnnotations()

public ApplicationNodeAnnotation.Builder clearAnnotations()

The node specific stream annotations.

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

Returns
Type Description
ApplicationNodeAnnotation.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNode()

public ApplicationNodeAnnotation.Builder clearNode()

The node name of the application graph.

string node = 1;

Returns
Type Description
ApplicationNodeAnnotation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ApplicationNodeAnnotation.Builder clone()
Returns
Type Description
ApplicationNodeAnnotation.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 ApplicationNodeAnnotation getDefaultInstanceForType()
Returns
Type Description
ApplicationNodeAnnotation

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(ApplicationNodeAnnotation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAnnotations(int index)

public ApplicationNodeAnnotation.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
ApplicationNodeAnnotation.Builder

setAnnotations(int index, StreamAnnotation value)

public ApplicationNodeAnnotation.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
ApplicationNodeAnnotation.Builder

setAnnotations(int index, StreamAnnotation.Builder builderForValue)

public ApplicationNodeAnnotation.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
ApplicationNodeAnnotation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNode(String value)

public ApplicationNodeAnnotation.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
ApplicationNodeAnnotation.Builder

This builder for chaining.

setNodeBytes(ByteString value)

public ApplicationNodeAnnotation.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
ApplicationNodeAnnotation.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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