Package viam.app.v1
Interface Robot.PermissionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Robot.Permission,Robot.Permission.Builder
- Enclosing class:
Robot
public static interface Robot.PermissionOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedMethods(int index) allowed_methods is a list of fully qualified gRPC methods the user may invoke on the listed resources, e.g.com.google.protobuf.ByteStringgetAllowedMethodsBytes(int index) allowed_methods is a list of fully qualified gRPC methods the user may invoke on the listed resources, e.g.intallowed_methods is a list of fully qualified gRPC methods the user may invoke on the listed resources, e.g.allowed_methods is a list of fully qualified gRPC methods the user may invoke on the listed resources, e.g.getResources(int index) resources are the names of the resources this permission applies to, e.g.com.google.protobuf.ByteStringgetResourcesBytes(int index) resources are the names of the resources this permission applies to, e.g.intresources are the names of the resources this permission applies to, e.g.resources are the names of the resources this permission applies to, e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getResourcesList
resources are the names of the resources this permission applies to, e.g. ["cam1", "cam2", "cam3"].
repeated string resources = 1 [json_name = "resources"];- Returns:
- A list containing the resources.
-
getResourcesCount
int getResourcesCount()resources are the names of the resources this permission applies to, e.g. ["cam1", "cam2", "cam3"].
repeated string resources = 1 [json_name = "resources"];- Returns:
- The count of resources.
-
getResources
resources are the names of the resources this permission applies to, e.g. ["cam1", "cam2", "cam3"].
repeated string resources = 1 [json_name = "resources"];- Parameters:
index- The index of the element to return.- Returns:
- The resources at the given index.
-
getResourcesBytes
com.google.protobuf.ByteString getResourcesBytes(int index) resources are the names of the resources this permission applies to, e.g. ["cam1", "cam2", "cam3"].
repeated string resources = 1 [json_name = "resources"];- Parameters:
index- The index of the element to return.- Returns:
- The resources at the given index.
-
getAllowedMethodsList
allowed_methods is a list of fully qualified gRPC methods the user may invoke on the listed resources, e.g. ["/viam.component.camera.v1.CameraService/GetImages", "/viam.component.camera.v1.CameraService/GetProperties"].
repeated string allowed_methods = 2 [json_name = "allowedMethods"];- Returns:
- A list containing the allowedMethods.
-
getAllowedMethodsCount
int getAllowedMethodsCount()allowed_methods is a list of fully qualified gRPC methods the user may invoke on the listed resources, e.g. ["/viam.component.camera.v1.CameraService/GetImages", "/viam.component.camera.v1.CameraService/GetProperties"].
repeated string allowed_methods = 2 [json_name = "allowedMethods"];- Returns:
- The count of allowedMethods.
-
getAllowedMethods
allowed_methods is a list of fully qualified gRPC methods the user may invoke on the listed resources, e.g. ["/viam.component.camera.v1.CameraService/GetImages", "/viam.component.camera.v1.CameraService/GetProperties"].
repeated string allowed_methods = 2 [json_name = "allowedMethods"];- Parameters:
index- The index of the element to return.- Returns:
- The allowedMethods at the given index.
-
getAllowedMethodsBytes
com.google.protobuf.ByteString getAllowedMethodsBytes(int index) allowed_methods is a list of fully qualified gRPC methods the user may invoke on the listed resources, e.g. ["/viam.component.camera.v1.CameraService/GetImages", "/viam.component.camera.v1.CameraService/GetProperties"].
repeated string allowed_methods = 2 [json_name = "allowedMethods"];- Parameters:
index- The index of the element to return.- Returns:
- The allowedMethods at the given index.
-