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.Deprecated.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.com.google.protobuf.ByteString
The name of the component which was requested to be moved.Deprecated.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
Deprecated.boolean
If you want to know about the plans of a previous executionboolean
hasExtra()
Additional arguments to the methodDeprecated.mergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetComponentName
(String value) The name of the component which was requested to be moved.setComponentNameBytes
(com.google.protobuf.ByteString value) The name of the component which was requested to be moved.Deprecated.setComponentNameDeprecated
(Common.ResourceName.Builder builderForValue) Deprecated.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.
-
hasComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
- Specified by:
hasComponentNameDeprecated
in interfaceMotion.GetPlanRequestOrBuilder
- Returns:
- Whether the componentNameDeprecated field is set.
-
getComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
- Specified by:
getComponentNameDeprecated
in interfaceMotion.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.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 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.
-
getComponentName
The name of the component which was requested to be moved.
string component_name = 5 [json_name = "componentName"];
- Specified by:
getComponentName
in interfaceMotion.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 interfaceMotion.GetPlanRequestOrBuilder
- Returns:
- The bytes for componentName.
-
setComponentName
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
The name of the component which was requested to be moved.
string component_name = 5 [json_name = "componentName"];
- Returns:
- This builder for chaining.
-
setComponentNameBytes
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 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"];
-