Enum Workload.SaaEnrollmentResponse.SetupError
java.lang.Object
java.lang.Enum<Workload.SaaEnrollmentResponse.SetupError>
com.google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Workload.SaaEnrollmentResponse.SetupError>
- Enclosing class:
- Workload.SaaEnrollmentResponse
public static enum Workload.SaaEnrollmentResponse.SetupError
extends Enum<Workload.SaaEnrollmentResponse.SetupError>
implements com.google.protobuf.ProtocolMessageEnum
Setup error of SAA enrollment.Protobuf enum
google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInvalid states for all customers, to be redirected to AA UI for additional details.Returned when there is not an EKM key configured.Returned when there are no enrolled services or the customer is enrolled in CAA only for a subset of services.Returned when exception was encountered during evaluation of other criteria.Unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intInvalid states for all customers, to be redirected to AA UI for additional details.static final intReturned when there is not an EKM key configured.static final intReturned when there are no enrolled services or the customer is enrolled in CAA only for a subset of services.static final intReturned when exception was encountered during evaluation of other criteria.static final intUnspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Workload.SaaEnrollmentResponse.SetupError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SETUP_ERROR_UNSPECIFIED
Unspecified.
SETUP_ERROR_UNSPECIFIED = 0; -
ERROR_INVALID_BASE_SETUP
Invalid states for all customers, to be redirected to AA UI for additional details.
ERROR_INVALID_BASE_SETUP = 1; -
ERROR_MISSING_EXTERNAL_SIGNING_KEY
Returned when there is not an EKM key configured.
ERROR_MISSING_EXTERNAL_SIGNING_KEY = 2; -
ERROR_NOT_ALL_SERVICES_ENROLLED
Returned when there are no enrolled services or the customer is enrolled in CAA only for a subset of services.
ERROR_NOT_ALL_SERVICES_ENROLLED = 3; -
ERROR_SETUP_CHECK_FAILED
Returned when exception was encountered during evaluation of other criteria.
ERROR_SETUP_CHECK_FAILED = 4; -
UNRECOGNIZED
-
-
Field Details
-
SETUP_ERROR_UNSPECIFIED_VALUE
public static final int SETUP_ERROR_UNSPECIFIED_VALUEUnspecified.
SETUP_ERROR_UNSPECIFIED = 0;- See Also:
-
ERROR_INVALID_BASE_SETUP_VALUE
public static final int ERROR_INVALID_BASE_SETUP_VALUEInvalid states for all customers, to be redirected to AA UI for additional details.
ERROR_INVALID_BASE_SETUP = 1;- See Also:
-
ERROR_MISSING_EXTERNAL_SIGNING_KEY_VALUE
public static final int ERROR_MISSING_EXTERNAL_SIGNING_KEY_VALUEReturned when there is not an EKM key configured.
ERROR_MISSING_EXTERNAL_SIGNING_KEY = 2;- See Also:
-
ERROR_NOT_ALL_SERVICES_ENROLLED_VALUE
public static final int ERROR_NOT_ALL_SERVICES_ENROLLED_VALUEReturned when there are no enrolled services or the customer is enrolled in CAA only for a subset of services.
ERROR_NOT_ALL_SERVICES_ENROLLED = 3;- See Also:
-
ERROR_SETUP_CHECK_FAILED_VALUE
public static final int ERROR_SETUP_CHECK_FAILED_VALUEReturned when exception was encountered during evaluation of other criteria.
ERROR_SETUP_CHECK_FAILED = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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<Workload.SaaEnrollmentResponse.SetupError> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Workload.SaaEnrollmentResponse.SetupError 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 nameNullPointerException- if the argument is null
-