public enum DiscoveryType extends Enum<DiscoveryType> implements com.google.protobuf.ProtocolMessageEnum
Specifies the type of discovery on the discovery page. Note that this does not control the visibility of the exchange/listing which is defined by IAM permission.Protobuf enum
google.cloud.bigquery.analyticshub.v1.DiscoveryType| Enum Constant and Description |
|---|
DISCOVERY_TYPE_PRIVATE
The Data exchange/listing can be discovered in the 'Private' results
list.
|
DISCOVERY_TYPE_PUBLIC
The Data exchange/listing can be discovered in the 'Public' results
list.
|
DISCOVERY_TYPE_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DISCOVERY_TYPE_PRIVATE_VALUE
The Data exchange/listing can be discovered in the 'Private' results
list.
|
static int |
DISCOVERY_TYPE_PUBLIC_VALUE
The Data exchange/listing can be discovered in the 'Public' results
list.
|
static int |
DISCOVERY_TYPE_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static DiscoveryType |
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<DiscoveryType> |
internalGetValueMap() |
static DiscoveryType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DiscoveryType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DiscoveryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryType DISCOVERY_TYPE_UNSPECIFIED
Unspecified. Defaults to DISCOVERY_TYPE_PRIVATE.
DISCOVERY_TYPE_UNSPECIFIED = 0;public static final DiscoveryType DISCOVERY_TYPE_PRIVATE
The Data exchange/listing can be discovered in the 'Private' results list.
DISCOVERY_TYPE_PRIVATE = 1;public static final DiscoveryType DISCOVERY_TYPE_PUBLIC
The Data exchange/listing can be discovered in the 'Public' results list.
DISCOVERY_TYPE_PUBLIC = 2;public static final DiscoveryType UNRECOGNIZED
public static final int DISCOVERY_TYPE_UNSPECIFIED_VALUE
Unspecified. Defaults to DISCOVERY_TYPE_PRIVATE.
DISCOVERY_TYPE_UNSPECIFIED = 0;public static final int DISCOVERY_TYPE_PRIVATE_VALUE
The Data exchange/listing can be discovered in the 'Private' results list.
DISCOVERY_TYPE_PRIVATE = 1;public static final int DISCOVERY_TYPE_PUBLIC_VALUE
The Data exchange/listing can be discovered in the 'Public' results list.
DISCOVERY_TYPE_PUBLIC = 2;public static DiscoveryType[] values()
for (DiscoveryType c : DiscoveryType.values()) System.out.println(c);
public static DiscoveryType 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 DiscoveryType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DiscoveryType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DiscoveryType> 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 DiscoveryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.