Class Camera.Property.Builder

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

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

    • getWidthPx

      public int getWidthPx()
       Video resolution width in px
       
      int32 width_px = 1 [json_name = "widthPx"];
      Specified by:
      getWidthPx in interface Camera.PropertyOrBuilder
      Returns:
      The widthPx.
    • setWidthPx

      public Camera.Property.Builder setWidthPx(int value)
       Video resolution width in px
       
      int32 width_px = 1 [json_name = "widthPx"];
      Parameters:
      value - The widthPx to set.
      Returns:
      This builder for chaining.
    • clearWidthPx

      public Camera.Property.Builder clearWidthPx()
       Video resolution width in px
       
      int32 width_px = 1 [json_name = "widthPx"];
      Returns:
      This builder for chaining.
    • getHeightPx

      public int getHeightPx()
       Video resolution height in px
       
      int32 height_px = 2 [json_name = "heightPx"];
      Specified by:
      getHeightPx in interface Camera.PropertyOrBuilder
      Returns:
      The heightPx.
    • setHeightPx

      public Camera.Property.Builder setHeightPx(int value)
       Video resolution height in px
       
      int32 height_px = 2 [json_name = "heightPx"];
      Parameters:
      value - The heightPx to set.
      Returns:
      This builder for chaining.
    • clearHeightPx

      public Camera.Property.Builder clearHeightPx()
       Video resolution height in px
       
      int32 height_px = 2 [json_name = "heightPx"];
      Returns:
      This builder for chaining.
    • getFrameFormat

      public String getFrameFormat()
       Video frame format
       
      string frame_format = 3 [json_name = "frameFormat"];
      Specified by:
      getFrameFormat in interface Camera.PropertyOrBuilder
      Returns:
      The frameFormat.
    • getFrameFormatBytes

      public com.google.protobuf.ByteString getFrameFormatBytes()
       Video frame format
       
      string frame_format = 3 [json_name = "frameFormat"];
      Specified by:
      getFrameFormatBytes in interface Camera.PropertyOrBuilder
      Returns:
      The bytes for frameFormat.
    • setFrameFormat

      public Camera.Property.Builder setFrameFormat(String value)
       Video frame format
       
      string frame_format = 3 [json_name = "frameFormat"];
      Parameters:
      value - The frameFormat to set.
      Returns:
      This builder for chaining.
    • clearFrameFormat

      public Camera.Property.Builder clearFrameFormat()
       Video frame format
       
      string frame_format = 3 [json_name = "frameFormat"];
      Returns:
      This builder for chaining.
    • setFrameFormatBytes

      public Camera.Property.Builder setFrameFormatBytes(com.google.protobuf.ByteString value)
       Video frame format
       
      string frame_format = 3 [json_name = "frameFormat"];
      Parameters:
      value - The bytes for frameFormat to set.
      Returns:
      This builder for chaining.
    • getFrameRate

      public float getFrameRate()
       Video frame rate in fps
       
      float frame_rate = 4 [json_name = "frameRate"];
      Specified by:
      getFrameRate in interface Camera.PropertyOrBuilder
      Returns:
      The frameRate.
    • setFrameRate

      public Camera.Property.Builder setFrameRate(float value)
       Video frame rate in fps
       
      float frame_rate = 4 [json_name = "frameRate"];
      Parameters:
      value - The frameRate to set.
      Returns:
      This builder for chaining.
    • clearFrameRate

      public Camera.Property.Builder clearFrameRate()
       Video frame rate in fps
       
      float frame_rate = 4 [json_name = "frameRate"];
      Returns:
      This builder for chaining.