Package viam.app.v1

Interface App.LocationAuthOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
App.LocationAuth, App.LocationAuth.Builder
Enclosing class:
App

public static interface App.LocationAuthOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Location ID containing this LocationAuth.
    com.google.protobuf.ByteString
    Location ID containing this LocationAuth.
    Deprecated.
    viam.app.v1.LocationAuth.secret is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    viam.app.v1.LocationAuth.secret is deprecated.
    getSecrets(int index)
    List of secrets used to authenticate to the Location.
    int
    List of secrets used to authenticate to the Location.
    List of secrets used to authenticate to the Location.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getSecret

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

      @Deprecated com.google.protobuf.ByteString getSecretBytes()
      Deprecated.
      viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=515
       Deprecated: use secrets field.
       
      string secret = 1 [json_name = "secret", deprecated = true];
      Returns:
      The bytes for secret.
    • getLocationId

      String getLocationId()
       Location ID containing this LocationAuth.
       
      string location_id = 2 [json_name = "locationId"];
      Returns:
      The locationId.
    • getLocationIdBytes

      com.google.protobuf.ByteString getLocationIdBytes()
       Location ID containing this LocationAuth.
       
      string location_id = 2 [json_name = "locationId"];
      Returns:
      The bytes for locationId.
    • getSecretsList

      List<App.SharedSecret> getSecretsList()
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
    • getSecrets

      App.SharedSecret getSecrets(int index)
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
    • getSecretsCount

      int getSecretsCount()
       List of secrets used to authenticate to the Location.
       
      repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];