Package com.viam.component.gripper.v1
Class Gripper.GoToInputsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Gripper.GoToInputsRequest,Gripper.GoToInputsRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Gripper.GoToInputsRequest,Gripper.GoToInputsRequest.Builder>
com.viam.component.gripper.v1.Gripper.GoToInputsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Gripper.GoToInputsRequestOrBuilder,Cloneable
- Enclosing class:
Gripper.GoToInputsRequest
public static final class Gripper.GoToInputsRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Gripper.GoToInputsRequest,Gripper.GoToInputsRequest.Builder>
implements Gripper.GoToInputsRequestOrBuilder
Protobuf type
viam.component.gripper.v1.GoToInputsRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllValues(Iterable<? extends Double> values) The input values to move the gripper toaddValues(double value) The input values to move the gripper toAdditional arguments to the methodName of a gripperThe input values to move the gripper tocom.google.protobuf.StructgetExtra()Additional arguments to the methodgetName()Name of a grippercom.google.protobuf.ByteStringName of a gripperdoublegetValues(int index) The input values to move the gripper tointThe input values to move the gripper toThe input values to move the gripper tobooleanhasExtra()Additional arguments to the methodmergeExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodName of a grippersetNameBytes(com.google.protobuf.ByteString value) Name of a grippersetValues(int index, double value) The input values to move the gripper toMethods 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
-
getName
Name of a gripper
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceGripper.GoToInputsRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of a gripper
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceGripper.GoToInputsRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Name of a gripper
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of a gripper
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
Name of a gripper
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getValuesList
The input values to move the gripper to
repeated double values = 2 [json_name = "values"];- Specified by:
getValuesListin interfaceGripper.GoToInputsRequestOrBuilder- Returns:
- A list containing the values.
-
getValuesCount
public int getValuesCount()The input values to move the gripper to
repeated double values = 2 [json_name = "values"];- Specified by:
getValuesCountin interfaceGripper.GoToInputsRequestOrBuilder- Returns:
- The count of values.
-
getValues
public double getValues(int index) The input values to move the gripper to
repeated double values = 2 [json_name = "values"];- Specified by:
getValuesin interfaceGripper.GoToInputsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
setValues
The input values to move the gripper to
repeated double values = 2 [json_name = "values"];- Parameters:
value- The values to set.- Returns:
- This builder for chaining.
-
addValues
The input values to move the gripper to
repeated double values = 2 [json_name = "values"];- Parameters:
value- The values to add.- Returns:
- This builder for chaining.
-
addAllValues
The input values to move the gripper to
repeated double values = 2 [json_name = "values"];- Parameters:
values- The values to add.- Returns:
- This builder for chaining.
-
clearValues
The input values to move the gripper to
repeated double values = 2 [json_name = "values"];- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceGripper.GoToInputsRequestOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
getExtrain interfaceGripper.GoToInputsRequestOrBuilder- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Gripper.GoToInputsRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
mergeExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
clearExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-