Package com.viam.robot.v1
Class Robot.StartSessionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.StartSessionRequest,Robot.StartSessionRequest.Builder>
com.viam.robot.v1.Robot.StartSessionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Robot.StartSessionRequestOrBuilder
,Cloneable
- Enclosing class:
- Robot.StartSessionRequest
public static final class Robot.StartSessionRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.StartSessionRequest,Robot.StartSessionRequest.Builder>
implements Robot.StartSessionRequestOrBuilder
Protobuf type
viam.robot.v1.StartSessionRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionresume can be used to attempt to continue a stream after a disconnection event.resume can be used to attempt to continue a stream after a disconnection event.com.google.protobuf.ByteString
resume can be used to attempt to continue a stream after a disconnection event.resume can be used to attempt to continue a stream after a disconnection event.setResumeBytes
(com.google.protobuf.ByteString value) resume can be used to attempt to continue a stream after a disconnection event.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
-
getResume
resume can be used to attempt to continue a stream after a disconnection event. If a session is not found, a new one will be created and returned.
string resume = 1 [json_name = "resume"];
- Specified by:
getResume
in interfaceRobot.StartSessionRequestOrBuilder
- Returns:
- The resume.
-
getResumeBytes
public com.google.protobuf.ByteString getResumeBytes()resume can be used to attempt to continue a stream after a disconnection event. If a session is not found, a new one will be created and returned.
string resume = 1 [json_name = "resume"];
- Specified by:
getResumeBytes
in interfaceRobot.StartSessionRequestOrBuilder
- Returns:
- The bytes for resume.
-
setResume
resume can be used to attempt to continue a stream after a disconnection event. If a session is not found, a new one will be created and returned.
string resume = 1 [json_name = "resume"];
- Parameters:
value
- The resume to set.- Returns:
- This builder for chaining.
-
clearResume
resume can be used to attempt to continue a stream after a disconnection event. If a session is not found, a new one will be created and returned.
string resume = 1 [json_name = "resume"];
- Returns:
- This builder for chaining.
-
setResumeBytes
resume can be used to attempt to continue a stream after a disconnection event. If a session is not found, a new one will be created and returned.
string resume = 1 [json_name = "resume"];
- Parameters:
value
- The bytes for resume to set.- Returns:
- This builder for chaining.
-