Enum AccessReason.Type

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AccessReason.Type>
    Enclosing class:
    AccessReason

    public static enum AccessReason.Type
    extends Enum<AccessReason.Type>
    implements com.google.protobuf.ProtocolMessageEnum
     Type of access justification.
     
    Protobuf enum google.cloud.accessapproval.v1.AccessReason.Type
    • Enum Constant Detail

      • TYPE_UNSPECIFIED

        public static final AccessReason.Type TYPE_UNSPECIFIED
         Default value for proto, shouldn't be used.
         
        TYPE_UNSPECIFIED = 0;
      • CUSTOMER_INITIATED_SUPPORT

        public static final AccessReason.Type CUSTOMER_INITIATED_SUPPORT
         Customer made a request or raised an issue that required the principal to
         access customer data. `detail` is of the form ("#####" is the issue ID):
        
           * "Feedback Report: #####"
           * "Case Number: #####"
           * "Case ID: #####"
           * "E-PIN Reference: #####"
           * "Google-#####"
           * "T-#####"
         
        CUSTOMER_INITIATED_SUPPORT = 1;
      • GOOGLE_INITIATED_SERVICE

        public static final AccessReason.Type GOOGLE_INITIATED_SERVICE
         The principal accessed customer data in order to diagnose or resolve a
         suspected issue in services. Often this access is used to confirm that
         customers are not affected by a suspected service issue or to remediate a
         reversible system issue.
         
        GOOGLE_INITIATED_SERVICE = 2;
      • GOOGLE_INITIATED_REVIEW

        public static final AccessReason.Type GOOGLE_INITIATED_REVIEW
         Google initiated service for security, fraud, abuse, or compliance
         purposes.
         
        GOOGLE_INITIATED_REVIEW = 3;
      • THIRD_PARTY_DATA_REQUEST

        public static final AccessReason.Type THIRD_PARTY_DATA_REQUEST
         The principal was compelled to access customer data in order to respond
         to a legal third party data request or process, including legal processes
         from customers themselves.
         
        THIRD_PARTY_DATA_REQUEST = 4;
      • GOOGLE_RESPONSE_TO_PRODUCTION_ALERT

        public static final AccessReason.Type GOOGLE_RESPONSE_TO_PRODUCTION_ALERT
         The principal accessed customer data in order to diagnose or resolve a
         suspected issue in services or a known outage.
         
        GOOGLE_RESPONSE_TO_PRODUCTION_ALERT = 5;
    • Field Detail

      • TYPE_UNSPECIFIED_VALUE

        public static final int TYPE_UNSPECIFIED_VALUE
         Default value for proto, shouldn't be used.
         
        TYPE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • CUSTOMER_INITIATED_SUPPORT_VALUE

        public static final int CUSTOMER_INITIATED_SUPPORT_VALUE
         Customer made a request or raised an issue that required the principal to
         access customer data. `detail` is of the form ("#####" is the issue ID):
        
           * "Feedback Report: #####"
           * "Case Number: #####"
           * "Case ID: #####"
           * "E-PIN Reference: #####"
           * "Google-#####"
           * "T-#####"
         
        CUSTOMER_INITIATED_SUPPORT = 1;
        See Also:
        Constant Field Values
      • GOOGLE_INITIATED_SERVICE_VALUE

        public static final int GOOGLE_INITIATED_SERVICE_VALUE
         The principal accessed customer data in order to diagnose or resolve a
         suspected issue in services. Often this access is used to confirm that
         customers are not affected by a suspected service issue or to remediate a
         reversible system issue.
         
        GOOGLE_INITIATED_SERVICE = 2;
        See Also:
        Constant Field Values
      • GOOGLE_INITIATED_REVIEW_VALUE

        public static final int GOOGLE_INITIATED_REVIEW_VALUE
         Google initiated service for security, fraud, abuse, or compliance
         purposes.
         
        GOOGLE_INITIATED_REVIEW = 3;
        See Also:
        Constant Field Values
      • THIRD_PARTY_DATA_REQUEST_VALUE

        public static final int THIRD_PARTY_DATA_REQUEST_VALUE
         The principal was compelled to access customer data in order to respond
         to a legal third party data request or process, including legal processes
         from customers themselves.
         
        THIRD_PARTY_DATA_REQUEST = 4;
        See Also:
        Constant Field Values
      • GOOGLE_RESPONSE_TO_PRODUCTION_ALERT_VALUE

        public static final int GOOGLE_RESPONSE_TO_PRODUCTION_ALERT_VALUE
         The principal accessed customer data in order to diagnose or resolve a
         suspected issue in services or a known outage.
         
        GOOGLE_RESPONSE_TO_PRODUCTION_ALERT = 5;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static AccessReason.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AccessReason.Type c : AccessReason.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AccessReason.Type valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static AccessReason.Type valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static AccessReason.Type forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<AccessReason.Type> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static AccessReason.Type valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null