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
public interface PermissionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPermissions(int index)
A list of permissions.com.google.protobuf.ByteString
getPermissionsBytes(int index)
A list of permissions.int
getPermissionsCount()
A list of permissions.List<String>
getPermissionsList()
A list of permissions.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPermissionsList
List<String> 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
String getPermissions(int index)
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.
-
-