Class Camera.GetImageResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Camera.GetImageResponse,Camera.GetImageResponse.Builder>
com.viam.component.camera.v1.Camera.GetImageResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Camera.GetImageResponseOrBuilder, Cloneable
Enclosing class:
Camera.GetImageResponse

public static final class Camera.GetImageResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Camera.GetImageResponse,Camera.GetImageResponse.Builder> implements Camera.GetImageResponseOrBuilder
Protobuf type viam.component.camera.v1.GetImageResponse
  • Method Details

    • getMimeType

      public String getMimeType()
       Actual MIME type of response
       
      string mime_type = 1 [json_name = "mimeType"];
      Specified by:
      getMimeType in interface Camera.GetImageResponseOrBuilder
      Returns:
      The mimeType.
    • getMimeTypeBytes

      public com.google.protobuf.ByteString getMimeTypeBytes()
       Actual MIME type of response
       
      string mime_type = 1 [json_name = "mimeType"];
      Specified by:
      getMimeTypeBytes in interface Camera.GetImageResponseOrBuilder
      Returns:
      The bytes for mimeType.
    • setMimeType

      public Camera.GetImageResponse.Builder setMimeType(String value)
       Actual MIME type of response
       
      string mime_type = 1 [json_name = "mimeType"];
      Parameters:
      value - The mimeType to set.
      Returns:
      This builder for chaining.
    • clearMimeType

      public Camera.GetImageResponse.Builder clearMimeType()
       Actual MIME type of response
       
      string mime_type = 1 [json_name = "mimeType"];
      Returns:
      This builder for chaining.
    • setMimeTypeBytes

      public Camera.GetImageResponse.Builder setMimeTypeBytes(com.google.protobuf.ByteString value)
       Actual MIME type of response
       
      string mime_type = 1 [json_name = "mimeType"];
      Parameters:
      value - The bytes for mimeType to set.
      Returns:
      This builder for chaining.
    • getImage

      public com.google.protobuf.ByteString getImage()
       Frame in bytes
       
      bytes image = 2 [json_name = "image"];
      Specified by:
      getImage in interface Camera.GetImageResponseOrBuilder
      Returns:
      The image.
    • setImage

      public Camera.GetImageResponse.Builder setImage(com.google.protobuf.ByteString value)
       Frame in bytes
       
      bytes image = 2 [json_name = "image"];
      Parameters:
      value - The image to set.
      Returns:
      This builder for chaining.
    • clearImage

      public Camera.GetImageResponse.Builder clearImage()
       Frame in bytes
       
      bytes image = 2 [json_name = "image"];
      Returns:
      This builder for chaining.