Class StreamWithAnnotation.NodeAnnotation (0.8.0)

public static final class StreamWithAnnotation.NodeAnnotation extends GeneratedMessageV3 implements StreamWithAnnotation.NodeAnnotationOrBuilder

Message describing annotations specific to application node.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamWithAnnotation.NodeAnnotation

Static Fields

ANNOTATIONS_FIELD_NUMBER

public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int

NODE_FIELD_NUMBER

public static final int NODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StreamWithAnnotation.NodeAnnotation getDefaultInstance()
Returns
Type Description
StreamWithAnnotation.NodeAnnotation

getDescriptor()

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

newBuilder()

public static StreamWithAnnotation.NodeAnnotation.Builder newBuilder()
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

newBuilder(StreamWithAnnotation.NodeAnnotation prototype)

public static StreamWithAnnotation.NodeAnnotation.Builder newBuilder(StreamWithAnnotation.NodeAnnotation prototype)
Parameter
Name Description
prototype StreamWithAnnotation.NodeAnnotation
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

parseDelimitedFrom(InputStream input)

public static StreamWithAnnotation.NodeAnnotation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StreamWithAnnotation.NodeAnnotation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamWithAnnotation.NodeAnnotation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamWithAnnotation.NodeAnnotation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StreamWithAnnotation.NodeAnnotation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StreamWithAnnotation.NodeAnnotation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation.NodeAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StreamWithAnnotation.NodeAnnotation> parser()
Returns
Type Description
Parser<NodeAnnotation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

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.

getParserForType()

public Parser<StreamWithAnnotation.NodeAnnotation> getParserForType()
Returns
Type Description
Parser<NodeAnnotation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StreamWithAnnotation.NodeAnnotation.Builder newBuilderForType()
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamWithAnnotation.NodeAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StreamWithAnnotation.NodeAnnotation.Builder toBuilder()
Returns
Type Description
StreamWithAnnotation.NodeAnnotation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException