Enum Workload.SaaEnrollmentResponse.SetupError
- java.lang.Object
-
- java.lang.Enum<Workload.SaaEnrollmentResponse.SetupError>
-
- com.google.cloud.assuredworkloads.v1beta1.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 enumgoogle.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_INVALID_BASE_SETUP
Invalid states for all customers, to be redirected to AA UI for additional details.ERROR_MISSING_EXTERNAL_SIGNING_KEY
Returned when there is not an EKM key configured.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_SETUP_CHECK_FAILED
Returned when exception was encountered during evaluation of other criteria.SETUP_ERROR_UNSPECIFIED
Unspecified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ERROR_INVALID_BASE_SETUP_VALUE
Invalid states for all customers, to be redirected to AA UI for additional details.static int
ERROR_MISSING_EXTERNAL_SIGNING_KEY_VALUE
Returned when there is not an EKM key configured.static int
ERROR_NOT_ALL_SERVICES_ENROLLED_VALUE
Returned when there are no enrolled services or the customer is enrolled in CAA only for a subset of services.static int
ERROR_SETUP_CHECK_FAILED_VALUE
Returned when exception was encountered during evaluation of other criteria.static int
SETUP_ERROR_UNSPECIFIED_VALUE
Unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Workload.SaaEnrollmentResponse.SetupError
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Workload.SaaEnrollmentResponse.SetupError>
internalGetValueMap()
static Workload.SaaEnrollmentResponse.SetupError
valueOf(int value)
Deprecated.static Workload.SaaEnrollmentResponse.SetupError
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Workload.SaaEnrollmentResponse.SetupError
valueOf(String name)
Returns the enum constant of this type with the specified name.static Workload.SaaEnrollmentResponse.SetupError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SETUP_ERROR_UNSPECIFIED
public static final Workload.SaaEnrollmentResponse.SetupError SETUP_ERROR_UNSPECIFIED
Unspecified.
SETUP_ERROR_UNSPECIFIED = 0;
-
ERROR_INVALID_BASE_SETUP
public static final Workload.SaaEnrollmentResponse.SetupError 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
public static final Workload.SaaEnrollmentResponse.SetupError 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
public static final Workload.SaaEnrollmentResponse.SetupError 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
public static final Workload.SaaEnrollmentResponse.SetupError ERROR_SETUP_CHECK_FAILED
Returned when exception was encountered during evaluation of other criteria.
ERROR_SETUP_CHECK_FAILED = 4;
-
UNRECOGNIZED
public static final Workload.SaaEnrollmentResponse.SetupError UNRECOGNIZED
-
-
Field Detail
-
SETUP_ERROR_UNSPECIFIED_VALUE
public static final int SETUP_ERROR_UNSPECIFIED_VALUE
Unspecified.
SETUP_ERROR_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
ERROR_INVALID_BASE_SETUP_VALUE
public static final int ERROR_INVALID_BASE_SETUP_VALUE
Invalid states for all customers, to be redirected to AA UI for additional details.
ERROR_INVALID_BASE_SETUP = 1;
- See Also:
- Constant Field Values
-
ERROR_MISSING_EXTERNAL_SIGNING_KEY_VALUE
public static final int ERROR_MISSING_EXTERNAL_SIGNING_KEY_VALUE
Returned when there is not an EKM key configured.
ERROR_MISSING_EXTERNAL_SIGNING_KEY = 2;
- See Also:
- Constant Field Values
-
ERROR_NOT_ALL_SERVICES_ENROLLED_VALUE
public static final int ERROR_NOT_ALL_SERVICES_ENROLLED_VALUE
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;
- See Also:
- Constant Field Values
-
ERROR_SETUP_CHECK_FAILED_VALUE
public static final int ERROR_SETUP_CHECK_FAILED_VALUE
Returned when exception was encountered during evaluation of other criteria.
ERROR_SETUP_CHECK_FAILED = 4;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Workload.SaaEnrollmentResponse.SetupError[] 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 (Workload.SaaEnrollmentResponse.SetupError c : Workload.SaaEnrollmentResponse.SetupError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Workload.SaaEnrollmentResponse.SetupError 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Workload.SaaEnrollmentResponse.SetupError 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 nameNullPointerException
- if the argument is null
-
forNumber
public static Workload.SaaEnrollmentResponse.SetupError 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<Workload.SaaEnrollmentResponse.SetupError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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
-
-