Class StreamWithAnnotation (0.11.0)

publicfinalclass StreamWithAnnotationextendsGeneratedMessageV3implementsStreamWithAnnotationOrBuilder

Message describing Vision AI stream with application specific annotations. All the StreamAnnotation object inside this message MUST have unique id.

Protobuf type google.cloud.visionai.v1.StreamWithAnnotation

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

APPLICATION_ANNOTATIONS_FIELD_NUMBER

publicstaticfinalintAPPLICATION_ANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int

NODE_ANNOTATIONS_FIELD_NUMBER

publicstaticfinalintNODE_ANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int

STREAM_FIELD_NUMBER

publicstaticfinalintSTREAM_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticStreamWithAnnotationgetDefaultInstance()
Returns
Type Description
StreamWithAnnotation

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticStreamWithAnnotation.BuildernewBuilder()
Returns
Type Description
StreamWithAnnotation.Builder

newBuilder(StreamWithAnnotation prototype)

publicstaticStreamWithAnnotation.BuildernewBuilder(StreamWithAnnotationprototype)
Parameter
Name Description
prototype StreamWithAnnotation
Returns
Type Description
StreamWithAnnotation.Builder

parseDelimitedFrom(InputStream input)

publicstaticStreamWithAnnotationparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStreamWithAnnotationparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticStreamWithAnnotationparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticStreamWithAnnotationparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticStreamWithAnnotationparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticStreamWithAnnotationparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticStreamWithAnnotationparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStreamWithAnnotationparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticStreamWithAnnotationparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStreamWithAnnotationparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticStreamWithAnnotationparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticStreamWithAnnotationparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamWithAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<StreamWithAnnotation>parser()
Returns
Type Description
Parser<StreamWithAnnotation>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApplicationAnnotations(int index)

publicStreamAnnotationgetApplicationAnnotations(intindex)

Annotations that will be applied to the whole application.

repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
StreamAnnotation

getApplicationAnnotationsCount()

publicintgetApplicationAnnotationsCount()

Annotations that will be applied to the whole application.

repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;

Returns
Type Description
int

getApplicationAnnotationsList()

publicList<StreamAnnotation>getApplicationAnnotationsList()

Annotations that will be applied to the whole application.

repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;

Returns
Type Description
List<StreamAnnotation>

getApplicationAnnotationsOrBuilder(int index)

publicStreamAnnotationOrBuildergetApplicationAnnotationsOrBuilder(intindex)

Annotations that will be applied to the whole application.

repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
StreamAnnotationOrBuilder

getApplicationAnnotationsOrBuilderList()

publicList<?extendsStreamAnnotationOrBuilder>getApplicationAnnotationsOrBuilderList()

Annotations that will be applied to the whole application.

repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.StreamAnnotationOrBuilder>

getDefaultInstanceForType()

publicStreamWithAnnotationgetDefaultInstanceForType()
Returns
Type Description
StreamWithAnnotation

getNodeAnnotations(int index)

publicStreamWithAnnotation.NodeAnnotationgetNodeAnnotations(intindex)

Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

repeated .google.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;

Parameter
Name Description
index int
Returns
Type Description
StreamWithAnnotation.NodeAnnotation

getNodeAnnotationsCount()

publicintgetNodeAnnotationsCount()

Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

repeated .google.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;

Returns
Type Description
int

getNodeAnnotationsList()

publicList<StreamWithAnnotation.NodeAnnotation>getNodeAnnotationsList()

Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

repeated .google.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;

Returns
Type Description
List<NodeAnnotation>

getNodeAnnotationsOrBuilder(int index)

publicStreamWithAnnotation.NodeAnnotationOrBuildergetNodeAnnotationsOrBuilder(intindex)

Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

repeated .google.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;

Parameter
Name Description
index int
Returns
Type Description
StreamWithAnnotation.NodeAnnotationOrBuilder

getNodeAnnotationsOrBuilderList()

publicList<?extendsStreamWithAnnotation.NodeAnnotationOrBuilder>getNodeAnnotationsOrBuilderList()

Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

repeated .google.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotationOrBuilder>

getParserForType()

publicParser<StreamWithAnnotation>getParserForType()
Returns
Type Description
Parser<StreamWithAnnotation>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getStream()

publicStringgetStream()

Vision AI Stream resource name.

string stream = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The stream.

getStreamBytes()

publicByteStringgetStreamBytes()

Vision AI Stream resource name.

string stream = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for stream.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicStreamWithAnnotation.BuildernewBuilderForType()
Returns
Type Description
StreamWithAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedStreamWithAnnotation.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StreamWithAnnotation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicStreamWithAnnotation.BuildertoBuilder()
Returns
Type Description
StreamWithAnnotation.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.