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
  • Method Details

    • getHandlersList

      public List<Robot.AuthHandlerConfig> getHandlersList()
      repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
      Specified by:
      getHandlersList in interface Robot.AuthConfigOrBuilder
    • getHandlersCount

      public int getHandlersCount()
      repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
      Specified by:
      getHandlersCount in interface Robot.AuthConfigOrBuilder
    • getHandlers

      public Robot.AuthHandlerConfig getHandlers(int index)
      repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
      Specified by:
      getHandlers in interface Robot.AuthConfigOrBuilder
    • setHandlers

      public Robot.AuthConfig.Builder setHandlers(int index, Robot.AuthHandlerConfig value)
      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

      public Robot.AuthConfig.Builder addHandlers(int index, Robot.AuthHandlerConfig value)
      repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
    • addHandlers

      public Robot.AuthConfig.Builder addHandlers(Robot.AuthHandlerConfig.Builder builderForValue)
      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

      public Robot.AuthConfig.Builder addAllHandlers(Iterable<? extends Robot.AuthHandlerConfig> values)
      repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
    • clearHandlers

      public Robot.AuthConfig.Builder clearHandlers()
      repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
    • removeHandlers

      public Robot.AuthConfig.Builder removeHandlers(int index)
      repeated .viam.app.v1.AuthHandlerConfig handlers = 1 [json_name = "handlers"];
    • getTlsAuthEntitiesList

      public List<String> getTlsAuthEntitiesList()
      repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
      Specified by:
      getTlsAuthEntitiesList in interface Robot.AuthConfigOrBuilder
      Returns:
      A list containing the tlsAuthEntities.
    • getTlsAuthEntitiesCount

      public int getTlsAuthEntitiesCount()
      repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
      Specified by:
      getTlsAuthEntitiesCount in interface Robot.AuthConfigOrBuilder
      Returns:
      The count of tlsAuthEntities.
    • getTlsAuthEntities

      public String getTlsAuthEntities(int index)
      repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
      Specified by:
      getTlsAuthEntities in interface Robot.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 interface Robot.AuthConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tlsAuthEntities at the given index.
    • setTlsAuthEntities

      public Robot.AuthConfig.Builder setTlsAuthEntities(int index, String value)
      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

      public Robot.AuthConfig.Builder addTlsAuthEntities(String value)
      repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
      Parameters:
      value - The tlsAuthEntities to add.
      Returns:
      This builder for chaining.
    • addAllTlsAuthEntities

      public Robot.AuthConfig.Builder addAllTlsAuthEntities(Iterable<String> values)
      repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
      Parameters:
      values - The tlsAuthEntities to add.
      Returns:
      This builder for chaining.
    • clearTlsAuthEntities

      public Robot.AuthConfig.Builder clearTlsAuthEntities()
      repeated string tls_auth_entities = 2 [json_name = "tlsAuthEntities"];
      Returns:
      This builder for chaining.
    • addTlsAuthEntitiesBytes

      public Robot.AuthConfig.Builder addTlsAuthEntitiesBytes(com.google.protobuf.ByteString value)
      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 interface Robot.AuthConfigOrBuilder
      Returns:
      Whether the externalAuthConfig field is set.
    • getExternalAuthConfig

      public Robot.ExternalAuthConfig getExternalAuthConfig()
      optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
      Specified by:
      getExternalAuthConfig in interface Robot.AuthConfigOrBuilder
      Returns:
      The externalAuthConfig.
    • setExternalAuthConfig

      public Robot.AuthConfig.Builder setExternalAuthConfig(Robot.ExternalAuthConfig value)
      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

      public Robot.AuthConfig.Builder mergeExternalAuthConfig(Robot.ExternalAuthConfig value)
      optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];
    • clearExternalAuthConfig

      public Robot.AuthConfig.Builder clearExternalAuthConfig()
      optional .viam.app.v1.ExternalAuthConfig external_auth_config = 3 [json_name = "externalAuthConfig"];