public enum LocalizationState extends Enum<LocalizationState> implements com.google.protobuf.ProtocolMessageEnum
Status of localized text.Protobuf enum
google.cloud.advisorynotifications.v1.LocalizationState| Enum Constant and Description |
|---|
LOCALIZATION_STATE_COMPLETED
Localization for requested language is completed.
|
LOCALIZATION_STATE_NOT_APPLICABLE
Localization is not applicable for requested language.
|
LOCALIZATION_STATE_PENDING
Localization for requested language is in progress, and not ready yet.
|
LOCALIZATION_STATE_UNSPECIFIED
Not used.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LOCALIZATION_STATE_COMPLETED_VALUE
Localization for requested language is completed.
|
static int |
LOCALIZATION_STATE_NOT_APPLICABLE_VALUE
Localization is not applicable for requested language.
|
static int |
LOCALIZATION_STATE_PENDING_VALUE
Localization for requested language is in progress, and not ready yet.
|
static int |
LOCALIZATION_STATE_UNSPECIFIED_VALUE
Not used.
|
| Modifier and Type | Method and Description |
|---|---|
static LocalizationState |
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<LocalizationState> |
internalGetValueMap() |
static LocalizationState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LocalizationState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LocalizationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalizationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalizationState LOCALIZATION_STATE_UNSPECIFIED
Not used.
LOCALIZATION_STATE_UNSPECIFIED = 0;public static final LocalizationState LOCALIZATION_STATE_NOT_APPLICABLE
Localization is not applicable for requested language. This can happen when: - The requested language was not supported by Advisory Notifications at the time of localization (including notifications created before the localization feature was launched). - The requested language is English, so only the English text is returned.
LOCALIZATION_STATE_NOT_APPLICABLE = 1;public static final LocalizationState LOCALIZATION_STATE_PENDING
Localization for requested language is in progress, and not ready yet.
LOCALIZATION_STATE_PENDING = 2;public static final LocalizationState LOCALIZATION_STATE_COMPLETED
Localization for requested language is completed.
LOCALIZATION_STATE_COMPLETED = 3;public static final LocalizationState UNRECOGNIZED
public static final int LOCALIZATION_STATE_UNSPECIFIED_VALUE
Not used.
LOCALIZATION_STATE_UNSPECIFIED = 0;public static final int LOCALIZATION_STATE_NOT_APPLICABLE_VALUE
Localization is not applicable for requested language. This can happen when: - The requested language was not supported by Advisory Notifications at the time of localization (including notifications created before the localization feature was launched). - The requested language is English, so only the English text is returned.
LOCALIZATION_STATE_NOT_APPLICABLE = 1;public static final int LOCALIZATION_STATE_PENDING_VALUE
Localization for requested language is in progress, and not ready yet.
LOCALIZATION_STATE_PENDING = 2;public static final int LOCALIZATION_STATE_COMPLETED_VALUE
Localization for requested language is completed.
LOCALIZATION_STATE_COMPLETED = 3;public static LocalizationState[] values()
for (LocalizationState c : LocalizationState.values()) System.out.println(c);
public static LocalizationState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static LocalizationState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static LocalizationState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LocalizationState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LocalizationState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.