Interface Authz.PermissionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Authz.Permission, Authz.Permission.Builder
Enclosing class:
Authz

public static interface Authz.PermissionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getActions(int index)
    The set of actions allowed on the resource, e.g.
    com.google.protobuf.ByteString
    getActionsBytes(int index)
    The set of actions allowed on the resource, e.g.
    int
    The set of actions allowed on the resource, e.g.
    The set of actions allowed on the resource, e.g.
    The specific resource ID, or empty for all resources of this type.
    com.google.protobuf.ByteString
    The specific resource ID, or empty for all resources of this type.
    The type of resource this permission applies to, e.g.
    com.google.protobuf.ByteString
    The type of resource this permission applies to, e.g.

    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

    • getResourceType

      String getResourceType()
       The type of resource this permission applies to, e.g. "instance",
       "vault/object", "token/revokable".
       
      string resource_type = 1;
      Returns:
      The resourceType.
    • getResourceTypeBytes

      com.google.protobuf.ByteString getResourceTypeBytes()
       The type of resource this permission applies to, e.g. "instance",
       "vault/object", "token/revokable".
       
      string resource_type = 1;
      Returns:
      The bytes for resourceType.
    • getResourceId

      String getResourceId()
       The specific resource ID, or empty for all resources of this type.
       
      string resource_id = 2;
      Returns:
      The resourceId.
    • getResourceIdBytes

      com.google.protobuf.ByteString getResourceIdBytes()
       The specific resource ID, or empty for all resources of this type.
       
      string resource_id = 2;
      Returns:
      The bytes for resourceId.
    • getActionsList

      List<String> getActionsList()
       The set of actions allowed on the resource, e.g. "create", "list",
       "describe".
       
      repeated string actions = 3;
      Returns:
      A list containing the actions.
    • getActionsCount

      int getActionsCount()
       The set of actions allowed on the resource, e.g. "create", "list",
       "describe".
       
      repeated string actions = 3;
      Returns:
      The count of actions.
    • getActions

      String getActions(int index)
       The set of actions allowed on the resource, e.g. "create", "list",
       "describe".
       
      repeated string actions = 3;
      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 set of actions allowed on the resource, e.g. "create", "list",
       "describe".
       
      repeated string actions = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the actions at the given index.