Package com.google.cloud.compute.v1
Interface TestPermissionsResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TestPermissionsResponse
,TestPermissionsResponse.Builder
public interface TestPermissionsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPermissions(int index)
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.com.google.protobuf.ByteString
getPermissionsBytes(int index)
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.int
getPermissionsCount()
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.List<String>
getPermissionsList()
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.-
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 subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 59962500;
- Returns:
- A list containing the permissions.
-
getPermissionsCount
int getPermissionsCount()
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 59962500;
- Returns:
- The count of permissions.
-
getPermissions
String getPermissions(int index)
A subset of `TestPermissionsRequest.permissions` that the caller is 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)
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 59962500;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the permissions at the given index.
-
-