Class Camera.GetImageRequest.Builder

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

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

    • getName

      public String getName()
       Name of a camera
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Camera.GetImageRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of a camera
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Camera.GetImageRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Camera.GetImageRequest.Builder setName(String value)
       Name of a camera
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Camera.GetImageRequest.Builder clearName()
       Name of a camera
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Camera.GetImageRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of a camera
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getMimeType

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

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

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

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

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

      public boolean hasExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      hasExtra in interface Camera.GetImageRequestOrBuilder
      Returns:
      Whether the extra field is set.
    • getExtra

      public com.google.protobuf.Struct getExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      getExtra in interface Camera.GetImageRequestOrBuilder
      Returns:
      The extra.
    • setExtra

      public Camera.GetImageRequest.Builder setExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • setExtra

      public Camera.GetImageRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • mergeExtra

      public Camera.GetImageRequest.Builder mergeExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • clearExtra

      public Camera.GetImageRequest.Builder clearExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];