Package com.viam.component.camera.v1
Class Camera.DistortionParameters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Camera.DistortionParameters,Camera.DistortionParameters.Builder>
com.viam.component.camera.v1.Camera.DistortionParameters.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Camera.DistortionParametersOrBuilder
,Cloneable
- Enclosing class:
- Camera.DistortionParameters
public static final class Camera.DistortionParameters.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Camera.DistortionParameters,Camera.DistortionParameters.Builder>
implements Camera.DistortionParametersOrBuilder
Protobuf type
viam.component.camera.v1.DistortionParameters
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllParameters
(Iterable<? extends Double> values) repeated double parameters = 2 [json_name = "parameters"];
addParameters
(double value) repeated double parameters = 2 [json_name = "parameters"];
string model = 1 [json_name = "model"];
repeated double parameters = 2 [json_name = "parameters"];
getModel()
string model = 1 [json_name = "model"];
com.google.protobuf.ByteString
string model = 1 [json_name = "model"];
double
getParameters
(int index) repeated double parameters = 2 [json_name = "parameters"];
int
repeated double parameters = 2 [json_name = "parameters"];
repeated double parameters = 2 [json_name = "parameters"];
string model = 1 [json_name = "model"];
setModelBytes
(com.google.protobuf.ByteString value) string model = 1 [json_name = "model"];
setParameters
(int index, double value) repeated double parameters = 2 [json_name = "parameters"];
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
-
getModel
string model = 1 [json_name = "model"];
- Specified by:
getModel
in interfaceCamera.DistortionParametersOrBuilder
- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()string model = 1 [json_name = "model"];
- Specified by:
getModelBytes
in interfaceCamera.DistortionParametersOrBuilder
- Returns:
- The bytes for model.
-
setModel
string model = 1 [json_name = "model"];
- Parameters:
value
- The model to set.- Returns:
- This builder for chaining.
-
clearModel
string model = 1 [json_name = "model"];
- Returns:
- This builder for chaining.
-
setModelBytes
string model = 1 [json_name = "model"];
- Parameters:
value
- The bytes for model to set.- Returns:
- This builder for chaining.
-
getParametersList
repeated double parameters = 2 [json_name = "parameters"];
- Specified by:
getParametersList
in interfaceCamera.DistortionParametersOrBuilder
- Returns:
- A list containing the parameters.
-
getParametersCount
public int getParametersCount()repeated double parameters = 2 [json_name = "parameters"];
- Specified by:
getParametersCount
in interfaceCamera.DistortionParametersOrBuilder
- Returns:
- The count of parameters.
-
getParameters
public double getParameters(int index) repeated double parameters = 2 [json_name = "parameters"];
- Specified by:
getParameters
in interfaceCamera.DistortionParametersOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The parameters at the given index.
-
setParameters
repeated double parameters = 2 [json_name = "parameters"];
- Parameters:
value
- The parameters to set.- Returns:
- This builder for chaining.
-
addParameters
repeated double parameters = 2 [json_name = "parameters"];
- Parameters:
value
- The parameters to add.- Returns:
- This builder for chaining.
-
addAllParameters
repeated double parameters = 2 [json_name = "parameters"];
- Parameters:
values
- The parameters to add.- Returns:
- This builder for chaining.
-
clearParameters
repeated double parameters = 2 [json_name = "parameters"];
- Returns:
- This builder for chaining.
-