Package com.google.cloud.asset.v1p1beta1
Interface PermissionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Permissions,Permissions.Builder
@Generated
public interface PermissionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPermissions(int index) A list of permissions.com.google.protobuf.ByteStringgetPermissionsBytes(int index) A list of permissions.intA list of permissions.A list of permissions.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPermissionsList
A list of permissions. Example permission string: "compute.disk.get".
repeated string permissions = 1;- Returns:
- A list containing the permissions.
-
getPermissionsCount
int getPermissionsCount()A list of permissions. Example permission string: "compute.disk.get".
repeated string permissions = 1;- Returns:
- The count of permissions.
-
getPermissions
A list of permissions. Example permission string: "compute.disk.get".
repeated string permissions = 1;- Parameters:
index- The index of the element to return.- Returns:
- The permissions at the given index.
-
getPermissionsBytes
com.google.protobuf.ByteString getPermissionsBytes(int index) A list of permissions. Example permission string: "compute.disk.get".
repeated string permissions = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the permissions at the given index.
-