Class StreamWithAnnotation (0.14.1)

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.events.cloud.visionai.v1.StreamWithAnnotation

Static Fields

APPLICATION_ANNOTATIONS_FIELD_NUMBER

public static final int APPLICATION_ANNOTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_ANNOTATIONS_FIELD_NUMBER

public static final int NODE_ANNOTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

STREAM_FIELD_NUMBER

public static final int STREAM_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamWithAnnotation getDefaultInstance()
Returns
TypeDescription
StreamWithAnnotation

getDescriptor()

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

newBuilder()

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

newBuilder(StreamWithAnnotation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApplicationAnnotations(int index)

public StreamAnnotation getApplicationAnnotations(int index)

Annotations that will be applied to the whole application.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamAnnotation

getApplicationAnnotationsCount()

public int getApplicationAnnotationsCount()

Annotations that will be applied to the whole application.

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

Returns
TypeDescription
int

getApplicationAnnotationsList()

public List<StreamAnnotation> getApplicationAnnotationsList()

Annotations that will be applied to the whole application.

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

Returns
TypeDescription
List<StreamAnnotation>

getApplicationAnnotationsOrBuilder(int index)

public StreamAnnotationOrBuilder getApplicationAnnotationsOrBuilder(int index)

Annotations that will be applied to the whole application.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamAnnotationOrBuilder

getApplicationAnnotationsOrBuilderList()

public List<? extends StreamAnnotationOrBuilder> getApplicationAnnotationsOrBuilderList()

Annotations that will be applied to the whole application.

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

Returns
TypeDescription
List<? extends com.google.events.cloud.visionai.v1.StreamAnnotationOrBuilder>

getDefaultInstanceForType()

public StreamWithAnnotation getDefaultInstanceForType()
Returns
TypeDescription
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.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;

Returns
TypeDescription
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.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;

Returns
TypeDescription
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.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;

Returns
TypeDescription
List<? extends com.google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotationOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStream()

public String getStream()

Vision AI Stream resource name.

string stream = 1;

Returns
TypeDescription
String

The stream.

getStreamBytes()

public ByteString getStreamBytes()

Vision AI Stream resource name.

string stream = 1;

Returns
TypeDescription
ByteString

The bytes for stream.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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