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 Type
    Method
    Description
    getActions(int index)
    The actions allowed by the permission.
    com.google.protobuf.ByteString
    getActionsBytes(int index)
    The actions allowed by the permission.
    int
    The actions allowed by the permission.
    The actions allowed by the permission.
    The resources the permission applies to.
    The resources the permission applies to.
    boolean
    The resources the permission applies to.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      List<String> getActionsList()
       The actions allowed by the permission.
       
      repeated string actions = 2;
      Returns:
      A list containing the actions.
    • getActionsCount

      int getActionsCount()
       The actions allowed by the permission.
       
      repeated string actions = 2;
      Returns:
      The count of actions.
    • getActions

      String getActions(int index)
       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.