public static enum ExportConfig.State extends Enum<ExportConfig.State> implements com.google.protobuf.ProtocolMessageEnum
The desired export state.Protobuf enum
google.cloud.pubsublite.v1.ExportConfig.State| Enum Constant and Description |
|---|
ACTIVE
Messages are being exported.
|
NOT_FOUND
Messages cannot be exported due to missing resources.
|
PAUSED
Exporting messages is suspended.
|
PERMISSION_DENIED
Messages cannot be exported due to permission denied errors.
|
STATE_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
Messages are being exported.
|
static int |
NOT_FOUND_VALUE
Messages cannot be exported due to missing resources.
|
static int |
PAUSED_VALUE
Exporting messages is suspended.
|
static int |
PERMISSION_DENIED_VALUE
Messages cannot be exported due to permission denied errors.
|
static int |
STATE_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static ExportConfig.State |
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<ExportConfig.State> |
internalGetValueMap() |
static ExportConfig.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ExportConfig.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ExportConfig.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExportConfig.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportConfig.State STATE_UNSPECIFIED
Default value. This value is unused.
STATE_UNSPECIFIED = 0;public static final ExportConfig.State ACTIVE
Messages are being exported.
ACTIVE = 1;public static final ExportConfig.State PAUSED
Exporting messages is suspended.
PAUSED = 2;public static final ExportConfig.State PERMISSION_DENIED
Messages cannot be exported due to permission denied errors. Output only.
PERMISSION_DENIED = 3;public static final ExportConfig.State NOT_FOUND
Messages cannot be exported due to missing resources. Output only.
NOT_FOUND = 4;public static final ExportConfig.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Default value. This value is unused.
STATE_UNSPECIFIED = 0;public static final int ACTIVE_VALUE
Messages are being exported.
ACTIVE = 1;public static final int PAUSED_VALUE
Exporting messages is suspended.
PAUSED = 2;public static final int PERMISSION_DENIED_VALUE
Messages cannot be exported due to permission denied errors. Output only.
PERMISSION_DENIED = 3;public static final int NOT_FOUND_VALUE
Messages cannot be exported due to missing resources. Output only.
NOT_FOUND = 4;public static ExportConfig.State[] values()
for (ExportConfig.State c : ExportConfig.State.values()) System.out.println(c);
public static ExportConfig.State 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 ExportConfig.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ExportConfig.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ExportConfig.State> 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 ExportConfig.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.