public static enum Subscription.State extends Enum<Subscription.State> implements com.google.protobuf.ProtocolMessageEnum
State of the subscription.Protobuf enum
google.cloud.bigquery.analyticshub.v1.Subscription.State| Enum Constant and Description |
|---|
STATE_ACTIVE
This subscription is active and the data is accessible.
|
STATE_INACTIVE
This subscription has been cancelled or revoked and the data is no longer
accessible.
|
STATE_STALE
The data referenced by this subscription is out of date and should be
refreshed.
|
STATE_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_ACTIVE_VALUE
This subscription is active and the data is accessible.
|
static int |
STATE_INACTIVE_VALUE
This subscription has been cancelled or revoked and the data is no longer
accessible.
|
static int |
STATE_STALE_VALUE
The data referenced by this subscription is out of date and should be
refreshed.
|
static int |
STATE_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static Subscription.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<Subscription.State> |
internalGetValueMap() |
static Subscription.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Subscription.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Subscription.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Subscription.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Subscription.State STATE_UNSPECIFIED
Default value. This value is unused.
STATE_UNSPECIFIED = 0;public static final Subscription.State STATE_ACTIVE
This subscription is active and the data is accessible.
STATE_ACTIVE = 1;public static final Subscription.State STATE_STALE
The data referenced by this subscription is out of date and should be refreshed. This can happen when a data provider adds or removes datasets.
STATE_STALE = 2;public static final Subscription.State STATE_INACTIVE
This subscription has been cancelled or revoked and the data is no longer accessible.
STATE_INACTIVE = 3;public static final Subscription.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Default value. This value is unused.
STATE_UNSPECIFIED = 0;public static final int STATE_ACTIVE_VALUE
This subscription is active and the data is accessible.
STATE_ACTIVE = 1;public static final int STATE_STALE_VALUE
The data referenced by this subscription is out of date and should be refreshed. This can happen when a data provider adds or removes datasets.
STATE_STALE = 2;public static final int STATE_INACTIVE_VALUE
This subscription has been cancelled or revoked and the data is no longer accessible.
STATE_INACTIVE = 3;public static Subscription.State[] values()
for (Subscription.State c : Subscription.State.values()) System.out.println(c);
public static Subscription.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 Subscription.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Subscription.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Subscription.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 Subscription.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.