Interface CustomRoleSpec.ResourcesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomRoleSpec.Resources,CustomRoleSpec.Resources.Builder
- Enclosing class:
CustomRoleSpec
public static interface CustomRoleSpec.ResourcesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the permission applies to all resources of the given type.getResourceIds(int index) The resource IDs the permission applies to.com.google.protobuf.ByteStringgetResourceIdsBytes(int index) The resource IDs the permission applies to.intThe resource IDs the permission applies to.The resource IDs the permission applies to.The resource type the permission applies to.com.google.protobuf.ByteStringThe resource type the permission applies to.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
-
getResourceType
String getResourceType()The resource type the permission applies to.
string resource_type = 1;- Returns:
- The resourceType.
-
getResourceTypeBytes
com.google.protobuf.ByteString getResourceTypeBytes()The resource type the permission applies to.
string resource_type = 1;- Returns:
- The bytes for resourceType.
-
getResourceIdsList
-
getResourceIdsCount
int getResourceIdsCount()The resource IDs the permission applies to. Can be empty if allow_all is true.
repeated string resource_ids = 2;- Returns:
- The count of resourceIds.
-
getResourceIds
The resource IDs the permission applies to. Can be empty if allow_all is true.
repeated string resource_ids = 2;- Parameters:
index- The index of the element to return.- Returns:
- The resourceIds at the given index.
-
getResourceIdsBytes
com.google.protobuf.ByteString getResourceIdsBytes(int index) The resource IDs the permission applies to. Can be empty if allow_all is true.
repeated string resource_ids = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resourceIds at the given index.
-
getAllowAll
boolean getAllowAll()Whether the permission applies to all resources of the given type.
bool allow_all = 3;- Returns:
- The allowAll.
-