Package com.google.cloud.compute.v1
Interface TestPermissionsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TestPermissionsRequest,TestPermissionsRequest.Builder
@Generated
public interface TestPermissionsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPermissions(int index) The set of permissions to check for the 'resource'.com.google.protobuf.ByteStringgetPermissionsBytes(int index) The set of permissions to check for the 'resource'.intThe set of permissions to check for the 'resource'.The set of permissions to check for the 'resource'.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
The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
repeated string permissions = 59962500;- Returns:
- A list containing the permissions.
-
getPermissionsCount
int getPermissionsCount()The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
repeated string permissions = 59962500;- Returns:
- The count of permissions.
-
getPermissions
The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
repeated string permissions = 59962500;- Parameters:
index- The index of the element to return.- Returns:
- The permissions at the given index.
-
getPermissionsBytes
com.google.protobuf.ByteString getPermissionsBytes(int index) The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
repeated string permissions = 59962500;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the permissions at the given index.
-