public enum SharedResourceType extends Enum<SharedResourceType> implements com.google.protobuf.ProtocolMessageEnum
The underlying shared asset type shared in a listing by a publisher.Protobuf enum
google.cloud.bigquery.analyticshub.v1.SharedResourceType| Enum Constant and Description |
|---|
BIGQUERY_DATASET
BigQuery Dataset Asset.
|
PUBSUB_TOPIC
Pub/Sub Topic Asset.
|
SHARED_RESOURCE_TYPE_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BIGQUERY_DATASET_VALUE
BigQuery Dataset Asset.
|
static int |
PUBSUB_TOPIC_VALUE
Pub/Sub Topic Asset.
|
static int |
SHARED_RESOURCE_TYPE_UNSPECIFIED_VALUE
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static SharedResourceType |
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<SharedResourceType> |
internalGetValueMap() |
static SharedResourceType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SharedResourceType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SharedResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharedResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharedResourceType SHARED_RESOURCE_TYPE_UNSPECIFIED
Not specified.
SHARED_RESOURCE_TYPE_UNSPECIFIED = 0;public static final SharedResourceType BIGQUERY_DATASET
BigQuery Dataset Asset.
BIGQUERY_DATASET = 1;public static final SharedResourceType PUBSUB_TOPIC
Pub/Sub Topic Asset.
PUBSUB_TOPIC = 2;public static final SharedResourceType UNRECOGNIZED
public static final int SHARED_RESOURCE_TYPE_UNSPECIFIED_VALUE
Not specified.
SHARED_RESOURCE_TYPE_UNSPECIFIED = 0;public static final int BIGQUERY_DATASET_VALUE
BigQuery Dataset Asset.
BIGQUERY_DATASET = 1;public static final int PUBSUB_TOPIC_VALUE
Pub/Sub Topic Asset.
PUBSUB_TOPIC = 2;public static SharedResourceType[] values()
for (SharedResourceType c : SharedResourceType.values()) System.out.println(c);
public static SharedResourceType 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 SharedResourceType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SharedResourceType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SharedResourceType> 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 SharedResourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.