Interface Camera.ImageOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Camera.Image, Camera.Image.Builder
Enclosing class:
Camera

public static interface Camera.ImageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    annotations can be used to store additional information about the image
    com.google.protobuf.ByteString
    image in bytes
    The mime type of the image
    com.google.protobuf.ByteString
    The mime type of the image
    the name of the sensor where the image came from
    com.google.protobuf.ByteString
    the name of the sensor where the image came from
    boolean
    annotations can be used to store additional information about the image

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getSourceName

      String getSourceName()
       the name of the sensor where the image came from
       
      string source_name = 1 [json_name = "sourceName"];
      Returns:
      The sourceName.
    • getSourceNameBytes

      com.google.protobuf.ByteString getSourceNameBytes()
       the name of the sensor where the image came from
       
      string source_name = 1 [json_name = "sourceName"];
      Returns:
      The bytes for sourceName.
    • getImage

      com.google.protobuf.ByteString getImage()
       image in bytes
       
      bytes image = 3 [json_name = "image"];
      Returns:
      The image.
    • getMimeType

      String getMimeType()
       The mime type of the image
       
      string mime_type = 4 [json_name = "mimeType"];
      Returns:
      The mimeType.
    • getMimeTypeBytes

      com.google.protobuf.ByteString getMimeTypeBytes()
       The mime type of the image
       
      string mime_type = 4 [json_name = "mimeType"];
      Returns:
      The bytes for mimeType.
    • hasAnnotations

      boolean hasAnnotations()
       annotations can be used to store additional information about the image
       
      .viam.app.data.v1.Annotations annotations = 5 [json_name = "annotations"];
      Returns:
      Whether the annotations field is set.
    • getAnnotations

      Data.Annotations getAnnotations()
       annotations can be used to store additional information about the image
       
      .viam.app.data.v1.Annotations annotations = 5 [json_name = "annotations"];
      Returns:
      The annotations.