Package viam.app.v1

Class App.LocationAuth.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.LocationAuth,App.LocationAuth.Builder>
viam.app.v1.App.LocationAuth.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, App.LocationAuthOrBuilder
Enclosing class:
App.LocationAuth

public static final class App.LocationAuth.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.LocationAuth,App.LocationAuth.Builder> implements App.LocationAuthOrBuilder
Protobuf type viam.app.v1.LocationAuth
  • Method Details

    • getSecret

      @Deprecated public String getSecret()
      Deprecated.
      viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=518
       Deprecated: use secrets field.
       
      string secret = 1 [json_name = "secret", deprecated = true];
      Specified by:
      getSecret in interface App.LocationAuthOrBuilder
      Returns:
      The secret.
    • getSecretBytes

      @Deprecated public com.google.protobuf.ByteString getSecretBytes()
      Deprecated.
      viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=518
       Deprecated: use secrets field.
       
      string secret = 1 [json_name = "secret", deprecated = true];
      Specified by:
      getSecretBytes in interface App.LocationAuthOrBuilder
      Returns:
      The bytes for secret.
    • setSecret

      @Deprecated public App.LocationAuth.Builder setSecret(String value)
      Deprecated.
      viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=518
       Deprecated: use secrets field.
       
      string secret = 1 [json_name = "secret", deprecated = true];
      Parameters:
      value - The secret to set.
      Returns:
      This builder for chaining.
    • clearSecret

      @Deprecated public App.LocationAuth.Builder clearSecret()
      Deprecated.
      viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=518
       Deprecated: use secrets field.
       
      string secret = 1 [json_name = "secret", deprecated = true];
      Returns:
      This builder for chaining.
    • setSecretBytes

      @Deprecated public App.LocationAuth.Builder setSecretBytes(com.google.protobuf.ByteString value)
      Deprecated.
      viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=518
       Deprecated: use secrets field.
       
      string secret = 1 [json_name = "secret", deprecated = true];
      Parameters:
      value - The bytes for secret to set.
      Returns:
      This builder for chaining.
    • getLocationId

      public String getLocationId()
       Location ID containing this LocationAuth.
       
      string location_id = 2 [json_name = "locationId"];
      Specified by:
      getLocationId in interface App.LocationAuthOrBuilder
      Returns:
      The locationId.
    • getLocationIdBytes

      public com.google.protobuf.ByteString getLocationIdBytes()
       Location ID containing this LocationAuth.
       
      string location_id = 2 [json_name = "locationId"];
      Specified by:
      getLocationIdBytes in interface App.LocationAuthOrBuilder
      Returns:
      The bytes for locationId.
    • setLocationId

      public App.LocationAuth.Builder setLocationId(String value)
       Location ID containing this LocationAuth.
       
      string location_id = 2 [json_name = "locationId"];
      Parameters:
      value - The locationId to set.
      Returns:
      This builder for chaining.
    • clearLocationId

      public App.LocationAuth.Builder clearLocationId()
       Location ID containing this LocationAuth.
       
      string location_id = 2 [json_name = "locationId"];
      Returns:
      This builder for chaining.
    • setLocationIdBytes

      public App.LocationAuth.Builder setLocationIdBytes(com.google.protobuf.ByteString value)
       Location ID containing this LocationAuth.
       
      string location_id = 2 [json_name = "locationId"];
      Parameters:
      value - The bytes for locationId to set.
      Returns:
      This builder for chaining.
    • getSecretsList

      public List<App.SharedSecret> getSecretsList()
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
      Specified by:
      getSecretsList in interface App.LocationAuthOrBuilder
    • getSecretsCount

      public int getSecretsCount()
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
      Specified by:
      getSecretsCount in interface App.LocationAuthOrBuilder
    • getSecrets

      public App.SharedSecret getSecrets(int index)
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
      Specified by:
      getSecrets in interface App.LocationAuthOrBuilder
    • setSecrets

      public App.LocationAuth.Builder setSecrets(int index, App.SharedSecret value)
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
    • setSecrets

      public App.LocationAuth.Builder setSecrets(int index, App.SharedSecret.Builder builderForValue)
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
    • addSecrets

      public App.LocationAuth.Builder addSecrets(App.SharedSecret value)
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
    • addSecrets

      public App.LocationAuth.Builder addSecrets(int index, App.SharedSecret value)
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
    • addSecrets

      public App.LocationAuth.Builder addSecrets(App.SharedSecret.Builder builderForValue)
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
    • addSecrets

      public App.LocationAuth.Builder addSecrets(int index, App.SharedSecret.Builder builderForValue)
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
    • addAllSecrets

      public App.LocationAuth.Builder addAllSecrets(Iterable<? extends App.SharedSecret> values)
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
    • clearSecrets

      public App.LocationAuth.Builder clearSecrets()
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
    • removeSecrets

      public App.LocationAuth.Builder removeSecrets(int index)
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];