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.
    • hasComponentNameDeprecated

      @Deprecated public boolean hasComponentNameDeprecated()
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
      Specified by:
      hasComponentNameDeprecated in interface Motion.GetPlanRequestOrBuilder
      Returns:
      Whether the componentNameDeprecated field is set.
    • getComponentNameDeprecated

      @Deprecated public Common.ResourceName getComponentNameDeprecated()
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
      Specified by:
      getComponentNameDeprecated in interface Motion.GetPlanRequestOrBuilder
      Returns:
      The componentNameDeprecated.
    • setComponentNameDeprecated

      @Deprecated public Motion.GetPlanRequest.Builder setComponentNameDeprecated(Common.ResourceName value)
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
    • setComponentNameDeprecated

      @Deprecated public Motion.GetPlanRequest.Builder setComponentNameDeprecated(Common.ResourceName.Builder builderForValue)
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
    • mergeComponentNameDeprecated

      @Deprecated public Motion.GetPlanRequest.Builder mergeComponentNameDeprecated(Common.ResourceName value)
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
    • clearComponentNameDeprecated

      @Deprecated public Motion.GetPlanRequest.Builder clearComponentNameDeprecated()
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
    • 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.
    • getComponentName

      public String getComponentName()
       The name of the component which was requested to be moved.
       
      string component_name = 5 [json_name = "componentName"];
      Specified by:
      getComponentName in interface Motion.GetPlanRequestOrBuilder
      Returns:
      The componentName.
    • getComponentNameBytes

      public com.google.protobuf.ByteString getComponentNameBytes()
       The name of the component which was requested to be moved.
       
      string component_name = 5 [json_name = "componentName"];
      Specified by:
      getComponentNameBytes in interface Motion.GetPlanRequestOrBuilder
      Returns:
      The bytes for componentName.
    • setComponentName

      public Motion.GetPlanRequest.Builder setComponentName(String value)
       The name of the component which was requested to be moved.
       
      string component_name = 5 [json_name = "componentName"];
      Parameters:
      value - The componentName to set.
      Returns:
      This builder for chaining.
    • clearComponentName

      public Motion.GetPlanRequest.Builder clearComponentName()
       The name of the component which was requested to be moved.
       
      string component_name = 5 [json_name = "componentName"];
      Returns:
      This builder for chaining.
    • setComponentNameBytes

      public Motion.GetPlanRequest.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
       The name of the component which was requested to be moved.
       
      string component_name = 5 [json_name = "componentName"];
      Parameters:
      value - The bytes for componentName 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"];