Class Camera.Webcam.Builder

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

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

    • getLabel

      public String getLabel()
       Camera driver label (for internal use only)
       
      string label = 1 [json_name = "label"];
      Specified by:
      getLabel in interface Camera.WebcamOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
       Camera driver label (for internal use only)
       
      string label = 1 [json_name = "label"];
      Specified by:
      getLabelBytes in interface Camera.WebcamOrBuilder
      Returns:
      The bytes for label.
    • setLabel

      public Camera.Webcam.Builder setLabel(String value)
       Camera driver label (for internal use only)
       
      string label = 1 [json_name = "label"];
      Parameters:
      value - The label to set.
      Returns:
      This builder for chaining.
    • clearLabel

      public Camera.Webcam.Builder clearLabel()
       Camera driver label (for internal use only)
       
      string label = 1 [json_name = "label"];
      Returns:
      This builder for chaining.
    • setLabelBytes

      public Camera.Webcam.Builder setLabelBytes(com.google.protobuf.ByteString value)
       Camera driver label (for internal use only)
       
      string label = 1 [json_name = "label"];
      Parameters:
      value - The bytes for label to set.
      Returns:
      This builder for chaining.
    • getStatus

      public String getStatus()
       Camera driver status
       
      string status = 2 [json_name = "status"];
      Specified by:
      getStatus in interface Camera.WebcamOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       Camera driver status
       
      string status = 2 [json_name = "status"];
      Specified by:
      getStatusBytes in interface Camera.WebcamOrBuilder
      Returns:
      The bytes for status.
    • setStatus

      public Camera.Webcam.Builder setStatus(String value)
       Camera driver status
       
      string status = 2 [json_name = "status"];
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public Camera.Webcam.Builder clearStatus()
       Camera driver status
       
      string status = 2 [json_name = "status"];
      Returns:
      This builder for chaining.
    • setStatusBytes

      public Camera.Webcam.Builder setStatusBytes(com.google.protobuf.ByteString value)
       Camera driver status
       
      string status = 2 [json_name = "status"];
      Parameters:
      value - The bytes for status to set.
      Returns:
      This builder for chaining.
    • getPropertiesList

      public List<Camera.Property> getPropertiesList()
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
      Specified by:
      getPropertiesList in interface Camera.WebcamOrBuilder
    • getPropertiesCount

      public int getPropertiesCount()
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
      Specified by:
      getPropertiesCount in interface Camera.WebcamOrBuilder
    • getProperties

      public Camera.Property getProperties(int index)
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
      Specified by:
      getProperties in interface Camera.WebcamOrBuilder
    • setProperties

      public Camera.Webcam.Builder setProperties(int index, Camera.Property value)
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
    • setProperties

      public Camera.Webcam.Builder setProperties(int index, Camera.Property.Builder builderForValue)
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
    • addProperties

      public Camera.Webcam.Builder addProperties(Camera.Property value)
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
    • addProperties

      public Camera.Webcam.Builder addProperties(int index, Camera.Property value)
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
    • addProperties

      public Camera.Webcam.Builder addProperties(Camera.Property.Builder builderForValue)
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
    • addProperties

      public Camera.Webcam.Builder addProperties(int index, Camera.Property.Builder builderForValue)
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
    • addAllProperties

      public Camera.Webcam.Builder addAllProperties(Iterable<? extends Camera.Property> values)
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
    • clearProperties

      public Camera.Webcam.Builder clearProperties()
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
    • removeProperties

      public Camera.Webcam.Builder removeProperties(int index)
       Camera properties
       
      repeated .viam.component.camera.v1.Property properties = 3 [json_name = "properties"];
    • getName

      public String getName()
       Camera human-readable driver name
       
      string name = 4 [json_name = "name"];
      Specified by:
      getName in interface Camera.WebcamOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Camera human-readable driver name
       
      string name = 4 [json_name = "name"];
      Specified by:
      getNameBytes in interface Camera.WebcamOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Camera.Webcam.Builder setName(String value)
       Camera human-readable driver name
       
      string name = 4 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Camera.Webcam.Builder clearName()
       Camera human-readable driver name
       
      string name = 4 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Camera.Webcam.Builder setNameBytes(com.google.protobuf.ByteString value)
       Camera human-readable driver name
       
      string name = 4 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getId

      public String getId()
       Camera unique identifier
       
      string id = 5 [json_name = "id"];
      Specified by:
      getId in interface Camera.WebcamOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Camera unique identifier
       
      string id = 5 [json_name = "id"];
      Specified by:
      getIdBytes in interface Camera.WebcamOrBuilder
      Returns:
      The bytes for id.
    • setId

      public Camera.Webcam.Builder setId(String value)
       Camera unique identifier
       
      string id = 5 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Camera.Webcam.Builder clearId()
       Camera unique identifier
       
      string id = 5 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public Camera.Webcam.Builder setIdBytes(com.google.protobuf.ByteString value)
       Camera unique identifier
       
      string id = 5 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.