Package viam.app.v1

Class App.SharedSecret

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

public static final class App.SharedSecret extends com.google.protobuf.GeneratedMessageLite<App.SharedSecret,App.SharedSecret.Builder> implements App.SharedSecretOrBuilder
 SharedSecret is a secret used for LocationAuth and RobotParts.
 
Protobuf type viam.app.v1.SharedSecret
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    SharedSecret is a secret used for LocationAuth and RobotParts.
    static enum 
    Protobuf enum viam.app.v1.SharedSecret.State

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
    com.google.protobuf.Timestamp
    Date/time the secret was first created.
     
    string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"id\""];
    com.google.protobuf.ByteString
    string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"id\""];
    The payload of the secret.
    com.google.protobuf.ByteString
    The payload of the secret.
    State of the shared secret.
    int
    State of the shared secret.
    boolean
    Date/time the secret was first created.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<App.SharedSecret>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

  • Method Details

    • getId

      public String getId()
      string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"id\""];
      Specified by:
      getId in interface App.SharedSecretOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"id\""];
      Specified by:
      getIdBytes in interface App.SharedSecretOrBuilder
      Returns:
      The bytes for id.
    • getSecret

      public String getSecret()
       The payload of the secret. Used during authentication to the rpc framework.
       
      string secret = 2 [json_name = "secret", (.tagger.v1.tags) = "bson:\"secret\""];
      Specified by:
      getSecret in interface App.SharedSecretOrBuilder
      Returns:
      The secret.
    • getSecretBytes

      public com.google.protobuf.ByteString getSecretBytes()
       The payload of the secret. Used during authentication to the rpc framework.
       
      string secret = 2 [json_name = "secret", (.tagger.v1.tags) = "bson:\"secret\""];
      Specified by:
      getSecretBytes in interface App.SharedSecretOrBuilder
      Returns:
      The bytes for secret.
    • hasCreatedOn

      public boolean hasCreatedOn()
       Date/time the secret was first created.
       
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\" json:\"created_on\""];
      Specified by:
      hasCreatedOn in interface App.SharedSecretOrBuilder
      Returns:
      Whether the createdOn field is set.
    • getCreatedOn

      public com.google.protobuf.Timestamp getCreatedOn()
       Date/time the secret was first created.
       
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\" json:\"created_on\""];
      Specified by:
      getCreatedOn in interface App.SharedSecretOrBuilder
      Returns:
      The createdOn.
    • getStateValue

      public int getStateValue()
       State of the shared secret. In most cases it should be enabled. We may support
       disabling a specific secret while keeping it in the database.
       
      .viam.app.v1.SharedSecret.State state = 4 [json_name = "state", (.tagger.v1.tags) = "bson:\"state\""];
      Specified by:
      getStateValue in interface App.SharedSecretOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public App.SharedSecret.State getState()
       State of the shared secret. In most cases it should be enabled. We may support
       disabling a specific secret while keeping it in the database.
       
      .viam.app.v1.SharedSecret.State state = 4 [json_name = "state", (.tagger.v1.tags) = "bson:\"state\""];
      Specified by:
      getState in interface App.SharedSecretOrBuilder
      Returns:
      The state.
    • parseFrom

      public static App.SharedSecret parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static App.SharedSecret parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static App.SharedSecret parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static App.SharedSecret parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static App.SharedSecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static App.SharedSecret parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static App.SharedSecret parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static App.SharedSecret parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static App.SharedSecret parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static App.SharedSecret parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static App.SharedSecret parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static App.SharedSecret parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static App.SharedSecret.Builder newBuilder()
    • newBuilder

      public static App.SharedSecret.Builder newBuilder(App.SharedSecret prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<App.SharedSecret,App.SharedSecret.Builder>
    • getDefaultInstance

      public static App.SharedSecret getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<App.SharedSecret> parser()