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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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

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

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

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

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
Overrides

build()

public StreamWithAnnotation.NodeAnnotation build()

buildPartial()

public StreamWithAnnotation.NodeAnnotation buildPartial()

clear()

public StreamWithAnnotation.NodeAnnotation.Builder clear()
Overrides

clearAnnotations()

public StreamWithAnnotation.NodeAnnotation.Builder clearAnnotations()

The node specific stream annotations.

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

clearField(Descriptors.FieldDescriptor field)

public StreamWithAnnotation.NodeAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
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
Overrides

clone()

public StreamWithAnnotation.NodeAnnotation.Builder clone()
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()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamWithAnnotation.NodeAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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