public static enum QueryTemplate.State extends Enum<QueryTemplate.State> implements com.google.protobuf.ProtocolMessageEnum
The QueryTemplate lifecycle state.Protobuf enum
google.cloud.bigquery.analyticshub.v1.QueryTemplate.State| Enum Constant and Description |
|---|
APPROVED
The QueryTemplate is in approved state.
|
DELETED
The QueryTemplate is in deleted state.
|
DRAFTED
The QueryTemplate is in draft state.
|
PENDING
The QueryTemplate is in pending state.
|
STATE_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
APPROVED_VALUE
The QueryTemplate is in approved state.
|
static int |
DELETED_VALUE
The QueryTemplate is in deleted state.
|
static int |
DRAFTED_VALUE
The QueryTemplate is in draft state.
|
static int |
PENDING_VALUE
The QueryTemplate is in pending state.
|
static int |
STATE_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static QueryTemplate.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<QueryTemplate.State> |
internalGetValueMap() |
static QueryTemplate.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static QueryTemplate.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static QueryTemplate.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryTemplate.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryTemplate.State STATE_UNSPECIFIED
Default value. This value is unused.
STATE_UNSPECIFIED = 0;public static final QueryTemplate.State DRAFTED
The QueryTemplate is in draft state.
DRAFTED = 1;public static final QueryTemplate.State PENDING
The QueryTemplate is in pending state.
PENDING = 2;public static final QueryTemplate.State DELETED
The QueryTemplate is in deleted state.
DELETED = 3;public static final QueryTemplate.State APPROVED
The QueryTemplate is in approved state.
APPROVED = 4;public static final QueryTemplate.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Default value. This value is unused.
STATE_UNSPECIFIED = 0;public static final int DRAFTED_VALUE
The QueryTemplate is in draft state.
DRAFTED = 1;public static final int PENDING_VALUE
The QueryTemplate is in pending state.
PENDING = 2;public static final int DELETED_VALUE
The QueryTemplate is in deleted state.
DELETED = 3;public static final int APPROVED_VALUE
The QueryTemplate is in approved state.
APPROVED = 4;public static QueryTemplate.State[] values()
for (QueryTemplate.State c : QueryTemplate.State.values()) System.out.println(c);
public static QueryTemplate.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 QueryTemplate.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static QueryTemplate.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<QueryTemplate.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 QueryTemplate.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.