Package com.viam.service.motion.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the component which was requested to be moved.If you want to know about the plans of a previous executionAdditional arguments to the methodIf supplied, the response will only return the the last plan for the component / executionThe name of the motion serviceThe name of the component which was requested to be moved.If you want to know about the plans of a previous executioncom.google.protobuf.ByteString
If you want to know about the plans of a previous executioncom.google.protobuf.Struct
getExtra()
Additional arguments to the methodboolean
If supplied, the response will only return the the last plan for the component / executiongetName()
The name of the motion servicecom.google.protobuf.ByteString
The name of the motion serviceboolean
The name of the component which was requested to be moved.boolean
If you want to know about the plans of a previous executionboolean
hasExtra()
Additional arguments to the methodThe name of the component which was requested to be moved.mergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodThe name of the component which was requested to be moved.setComponentName
(Common.ResourceName.Builder builderForValue) The name of the component which was requested to be moved.setExecutionId
(String value) If you want to know about the plans of a previous executionsetExecutionIdBytes
(com.google.protobuf.ByteString value) If you want to know about the plans of a previous executionsetExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodsetLastPlanOnly
(boolean value) If supplied, the response will only return the the last plan for the component / executionThe name of the motion servicesetNameBytes
(com.google.protobuf.ByteString value) The name of the motion serviceMethods 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
-
getName
The name of the motion service
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceMotion.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 interfaceMotion.GetPlanRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
The name of the motion service
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the motion service
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
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 interfaceMotion.GetPlanRequestOrBuilder
- Returns:
- Whether the componentName field is set.
-
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 interfaceMotion.GetPlanRequestOrBuilder
- Returns:
- The componentName.
-
setComponentName
The name of the component which was requested to be moved.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
-
setComponentName
The name of the component which was requested to be moved.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
-
mergeComponentName
The name of the component which was requested to be moved.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
-
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 interfaceMotion.GetPlanRequestOrBuilder
- Returns:
- The lastPlanOnly.
-
setLastPlanOnly
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
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 interfaceMotion.GetPlanRequestOrBuilder
- Returns:
- Whether the executionId field is set.
-
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 interfaceMotion.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 interfaceMotion.GetPlanRequestOrBuilder
- Returns:
- The bytes for executionId.
-
setExecutionId
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
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
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 interfaceMotion.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 interfaceMotion.GetPlanRequestOrBuilder
- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
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"];
-