Interface KeyAccessJustificationsPolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
KeyAccessJustificationsPolicy, KeyAccessJustificationsPolicy.Builder

@Generated public interface KeyAccessJustificationsPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The list of allowed reasons for access to a [CryptoKey][google.cloud.kms.v1.CryptoKey].
    int
    The list of allowed reasons for access to a [CryptoKey][google.cloud.kms.v1.CryptoKey].
    The list of allowed reasons for access to a [CryptoKey][google.cloud.kms.v1.CryptoKey].
    int
    The list of allowed reasons for access to a [CryptoKey][google.cloud.kms.v1.CryptoKey].
    The list of allowed reasons for access to a [CryptoKey][google.cloud.kms.v1.CryptoKey].

    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

    • getAllowedAccessReasonsList

      List<AccessReason> getAllowedAccessReasonsList()
       The list of allowed reasons for access to a
       [CryptoKey][google.cloud.kms.v1.CryptoKey]. Note that empty
       allowed_access_reasons has a different meaning depending on where this
       message appears. If this is under
       [KeyAccessJustificationsPolicyConfig][google.cloud.kms.v1.KeyAccessJustificationsPolicyConfig],
       it means allow-all. If this is under
       [CryptoKey][google.cloud.kms.v1.CryptoKey], it means deny-all.
       
      repeated .google.cloud.kms.v1.AccessReason allowed_access_reasons = 1;
      Returns:
      A list containing the allowedAccessReasons.
    • getAllowedAccessReasonsCount

      int getAllowedAccessReasonsCount()
       The list of allowed reasons for access to a
       [CryptoKey][google.cloud.kms.v1.CryptoKey]. Note that empty
       allowed_access_reasons has a different meaning depending on where this
       message appears. If this is under
       [KeyAccessJustificationsPolicyConfig][google.cloud.kms.v1.KeyAccessJustificationsPolicyConfig],
       it means allow-all. If this is under
       [CryptoKey][google.cloud.kms.v1.CryptoKey], it means deny-all.
       
      repeated .google.cloud.kms.v1.AccessReason allowed_access_reasons = 1;
      Returns:
      The count of allowedAccessReasons.
    • getAllowedAccessReasons

      AccessReason getAllowedAccessReasons(int index)
       The list of allowed reasons for access to a
       [CryptoKey][google.cloud.kms.v1.CryptoKey]. Note that empty
       allowed_access_reasons has a different meaning depending on where this
       message appears. If this is under
       [KeyAccessJustificationsPolicyConfig][google.cloud.kms.v1.KeyAccessJustificationsPolicyConfig],
       it means allow-all. If this is under
       [CryptoKey][google.cloud.kms.v1.CryptoKey], it means deny-all.
       
      repeated .google.cloud.kms.v1.AccessReason allowed_access_reasons = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The allowedAccessReasons at the given index.
    • getAllowedAccessReasonsValueList

      List<Integer> getAllowedAccessReasonsValueList()
       The list of allowed reasons for access to a
       [CryptoKey][google.cloud.kms.v1.CryptoKey]. Note that empty
       allowed_access_reasons has a different meaning depending on where this
       message appears. If this is under
       [KeyAccessJustificationsPolicyConfig][google.cloud.kms.v1.KeyAccessJustificationsPolicyConfig],
       it means allow-all. If this is under
       [CryptoKey][google.cloud.kms.v1.CryptoKey], it means deny-all.
       
      repeated .google.cloud.kms.v1.AccessReason allowed_access_reasons = 1;
      Returns:
      A list containing the enum numeric values on the wire for allowedAccessReasons.
    • getAllowedAccessReasonsValue

      int getAllowedAccessReasonsValue(int index)
       The list of allowed reasons for access to a
       [CryptoKey][google.cloud.kms.v1.CryptoKey]. Note that empty
       allowed_access_reasons has a different meaning depending on where this
       message appears. If this is under
       [KeyAccessJustificationsPolicyConfig][google.cloud.kms.v1.KeyAccessJustificationsPolicyConfig],
       it means allow-all. If this is under
       [CryptoKey][google.cloud.kms.v1.CryptoKey], it means deny-all.
       
      repeated .google.cloud.kms.v1.AccessReason allowed_access_reasons = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of allowedAccessReasons at the given index.