Package viam.app.v1
Class AppOuterClass.SharedSecret
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<AppOuterClass.SharedSecret,AppOuterClass.SharedSecret.Builder>
viam.app.v1.AppOuterClass.SharedSecret
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,AppOuterClass.SharedSecretOrBuilder
- Enclosing class:
- AppOuterClass
public static final class AppOuterClass.SharedSecret
extends com.google.protobuf.GeneratedMessageLite<AppOuterClass.SharedSecret,AppOuterClass.SharedSecret.Builder>
implements AppOuterClass.SharedSecretOrBuilder
SharedSecret is a secret used for LocationAuth and RobotParts.Protobuf type
viam.app.v1.SharedSecret-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSharedSecret is a secret used for LocationAuth and RobotParts.static enumProtobuf enumviam.app.v1.SharedSecret.StateNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) com.google.protobuf.TimestampDate/time the secret was first created.static AppOuterClass.SharedSecretgetId()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"id\""];com.google.protobuf.ByteStringstring id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"id\""];The payload of the secret.com.google.protobuf.ByteStringThe payload of the secret.getState()State of the shared secret.intState of the shared secret.booleanDate/time the secret was first created.newBuilder(AppOuterClass.SharedSecret prototype) static AppOuterClass.SharedSecretparseDelimitedFrom(InputStream input) static AppOuterClass.SharedSecretparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.SharedSecretparseFrom(byte[] data) static AppOuterClass.SharedSecretparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.SharedSecretparseFrom(com.google.protobuf.ByteString data) static AppOuterClass.SharedSecretparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.SharedSecretparseFrom(com.google.protobuf.CodedInputStream input) static AppOuterClass.SharedSecretparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.SharedSecretparseFrom(InputStream input) static AppOuterClass.SharedSecretparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.SharedSecretparseFrom(ByteBuffer data) static AppOuterClass.SharedSecretparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AppOuterClass.SharedSecret>parser()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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
SECRET_FIELD_NUMBER
public static final int SECRET_FIELD_NUMBER- See Also:
-
CREATED_ON_FIELD_NUMBER
public static final int CREATED_ON_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getId
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"id\""];- Specified by:
getIdin interfaceAppOuterClass.SharedSecretOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"id\""];- Specified by:
getIdBytesin interfaceAppOuterClass.SharedSecretOrBuilder- Returns:
- The bytes for id.
-
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:
getSecretin interfaceAppOuterClass.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:
getSecretBytesin interfaceAppOuterClass.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:
hasCreatedOnin interfaceAppOuterClass.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:
getCreatedOnin interfaceAppOuterClass.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:
getStateValuein interfaceAppOuterClass.SharedSecretOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getStatein interfaceAppOuterClass.SharedSecretOrBuilder- Returns:
- The state.
-
parseFrom
public static AppOuterClass.SharedSecret parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.SharedSecret parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.SharedSecret parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.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 AppOuterClass.SharedSecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.SharedSecret parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AppOuterClass.SharedSecret parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AppOuterClass.SharedSecret parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AppOuterClass.SharedSecret parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AppOuterClass.SharedSecret parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<AppOuterClass.SharedSecret,AppOuterClass.SharedSecret.Builder>
-
getDefaultInstance
-
parser
-