Package viam.app.v1
Class Robot.LocationSecret.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.LocationSecret,Robot.LocationSecret.Builder>
viam.app.v1.Robot.LocationSecret.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Robot.LocationSecretOrBuilder
- Enclosing class:
- Robot.LocationSecret
public static final class Robot.LocationSecret.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.LocationSecret,Robot.LocationSecret.Builder>
implements Robot.LocationSecretOrBuilder
Valid location secret that can be used for authentication to the robot.Protobuf type
viam.app.v1.LocationSecret
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearId()
string id = 1 [json_name = "id"];
secret payloadgetId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
secret payloadcom.google.protobuf.ByteString
secret payloadstring id = 1 [json_name = "id"];
setIdBytes
(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];
secret payloadsetSecretBytes
(com.google.protobuf.ByteString value) secret payloadMethods 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.LocationSecretOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceRobot.LocationSecretOrBuilder
- 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.
-
getSecret
secret payload
string secret = 2 [json_name = "secret"];
- Specified by:
getSecret
in interfaceRobot.LocationSecretOrBuilder
- Returns:
- The secret.
-
getSecretBytes
public com.google.protobuf.ByteString getSecretBytes()secret payload
string secret = 2 [json_name = "secret"];
- Specified by:
getSecretBytes
in interfaceRobot.LocationSecretOrBuilder
- Returns:
- The bytes for secret.
-
setSecret
secret payload
string secret = 2 [json_name = "secret"];
- Parameters:
value
- The secret to set.- Returns:
- This builder for chaining.
-
clearSecret
secret payload
string secret = 2 [json_name = "secret"];
- Returns:
- This builder for chaining.
-
setSecretBytes
secret payload
string secret = 2 [json_name = "secret"];
- Parameters:
value
- The bytes for secret to set.- Returns:
- This builder for chaining.
-