Class AccessPolicyRule.Operation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.iam.v3beta.AccessPolicyRule.Operation
All Implemented Interfaces:
AccessPolicyRule.OperationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
AccessPolicyRule

public static final class AccessPolicyRule.Operation extends com.google.protobuf.GeneratedMessage implements AccessPolicyRule.OperationOrBuilder
 Attributes that are used to determine whether this rule applies to a
 request.
 
Protobuf type google.iam.v3beta.AccessPolicyRule.Operation
See Also:
  • Field Details

    • PERMISSIONS_FIELD_NUMBER

      public static final int PERMISSIONS_FIELD_NUMBER
      See Also:
    • EXCLUDED_PERMISSIONS_FIELD_NUMBER

      public static final int EXCLUDED_PERMISSIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getPermissionsList

      public com.google.protobuf.ProtocolStringList getPermissionsList()
       Optional. The permissions that are explicitly affected by this rule. Each
       permission uses the format `{service_fqdn}/{resource}.{verb}`, where
       `{service_fqdn}` is the fully qualified domain name for the service.
       Currently supported permissions are as follows:
      
       * `eventarc.googleapis.com/messageBuses.publish`.
       
      repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPermissionsList in interface AccessPolicyRule.OperationOrBuilder
      Returns:
      A list containing the permissions.
    • getPermissionsCount

      public int getPermissionsCount()
       Optional. The permissions that are explicitly affected by this rule. Each
       permission uses the format `{service_fqdn}/{resource}.{verb}`, where
       `{service_fqdn}` is the fully qualified domain name for the service.
       Currently supported permissions are as follows:
      
       * `eventarc.googleapis.com/messageBuses.publish`.
       
      repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPermissionsCount in interface AccessPolicyRule.OperationOrBuilder
      Returns:
      The count of permissions.
    • getPermissions

      public String getPermissions(int index)
       Optional. The permissions that are explicitly affected by this rule. Each
       permission uses the format `{service_fqdn}/{resource}.{verb}`, where
       `{service_fqdn}` is the fully qualified domain name for the service.
       Currently supported permissions are as follows:
      
       * `eventarc.googleapis.com/messageBuses.publish`.
       
      repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPermissions in interface AccessPolicyRule.OperationOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The permissions at the given index.
    • getPermissionsBytes

      public com.google.protobuf.ByteString getPermissionsBytes(int index)
       Optional. The permissions that are explicitly affected by this rule. Each
       permission uses the format `{service_fqdn}/{resource}.{verb}`, where
       `{service_fqdn}` is the fully qualified domain name for the service.
       Currently supported permissions are as follows:
      
       * `eventarc.googleapis.com/messageBuses.publish`.
       
      repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPermissionsBytes in interface AccessPolicyRule.OperationOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the permissions at the given index.
    • getExcludedPermissionsList

      public com.google.protobuf.ProtocolStringList getExcludedPermissionsList()
       Optional. Specifies the permissions that this rule excludes from the set
       of affected permissions given by `permissions`. If a permission appears
       in `permissions` _and_ in `excluded_permissions` then it will _not_ be
       subject to the policy effect.
      
       The excluded permissions can be specified using the same syntax as
       `permissions`.
       
      repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludedPermissionsList in interface AccessPolicyRule.OperationOrBuilder
      Returns:
      A list containing the excludedPermissions.
    • getExcludedPermissionsCount

      public int getExcludedPermissionsCount()
       Optional. Specifies the permissions that this rule excludes from the set
       of affected permissions given by `permissions`. If a permission appears
       in `permissions` _and_ in `excluded_permissions` then it will _not_ be
       subject to the policy effect.
      
       The excluded permissions can be specified using the same syntax as
       `permissions`.
       
      repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludedPermissionsCount in interface AccessPolicyRule.OperationOrBuilder
      Returns:
      The count of excludedPermissions.
    • getExcludedPermissions

      public String getExcludedPermissions(int index)
       Optional. Specifies the permissions that this rule excludes from the set
       of affected permissions given by `permissions`. If a permission appears
       in `permissions` _and_ in `excluded_permissions` then it will _not_ be
       subject to the policy effect.
      
       The excluded permissions can be specified using the same syntax as
       `permissions`.
       
      repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludedPermissions in interface AccessPolicyRule.OperationOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludedPermissions at the given index.
    • getExcludedPermissionsBytes

      public com.google.protobuf.ByteString getExcludedPermissionsBytes(int index)
       Optional. Specifies the permissions that this rule excludes from the set
       of affected permissions given by `permissions`. If a permission appears
       in `permissions` _and_ in `excluded_permissions` then it will _not_ be
       subject to the policy effect.
      
       The excluded permissions can be specified using the same syntax as
       `permissions`.
       
      repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExcludedPermissionsBytes in interface AccessPolicyRule.OperationOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludedPermissions at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AccessPolicyRule.Operation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessPolicyRule.Operation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessPolicyRule.Operation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessPolicyRule.Operation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessPolicyRule.Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessPolicyRule.Operation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessPolicyRule.Operation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessPolicyRule.Operation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AccessPolicyRule.Operation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AccessPolicyRule.Operation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessPolicyRule.Operation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessPolicyRule.Operation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AccessPolicyRule.Operation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AccessPolicyRule.Operation.Builder newBuilder()
    • newBuilder

      public static AccessPolicyRule.Operation.Builder newBuilder(AccessPolicyRule.Operation prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AccessPolicyRule.Operation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AccessPolicyRule.Operation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AccessPolicyRule.Operation> parser()
    • getParserForType

      public com.google.protobuf.Parser<AccessPolicyRule.Operation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AccessPolicyRule.Operation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder