Class Motion.GetPlanRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.GetPlanRequest,Motion.GetPlanRequest.Builder>
com.viam.service.motion.v1.Motion.GetPlanRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Motion.GetPlanRequestOrBuilder, Cloneable
Enclosing class:
Motion.GetPlanRequest

public static final class Motion.GetPlanRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.GetPlanRequest,Motion.GetPlanRequest.Builder> implements Motion.GetPlanRequestOrBuilder
Protobuf type viam.service.motion.v1.GetPlanRequest
  • Method Details

    • getName

      public String getName()
       The name of the motion service
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Motion.GetPlanRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the motion service
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Motion.GetPlanRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Motion.GetPlanRequest.Builder setName(String value)
       The name of the motion service
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Motion.GetPlanRequest.Builder clearName()
       The name of the motion service
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Motion.GetPlanRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the motion service
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasComponentName

      public boolean hasComponentName()
       The name of the component which was requested to be moved.
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
      Specified by:
      hasComponentName in interface Motion.GetPlanRequestOrBuilder
      Returns:
      Whether the componentName field is set.
    • getComponentName

      public Common.ResourceName getComponentName()
       The name of the component which was requested to be moved.
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
      Specified by:
      getComponentName in interface Motion.GetPlanRequestOrBuilder
      Returns:
      The componentName.
    • setComponentName

      public Motion.GetPlanRequest.Builder setComponentName(Common.ResourceName value)
       The name of the component which was requested to be moved.
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
    • setComponentName

      public Motion.GetPlanRequest.Builder setComponentName(Common.ResourceName.Builder builderForValue)
       The name of the component which was requested to be moved.
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
    • mergeComponentName

      public Motion.GetPlanRequest.Builder mergeComponentName(Common.ResourceName value)
       The name of the component which was requested to be moved.
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
    • clearComponentName

      public Motion.GetPlanRequest.Builder clearComponentName()
       The name of the component which was requested to be moved.
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
    • getLastPlanOnly

      public boolean getLastPlanOnly()
       If supplied, the response will only return
       the the last plan for the component / execution
       
      bool last_plan_only = 3 [json_name = "lastPlanOnly"];
      Specified by:
      getLastPlanOnly in interface Motion.GetPlanRequestOrBuilder
      Returns:
      The lastPlanOnly.
    • setLastPlanOnly

      public Motion.GetPlanRequest.Builder setLastPlanOnly(boolean value)
       If supplied, the response will only return
       the the last plan for the component / execution
       
      bool last_plan_only = 3 [json_name = "lastPlanOnly"];
      Parameters:
      value - The lastPlanOnly to set.
      Returns:
      This builder for chaining.
    • clearLastPlanOnly

      public Motion.GetPlanRequest.Builder clearLastPlanOnly()
       If supplied, the response will only return
       the the last plan for the component / execution
       
      bool last_plan_only = 3 [json_name = "lastPlanOnly"];
      Returns:
      This builder for chaining.
    • hasExecutionId

      public boolean hasExecutionId()
       If you want to know about the plans of a previous execution
       
      optional string execution_id = 4 [json_name = "executionId"];
      Specified by:
      hasExecutionId in interface Motion.GetPlanRequestOrBuilder
      Returns:
      Whether the executionId field is set.
    • getExecutionId

      public String getExecutionId()
       If you want to know about the plans of a previous execution
       
      optional string execution_id = 4 [json_name = "executionId"];
      Specified by:
      getExecutionId in interface Motion.GetPlanRequestOrBuilder
      Returns:
      The executionId.
    • getExecutionIdBytes

      public com.google.protobuf.ByteString getExecutionIdBytes()
       If you want to know about the plans of a previous execution
       
      optional string execution_id = 4 [json_name = "executionId"];
      Specified by:
      getExecutionIdBytes in interface Motion.GetPlanRequestOrBuilder
      Returns:
      The bytes for executionId.
    • setExecutionId

      public Motion.GetPlanRequest.Builder setExecutionId(String value)
       If you want to know about the plans of a previous execution
       
      optional string execution_id = 4 [json_name = "executionId"];
      Parameters:
      value - The executionId to set.
      Returns:
      This builder for chaining.
    • clearExecutionId

      public Motion.GetPlanRequest.Builder clearExecutionId()
       If you want to know about the plans of a previous execution
       
      optional string execution_id = 4 [json_name = "executionId"];
      Returns:
      This builder for chaining.
    • setExecutionIdBytes

      public Motion.GetPlanRequest.Builder setExecutionIdBytes(com.google.protobuf.ByteString value)
       If you want to know about the plans of a previous execution
       
      optional string execution_id = 4 [json_name = "executionId"];
      Parameters:
      value - The bytes for executionId to set.
      Returns:
      This builder for chaining.
    • hasExtra

      public boolean hasExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      hasExtra in interface Motion.GetPlanRequestOrBuilder
      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:
      getExtra in interface Motion.GetPlanRequestOrBuilder
      Returns:
      The extra.
    • setExtra

      public Motion.GetPlanRequest.Builder setExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • setExtra

      public Motion.GetPlanRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • mergeExtra

      public Motion.GetPlanRequest.Builder mergeExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • clearExtra

      public Motion.GetPlanRequest.Builder clearExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];