Class ApplicationNodeAnnotation (0.12.0)

public final class ApplicationNodeAnnotation extends GeneratedMessageV3 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 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 ApplicationNodeAnnotation getDefaultInstance()
Returns
Type Description
ApplicationNodeAnnotation

getDescriptor()

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

newBuilder()

public static ApplicationNodeAnnotation.Builder newBuilder()
Returns
Type Description
ApplicationNodeAnnotation.Builder

newBuilder(ApplicationNodeAnnotation prototype)

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

parseDelimitedFrom(InputStream input)

public static ApplicationNodeAnnotation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApplicationNodeAnnotation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ApplicationNodeAnnotation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ApplicationNodeAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ApplicationNodeAnnotation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ApplicationNodeAnnotation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ApplicationNodeAnnotation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApplicationNodeAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ApplicationNodeAnnotation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ApplicationNodeAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ApplicationNodeAnnotation> parser()
Returns
Type Description
Parser<ApplicationNodeAnnotation>

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 ApplicationNodeAnnotation getDefaultInstanceForType()
Returns
Type Description
ApplicationNodeAnnotation

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<ApplicationNodeAnnotation> getParserForType()
Returns
Type Description
Parser<ApplicationNodeAnnotation>
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 ApplicationNodeAnnotation.Builder newBuilderForType()
Returns
Type Description
ApplicationNodeAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ApplicationNodeAnnotation.Builder toBuilder()
Returns
Type Description
ApplicationNodeAnnotation.Builder

writeTo(CodedOutputStream output)

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