public static enum Listing.BigQueryDatasetSource.Replica.PrimaryState extends Enum<Listing.BigQueryDatasetSource.Replica.PrimaryState> implements com.google.protobuf.ProtocolMessageEnum
Primary state of the replica. Set only for the primary replica.Protobuf enum
google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.PrimaryState| Enum Constant and Description |
|---|
PRIMARY_REPLICA
The replica is the primary replica.
|
PRIMARY_STATE_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
PRIMARY_REPLICA_VALUE
The replica is the primary replica.
|
static int |
PRIMARY_STATE_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static Listing.BigQueryDatasetSource.Replica.PrimaryState |
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<Listing.BigQueryDatasetSource.Replica.PrimaryState> |
internalGetValueMap() |
static Listing.BigQueryDatasetSource.Replica.PrimaryState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Listing.BigQueryDatasetSource.Replica.PrimaryState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Listing.BigQueryDatasetSource.Replica.PrimaryState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Listing.BigQueryDatasetSource.Replica.PrimaryState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Listing.BigQueryDatasetSource.Replica.PrimaryState PRIMARY_STATE_UNSPECIFIED
Default value. This value is unused.
PRIMARY_STATE_UNSPECIFIED = 0;public static final Listing.BigQueryDatasetSource.Replica.PrimaryState PRIMARY_REPLICA
The replica is the primary replica.
PRIMARY_REPLICA = 1;public static final Listing.BigQueryDatasetSource.Replica.PrimaryState UNRECOGNIZED
public static final int PRIMARY_STATE_UNSPECIFIED_VALUE
Default value. This value is unused.
PRIMARY_STATE_UNSPECIFIED = 0;public static final int PRIMARY_REPLICA_VALUE
The replica is the primary replica.
PRIMARY_REPLICA = 1;public static Listing.BigQueryDatasetSource.Replica.PrimaryState[] values()
for (Listing.BigQueryDatasetSource.Replica.PrimaryState c : Listing.BigQueryDatasetSource.Replica.PrimaryState.values()) System.out.println(c);
public static Listing.BigQueryDatasetSource.Replica.PrimaryState 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 Listing.BigQueryDatasetSource.Replica.PrimaryState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Listing.BigQueryDatasetSource.Replica.PrimaryState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Listing.BigQueryDatasetSource.Replica.PrimaryState> 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 Listing.BigQueryDatasetSource.Replica.PrimaryState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.