Package viam.app.v1
Class Robot.AuthConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.AuthConfig,Robot.AuthConfig.Builder>
viam.app.v1.Robot.AuthConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Robot.AuthConfigOrBuilder
- Enclosing class:
- Robot.AuthConfig
public static final class Robot.AuthConfig.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.AuthConfig,Robot.AuthConfig.Builder>
implements Robot.AuthConfigOrBuilder
Protobuf type
viam.app.v1.AuthConfig
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllHandlers
(Iterable<? extends Robot.AuthHandlerConfig> values) repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
addAllTlsAuthEntities
(Iterable<String> values) repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
addHandlers
(int index, Robot.AuthHandlerConfig value) repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
addHandlers
(int index, Robot.AuthHandlerConfig.Builder builderForValue) repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
addHandlers
(Robot.AuthHandlerConfig.Builder builderForValue) repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
addTlsAuthEntities
(String value) repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
addTlsAuthEntitiesBytes
(com.google.protobuf.ByteString value) repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
getHandlers
(int index) repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
int
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
getTlsAuthEntities
(int index) repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
com.google.protobuf.ByteString
getTlsAuthEntitiesBytes
(int index) repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
int
repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
boolean
optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
removeHandlers
(int index) repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
setExternalAuthConfig
(Robot.ExternalAuthConfig.Builder builderForValue) optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
setHandlers
(int index, Robot.AuthHandlerConfig value) repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
setHandlers
(int index, Robot.AuthHandlerConfig.Builder builderForValue) repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
setTlsAuthEntities
(int index, String value) repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
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
-
getHandlersList
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
- Specified by:
getHandlersList
in interfaceRobot.AuthConfigOrBuilder
-
getHandlersCount
public int getHandlersCount()repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
- Specified by:
getHandlersCount
in interfaceRobot.AuthConfigOrBuilder
-
getHandlers
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
- Specified by:
getHandlers
in interfaceRobot.AuthConfigOrBuilder
-
setHandlers
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
-
setHandlers
public Robot.AuthConfig.Builder setHandlers(int index, Robot.AuthHandlerConfig.Builder builderForValue) repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
-
addHandlers
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
-
addHandlers
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
-
addHandlers
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
-
addHandlers
public Robot.AuthConfig.Builder addHandlers(int index, Robot.AuthHandlerConfig.Builder builderForValue) repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
-
addAllHandlers
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
-
clearHandlers
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
-
removeHandlers
repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
-
getTlsAuthEntitiesList
repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
- Specified by:
getTlsAuthEntitiesList
in interfaceRobot.AuthConfigOrBuilder
- Returns:
- A list containing the tlsAuthEntities.
-
getTlsAuthEntitiesCount
public int getTlsAuthEntitiesCount()repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
- Specified by:
getTlsAuthEntitiesCount
in interfaceRobot.AuthConfigOrBuilder
- Returns:
- The count of tlsAuthEntities.
-
getTlsAuthEntities
repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
- Specified by:
getTlsAuthEntities
in interfaceRobot.AuthConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tlsAuthEntities at the given index.
-
getTlsAuthEntitiesBytes
public com.google.protobuf.ByteString getTlsAuthEntitiesBytes(int index) repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
- Specified by:
getTlsAuthEntitiesBytes
in interfaceRobot.AuthConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tlsAuthEntities at the given index.
-
setTlsAuthEntities
repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
- Parameters:
index
- The index to set the value at.value
- The tlsAuthEntities to set.- Returns:
- This builder for chaining.
-
addTlsAuthEntities
repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
- Parameters:
value
- The tlsAuthEntities to add.- Returns:
- This builder for chaining.
-
addAllTlsAuthEntities
repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
- Parameters:
values
- The tlsAuthEntities to add.- Returns:
- This builder for chaining.
-
clearTlsAuthEntities
repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
- Returns:
- This builder for chaining.
-
addTlsAuthEntitiesBytes
repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
- Parameters:
value
- The bytes of the tlsAuthEntities to add.- Returns:
- This builder for chaining.
-
hasExternalAuthConfig
public boolean hasExternalAuthConfig()optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
- Specified by:
hasExternalAuthConfig
in interfaceRobot.AuthConfigOrBuilder
- Returns:
- Whether the externalAuthConfig field is set.
-
getExternalAuthConfig
optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
- Specified by:
getExternalAuthConfig
in interfaceRobot.AuthConfigOrBuilder
- Returns:
- The externalAuthConfig.
-
setExternalAuthConfig
optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
-
setExternalAuthConfig
public Robot.AuthConfig.Builder setExternalAuthConfig(Robot.ExternalAuthConfig.Builder builderForValue) optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
-
mergeExternalAuthConfig
optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
-
clearExternalAuthConfig
optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
-