Class StreamWithAnnotation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.StreamWithAnnotation
All Implemented Interfaces:
StreamWithAnnotationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class StreamWithAnnotation extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • STREAM_FIELD_NUMBER

      public static final int STREAM_FIELD_NUMBER
      See Also:
    • APPLICATION_ANNOTATIONS_FIELD_NUMBER

      public static final int APPLICATION_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • NODE_ANNOTATIONS_FIELD_NUMBER

      public static final int NODE_ANNOTATIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getStream

      public String getStream()
       Vision AI Stream resource name.
       
      string stream = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getStream in interface StreamWithAnnotationOrBuilder
      Returns:
      The stream.
    • getStreamBytes

      public com.google.protobuf.ByteString getStreamBytes()
       Vision AI Stream resource name.
       
      string stream = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getStreamBytes in interface StreamWithAnnotationOrBuilder
      Returns:
      The bytes for stream.
    • getApplicationAnnotationsList

      public List<StreamAnnotation> getApplicationAnnotationsList()
       Annotations that will be applied to the whole application.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
      Specified by:
      getApplicationAnnotationsList in interface StreamWithAnnotationOrBuilder
    • getApplicationAnnotationsOrBuilderList

      public List<? extends StreamAnnotationOrBuilder> getApplicationAnnotationsOrBuilderList()
       Annotations that will be applied to the whole application.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
      Specified by:
      getApplicationAnnotationsOrBuilderList in interface StreamWithAnnotationOrBuilder
    • getApplicationAnnotationsCount

      public int getApplicationAnnotationsCount()
       Annotations that will be applied to the whole application.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
      Specified by:
      getApplicationAnnotationsCount in interface StreamWithAnnotationOrBuilder
    • getApplicationAnnotations

      public StreamAnnotation getApplicationAnnotations(int index)
       Annotations that will be applied to the whole application.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
      Specified by:
      getApplicationAnnotations in interface StreamWithAnnotationOrBuilder
    • getApplicationAnnotationsOrBuilder

      public StreamAnnotationOrBuilder getApplicationAnnotationsOrBuilder(int index)
       Annotations that will be applied to the whole application.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
      Specified by:
      getApplicationAnnotationsOrBuilder in interface StreamWithAnnotationOrBuilder
    • 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;
      Specified by:
      getNodeAnnotationsList in interface StreamWithAnnotationOrBuilder
    • 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;
      Specified by:
      getNodeAnnotationsOrBuilderList in interface StreamWithAnnotationOrBuilder
    • 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;
      Specified by:
      getNodeAnnotationsCount in interface StreamWithAnnotationOrBuilder
    • getNodeAnnotations

      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;
      Specified by:
      getNodeAnnotations in interface StreamWithAnnotationOrBuilder
    • getNodeAnnotationsOrBuilder

      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;
      Specified by:
      getNodeAnnotationsOrBuilder in interface StreamWithAnnotationOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static StreamWithAnnotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamWithAnnotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamWithAnnotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamWithAnnotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamWithAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamWithAnnotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamWithAnnotation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StreamWithAnnotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StreamWithAnnotation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StreamWithAnnotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StreamWithAnnotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StreamWithAnnotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public StreamWithAnnotation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StreamWithAnnotation.Builder newBuilder()
    • newBuilder

      public static StreamWithAnnotation.Builder newBuilder(StreamWithAnnotation prototype)
    • toBuilder

      public StreamWithAnnotation.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StreamWithAnnotation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StreamWithAnnotation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StreamWithAnnotation> parser()
    • getParserForType

      public com.google.protobuf.Parser<StreamWithAnnotation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public StreamWithAnnotation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder