Package com.viam.component.camera.v1
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionVideo frame formatVideo frame rate in fpsVideo resolution height in pxVideo resolution width in pxVideo frame formatcom.google.protobuf.ByteStringVideo frame formatfloatVideo frame rate in fpsintVideo resolution height in pxintVideo resolution width in pxsetFrameFormat(String value) Video frame formatsetFrameFormatBytes(com.google.protobuf.ByteString value) Video frame formatsetFrameRate(float value) Video frame rate in fpssetHeightPx(int value) Video resolution height in pxsetWidthPx(int value) Video resolution width in pxMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getWidthPx
public int getWidthPx()Video resolution width in px
int32 width_px = 1 [json_name = "widthPx"];- Specified by:
getWidthPxin interfaceCamera.PropertyOrBuilder- Returns:
- The widthPx.
-
setWidthPx
Video resolution width in px
int32 width_px = 1 [json_name = "widthPx"];- Parameters:
value- The widthPx to set.- Returns:
- This builder for chaining.
-
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:
getHeightPxin interfaceCamera.PropertyOrBuilder- Returns:
- The heightPx.
-
setHeightPx
Video resolution height in px
int32 height_px = 2 [json_name = "heightPx"];- Parameters:
value- The heightPx to set.- Returns:
- This builder for chaining.
-
clearHeightPx
Video resolution height in px
int32 height_px = 2 [json_name = "heightPx"];- Returns:
- This builder for chaining.
-
getFrameFormat
Video frame format
string frame_format = 3 [json_name = "frameFormat"];- Specified by:
getFrameFormatin interfaceCamera.PropertyOrBuilder- Returns:
- The frameFormat.
-
getFrameFormatBytes
public com.google.protobuf.ByteString getFrameFormatBytes()Video frame format
string frame_format = 3 [json_name = "frameFormat"];- Specified by:
getFrameFormatBytesin interfaceCamera.PropertyOrBuilder- Returns:
- The bytes for frameFormat.
-
setFrameFormat
Video frame format
string frame_format = 3 [json_name = "frameFormat"];- Parameters:
value- The frameFormat to set.- Returns:
- This builder for chaining.
-
clearFrameFormat
Video frame format
string frame_format = 3 [json_name = "frameFormat"];- Returns:
- This builder for chaining.
-
setFrameFormatBytes
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:
getFrameRatein interfaceCamera.PropertyOrBuilder- Returns:
- The frameRate.
-
setFrameRate
Video frame rate in fps
float frame_rate = 4 [json_name = "frameRate"];- Parameters:
value- The frameRate to set.- Returns:
- This builder for chaining.
-
clearFrameRate
Video frame rate in fps
float frame_rate = 4 [json_name = "frameRate"];- Returns:
- This builder for chaining.
-