Package viam.app.v1
Class Robot.RemoteAuth.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.RemoteAuth,Robot.RemoteAuth.Builder>
viam.app.v1.Robot.RemoteAuth.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,Robot.RemoteAuthOrBuilder
- Enclosing class:
- Robot.RemoteAuth
public static final class Robot.RemoteAuth.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.RemoteAuth,Robot.RemoteAuth.Builder>
implements Robot.RemoteAuthOrBuilder
RemoteAuth specifies how to authenticate against a remote. If no credentials are specified, authentication does not happen. If an entity is specified, the authentication request will specify it.Protobuf type
viam.app.v1.RemoteAuth-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription.viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"];string entity = 2 [json_name = "entity"];.viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"];string entity = 2 [json_name = "entity"];com.google.protobuf.ByteStringstring entity = 2 [json_name = "entity"];boolean.viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"];.viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"];.viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"];setCredentials(Robot.RemoteAuth.Credentials.Builder builderForValue) .viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"];string entity = 2 [json_name = "entity"];setEntityBytes(com.google.protobuf.ByteString value) string entity = 2 [json_name = "entity"];Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasCredentials
public boolean hasCredentials().viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"];- Specified by:
hasCredentialsin interfaceRobot.RemoteAuthOrBuilder- Returns:
- Whether the credentials field is set.
-
getCredentials
.viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"];- Specified by:
getCredentialsin interfaceRobot.RemoteAuthOrBuilder- Returns:
- The credentials.
-
setCredentials
.viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"]; -
setCredentials
public Robot.RemoteAuth.Builder setCredentials(Robot.RemoteAuth.Credentials.Builder builderForValue) .viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"]; -
mergeCredentials
.viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"]; -
clearCredentials
.viam.app.v1.RemoteAuth.Credentials credentials = 1 [json_name = "credentials"]; -
getEntity
string entity = 2 [json_name = "entity"];- Specified by:
getEntityin interfaceRobot.RemoteAuthOrBuilder- Returns:
- The entity.
-
getEntityBytes
public com.google.protobuf.ByteString getEntityBytes()string entity = 2 [json_name = "entity"];- Specified by:
getEntityBytesin interfaceRobot.RemoteAuthOrBuilder- Returns:
- The bytes for entity.
-
setEntity
string entity = 2 [json_name = "entity"];- Parameters:
value- The entity to set.- Returns:
- This builder for chaining.
-
clearEntity
string entity = 2 [json_name = "entity"];- Returns:
- This builder for chaining.
-
setEntityBytes
string entity = 2 [json_name = "entity"];- Parameters:
value- The bytes for entity to set.- Returns:
- This builder for chaining.
-