Package viam.app.v1
Interface Robot.UserOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Robot.User,Robot.User.Builder
- Enclosing class:
Robot
public static interface Robot.UserOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetId()id is the API Key ID if type is "api-key-id", the Viam app user ID if type is "app-user-id", and empty if type is "default".com.google.protobuf.ByteStringid is the API Key ID if type is "api-key-id", the Viam app user ID if type is "app-user-id", and empty if type is "default".getType()type is the type of user.com.google.protobuf.ByteStringtype is the type of user.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getType
String getType()type is the type of user. Can be "api-key-id", "app-user-id", or "default".
string type = 1 [json_name = "type"];- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()type is the type of user. Can be "api-key-id", "app-user-id", or "default".
string type = 1 [json_name = "type"];- Returns:
- The bytes for type.
-
getId
String getId()id is the API Key ID if type is "api-key-id", the Viam app user ID if type is "app-user-id", and empty if type is "default".
string id = 2 [json_name = "id"];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()id is the API Key ID if type is "api-key-id", the Viam app user ID if type is "app-user-id", and empty if type is "default".
string id = 2 [json_name = "id"];- Returns:
- The bytes for id.
-