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
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StreamWithAnnotation.Builder newBuilder()
newBuilder(StreamWithAnnotation prototype)
public static StreamWithAnnotation.Builder newBuilder(StreamWithAnnotation prototype)
public static StreamWithAnnotation parseDelimitedFrom(InputStream input)
public static StreamWithAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StreamWithAnnotation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamWithAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StreamWithAnnotation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamWithAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamWithAnnotation parseFrom(CodedInputStream input)
public static StreamWithAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamWithAnnotation parseFrom(InputStream input)
public static StreamWithAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StreamWithAnnotation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamWithAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StreamWithAnnotation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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 |
Name |
Description |
index |
int
|
getApplicationAnnotationsCount()
public int getApplicationAnnotationsCount()
Annotations that will be applied to the whole application.
repeated .google.events.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.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
List<? extends com.google.events.cloud.visionai.v1.StreamAnnotationOrBuilder> |
|
getDefaultInstanceForType()
public StreamWithAnnotation getDefaultInstanceForType()
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 |
Name |
Description |
index |
int
|
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 |
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.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
List<? extends com.google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotationOrBuilder> |
|
getParserForType()
public Parser<StreamWithAnnotation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStream()
public String getStream()
Vision AI Stream resource name.
string stream = 1;
Returns |
Type |
Description |
String |
The stream.
|
getStreamBytes()
public ByteString getStreamBytes()
Vision AI Stream resource name.
string stream = 1;
Returns |
Type |
Description |
ByteString |
The bytes for stream.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StreamWithAnnotation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamWithAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public StreamWithAnnotation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides