Package com.viam.component.camera.v1
Class Camera.IntrinsicParameters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Camera.IntrinsicParameters,Camera.IntrinsicParameters.Builder>
com.viam.component.camera.v1.Camera.IntrinsicParameters.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Camera.IntrinsicParametersOrBuilder
,Cloneable
- Enclosing class:
- Camera.IntrinsicParameters
public static final class Camera.IntrinsicParameters.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Camera.IntrinsicParameters,Camera.IntrinsicParameters.Builder>
implements Camera.IntrinsicParametersOrBuilder
Protobuf type
viam.component.camera.v1.IntrinsicParameters
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptiondouble center_x_px = 5 [json_name = "centerXPx"];
double center_y_px = 6 [json_name = "centerYPx"];
double focal_x_px = 3 [json_name = "focalXPx"];
double focal_y_px = 4 [json_name = "focalYPx"];
uint32 height_px = 2 [json_name = "heightPx"];
uint32 width_px = 1 [json_name = "widthPx"];
double
double center_x_px = 5 [json_name = "centerXPx"];
double
double center_y_px = 6 [json_name = "centerYPx"];
double
double focal_x_px = 3 [json_name = "focalXPx"];
double
double focal_y_px = 4 [json_name = "focalYPx"];
int
uint32 height_px = 2 [json_name = "heightPx"];
int
uint32 width_px = 1 [json_name = "widthPx"];
setCenterXPx
(double value) double center_x_px = 5 [json_name = "centerXPx"];
setCenterYPx
(double value) double center_y_px = 6 [json_name = "centerYPx"];
setFocalXPx
(double value) double focal_x_px = 3 [json_name = "focalXPx"];
setFocalYPx
(double value) double focal_y_px = 4 [json_name = "focalYPx"];
setHeightPx
(int value) uint32 height_px = 2 [json_name = "heightPx"];
setWidthPx
(int value) uint32 width_px = 1 [json_name = "widthPx"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getWidthPx
public int getWidthPx()uint32 width_px = 1 [json_name = "widthPx"];
- Specified by:
getWidthPx
in interfaceCamera.IntrinsicParametersOrBuilder
- Returns:
- The widthPx.
-
setWidthPx
uint32 width_px = 1 [json_name = "widthPx"];
- Parameters:
value
- The widthPx to set.- Returns:
- This builder for chaining.
-
clearWidthPx
uint32 width_px = 1 [json_name = "widthPx"];
- Returns:
- This builder for chaining.
-
getHeightPx
public int getHeightPx()uint32 height_px = 2 [json_name = "heightPx"];
- Specified by:
getHeightPx
in interfaceCamera.IntrinsicParametersOrBuilder
- Returns:
- The heightPx.
-
setHeightPx
uint32 height_px = 2 [json_name = "heightPx"];
- Parameters:
value
- The heightPx to set.- Returns:
- This builder for chaining.
-
clearHeightPx
uint32 height_px = 2 [json_name = "heightPx"];
- Returns:
- This builder for chaining.
-
getFocalXPx
public double getFocalXPx()double focal_x_px = 3 [json_name = "focalXPx"];
- Specified by:
getFocalXPx
in interfaceCamera.IntrinsicParametersOrBuilder
- Returns:
- The focalXPx.
-
setFocalXPx
double focal_x_px = 3 [json_name = "focalXPx"];
- Parameters:
value
- The focalXPx to set.- Returns:
- This builder for chaining.
-
clearFocalXPx
double focal_x_px = 3 [json_name = "focalXPx"];
- Returns:
- This builder for chaining.
-
getFocalYPx
public double getFocalYPx()double focal_y_px = 4 [json_name = "focalYPx"];
- Specified by:
getFocalYPx
in interfaceCamera.IntrinsicParametersOrBuilder
- Returns:
- The focalYPx.
-
setFocalYPx
double focal_y_px = 4 [json_name = "focalYPx"];
- Parameters:
value
- The focalYPx to set.- Returns:
- This builder for chaining.
-
clearFocalYPx
double focal_y_px = 4 [json_name = "focalYPx"];
- Returns:
- This builder for chaining.
-
getCenterXPx
public double getCenterXPx()double center_x_px = 5 [json_name = "centerXPx"];
- Specified by:
getCenterXPx
in interfaceCamera.IntrinsicParametersOrBuilder
- Returns:
- The centerXPx.
-
setCenterXPx
double center_x_px = 5 [json_name = "centerXPx"];
- Parameters:
value
- The centerXPx to set.- Returns:
- This builder for chaining.
-
clearCenterXPx
double center_x_px = 5 [json_name = "centerXPx"];
- Returns:
- This builder for chaining.
-
getCenterYPx
public double getCenterYPx()double center_y_px = 6 [json_name = "centerYPx"];
- Specified by:
getCenterYPx
in interfaceCamera.IntrinsicParametersOrBuilder
- Returns:
- The centerYPx.
-
setCenterYPx
double center_y_px = 6 [json_name = "centerYPx"];
- Parameters:
value
- The centerYPx to set.- Returns:
- This builder for chaining.
-
clearCenterYPx
double center_y_px = 6 [json_name = "centerYPx"];
- Returns:
- This builder for chaining.
-