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 Type
    Method
    Description
    .google.protobuf.Struct extra = 99 [json_name = "extra"];
    bool success = 1 [json_name = "success"];
    com.google.protobuf.Struct
    .google.protobuf.Struct extra = 99 [json_name = "extra"];
    boolean
    bool success = 1 [json_name = "success"];
    boolean
    .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 interface Gripper.GrabResponseOrBuilder
      Returns:
      The success.
    • setSuccess

      public Gripper.GrabResponse.Builder setSuccess(boolean value)
      bool success = 1 [json_name = "success"];
      Parameters:
      value - The success to set.
      Returns:
      This builder for chaining.
    • clearSuccess

      public Gripper.GrabResponse.Builder 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 interface Gripper.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 interface Gripper.GrabResponseOrBuilder
      Returns:
      The extra.
    • setExtra

      public Gripper.GrabResponse.Builder setExtra(com.google.protobuf.Struct value)
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • setExtra

      public Gripper.GrabResponse.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • mergeExtra

      public Gripper.GrabResponse.Builder mergeExtra(com.google.protobuf.Struct value)
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • clearExtra

      public Gripper.GrabResponse.Builder clearExtra()
      .google.protobuf.Struct extra = 99 [json_name = "extra"];