Class StreamWithAnnotation.NodeAnnotation (0.14.1)

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

Message describing annotations specific to application node.

Protobuf type google.events.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
TypeDescription
int

NODE_FIELD_NUMBER

public static final int NODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamWithAnnotation.NodeAnnotation getDefaultInstance()
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation

getDescriptor()

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

newBuilder()

public static StreamWithAnnotation.NodeAnnotation.Builder newBuilder()
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

newBuilder(StreamWithAnnotation.NodeAnnotation prototype)

public static StreamWithAnnotation.NodeAnnotation.Builder newBuilder(StreamWithAnnotation.NodeAnnotation prototype)
Parameter
NameDescription
prototypeStreamWithAnnotation.NodeAnnotation
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

parseDelimitedFrom(InputStream input)

public static StreamWithAnnotation.NodeAnnotation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StreamWithAnnotation.NodeAnnotation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamWithAnnotation.NodeAnnotation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamWithAnnotation.NodeAnnotation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StreamWithAnnotation.NodeAnnotation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StreamWithAnnotation.NodeAnnotation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamWithAnnotation.NodeAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StreamWithAnnotation.NodeAnnotation.Builder newBuilderForType()
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamWithAnnotation.NodeAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StreamWithAnnotation.NodeAnnotation.Builder toBuilder()
Returns
TypeDescription
StreamWithAnnotation.NodeAnnotation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException