public static final class ApplicationNodeAnnotation.Builder extends GeneratedMessage.Builder<ApplicationNodeAnnotation.Builder> implements ApplicationNodeAnnotationOrBuilderMessage describing annotations specific to application node. This message is a duplication of StreamWithAnnotation.NodeAnnotation.
Protobuf type google.cloud.visionai.v1.ApplicationNodeAnnotation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ApplicationNodeAnnotation.BuilderImplements
ApplicationNodeAnnotationOrBuilderStatic 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 |
|
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 |
|
clearAnnotations()
public ApplicationNodeAnnotation.Builder clearAnnotations()The node specific stream annotations.
repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
| Returns | |
|---|---|
| Type | Description |
ApplicationNodeAnnotation.Builder |
|
clearNode()
public ApplicationNodeAnnotation.Builder clearNode()The node name of the application graph.
string node = 1;
| Returns | |
|---|---|
| Type | Description |
ApplicationNodeAnnotation.Builder |
This builder for chaining. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ApplicationNodeAnnotation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ApplicationNodeAnnotation.Builder |
|
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 |
|
setNode(String value)
public ApplicationNodeAnnotation.Builder setNode(String value)The node name of the application graph.
string node = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for node to set. |
| Returns | |
|---|---|
| Type | Description |
ApplicationNodeAnnotation.Builder |
This builder for chaining. |