Package com.viam.component.gripper.v1
Class Gripper.GrabResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Gripper.GrabResponse,Gripper.GrabResponse.Builder>
com.viam.component.gripper.v1.Gripper.GrabResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Gripper.GrabResponseOrBuilder
,Cloneable
- Enclosing class:
- Gripper.GrabResponse
public static final class Gripper.GrabResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Gripper.GrabResponse,Gripper.GrabResponse.Builder>
implements Gripper.GrabResponseOrBuilder
Protobuf type
viam.component.gripper.v1.GrabResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Struct extra = 99 [json_name = "extra"];
bool success = 1 [json_name = "success"];
com.google.protobuf.Struct
getExtra()
.google.protobuf.Struct extra = 99 [json_name = "extra"];
boolean
bool success = 1 [json_name = "success"];
boolean
hasExtra()
.google.protobuf.Struct extra = 99 [json_name = "extra"];
mergeExtra
(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];
setExtra
(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];
setExtra
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct extra = 99 [json_name = "extra"];
setSuccess
(boolean value) bool success = 1 [json_name = "success"];
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
-
getSuccess
public boolean getSuccess()bool success = 1 [json_name = "success"];
- Specified by:
getSuccess
in interfaceGripper.GrabResponseOrBuilder
- Returns:
- The success.
-
setSuccess
bool success = 1 [json_name = "success"];
- Parameters:
value
- The success to set.- Returns:
- This builder for chaining.
-
clearSuccess
bool success = 1 [json_name = "success"];
- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceGripper.GrabResponseOrBuilder
- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
getExtra
in interfaceGripper.GrabResponseOrBuilder
- Returns:
- The extra.
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
mergeExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
clearExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-