Interface CustomRoleSpec.PermissionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomRoleSpec.Permission,CustomRoleSpec.Permission.Builder
- Enclosing class:
CustomRoleSpec
public static interface CustomRoleSpec.PermissionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetActions(int index) The actions allowed by the permission.com.google.protobuf.ByteStringgetActionsBytes(int index) The actions allowed by the permission.intThe actions allowed by the permission.The actions allowed by the permission.The resources the permission applies to.The resources the permission applies to.booleanThe resources 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
-
hasResources
boolean hasResources()The resources the permission applies to.
.temporal.api.cloud.identity.v1.CustomRoleSpec.Resources resources = 1;- Returns:
- Whether the resources field is set.
-
getResources
CustomRoleSpec.Resources getResources()The resources the permission applies to.
.temporal.api.cloud.identity.v1.CustomRoleSpec.Resources resources = 1;- Returns:
- The resources.
-
getResourcesOrBuilder
CustomRoleSpec.ResourcesOrBuilder getResourcesOrBuilder()The resources the permission applies to.
.temporal.api.cloud.identity.v1.CustomRoleSpec.Resources resources = 1; -
getActionsList
-
getActionsCount
int getActionsCount()The actions allowed by the permission.
repeated string actions = 2;- Returns:
- The count of actions.
-
getActions
The actions allowed by the permission.
repeated string actions = 2;- Parameters:
index- The index of the element to return.- Returns:
- The actions at the given index.
-
getActionsBytes
com.google.protobuf.ByteString getActionsBytes(int index) The actions allowed by the permission.
repeated string actions = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the actions at the given index.
-