Package com.viam.robot.v1
Class Robot.StartSessionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.StartSessionResponse,Robot.StartSessionResponse.Builder>
com.viam.robot.v1.Robot.StartSessionResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Robot.StartSessionResponseOrBuilder
,Cloneable
- Enclosing class:
- Robot.StartSessionResponse
public static final class Robot.StartSessionResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.StartSessionResponse,Robot.StartSessionResponse.Builder>
implements Robot.StartSessionResponseOrBuilder
Protobuf type
viam.robot.v1.StartSessionResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
clearId()
string id = 1 [json_name = "id"];
com.google.protobuf.Duration
.google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
boolean
.google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
mergeHeartbeatWindow
(com.google.protobuf.Duration value) .google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
setHeartbeatWindow
(com.google.protobuf.Duration value) .google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
setHeartbeatWindow
(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
string id = 1 [json_name = "id"];
setIdBytes
(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];
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
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceRobot.StartSessionResponseOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceRobot.StartSessionResponseOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasHeartbeatWindow
public boolean hasHeartbeatWindow().google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
- Specified by:
hasHeartbeatWindow
in interfaceRobot.StartSessionResponseOrBuilder
- Returns:
- Whether the heartbeatWindow field is set.
-
getHeartbeatWindow
public com.google.protobuf.Duration getHeartbeatWindow().google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
- Specified by:
getHeartbeatWindow
in interfaceRobot.StartSessionResponseOrBuilder
- Returns:
- The heartbeatWindow.
-
setHeartbeatWindow
.google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
-
setHeartbeatWindow
public Robot.StartSessionResponse.Builder setHeartbeatWindow(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
-
mergeHeartbeatWindow
.google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
-
clearHeartbeatWindow
.google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
-