Class StreamWithAnnotation (0.1.0)

public final class StreamWithAnnotation extends GeneratedMessageV3 implements StreamWithAnnotationOrBuilder

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

Static Fields

APPLICATION_ANNOTATIONS_FIELD_NUMBER

public static final int APPLICATION_ANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int

NODE_ANNOTATIONS_FIELD_NUMBER

public static final int NODE_ANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int

STREAM_FIELD_NUMBER

public static final int STREAM_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StreamWithAnnotation getDefaultInstance()
Returns
Type Description
StreamWithAnnotation

getDescriptor()

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

newBuilder()

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

newBuilder(StreamWithAnnotation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApplicationAnnotations(int index)

public StreamAnnotation getApplicationAnnotations(int index)

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()

public int getApplicationAnnotationsCount()

Annotations that will be applied to the whole application.

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

Returns
Type Description
int

getApplicationAnnotationsList()

public List<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)

public StreamAnnotationOrBuilder getApplicationAnnotationsOrBuilder(int index)

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()

public List<? extends StreamAnnotationOrBuilder> 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()

public StreamWithAnnotation getDefaultInstanceForType()
Returns
Type Description
StreamWithAnnotation

getNodeAnnotations(int index)

public StreamWithAnnotation.NodeAnnotation getNodeAnnotations(int index)

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()

public int getNodeAnnotationsCount()

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()

public List<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)

public StreamWithAnnotation.NodeAnnotationOrBuilder getNodeAnnotationsOrBuilder(int index)

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()

public List<? extends StreamWithAnnotation.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()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStream()

public String getStream()

Vision AI Stream resource name.

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

Returns
Type Description
String

The stream.

getStreamBytes()

public ByteString getStreamBytes()

Vision AI Stream resource name.

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

Returns
Type Description
ByteString

The bytes for stream.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamWithAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StreamWithAnnotation.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.Builder toBuilder()
Returns
Type Description
StreamWithAnnotation.Builder

writeTo(CodedOutputStream output)

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