public static final class Listing.BigQueryDatasetSource extends com.google.protobuf.GeneratedMessageV3 implements Listing.BigQueryDatasetSourceOrBuilder
A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber's subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber's project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset.Protobuf type
google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource| Modifier and Type | Class and Description |
|---|---|
static class |
Listing.BigQueryDatasetSource.Builder
A reference to a shared dataset.
|
static class |
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Restricted export policy used to configure restricted export on linked
dataset.
|
static interface |
Listing.BigQueryDatasetSource.RestrictedExportPolicyOrBuilder |
static class |
Listing.BigQueryDatasetSource.SelectedResource
Resource in this dataset that is selectively shared.
|
static interface |
Listing.BigQueryDatasetSource.SelectedResourceOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATASET_FIELD_NUMBER |
static int |
RESTRICTED_EXPORT_POLICY_FIELD_NUMBER |
static int |
SELECTED_RESOURCES_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DATASET_FIELD_NUMBER
public static final int SELECTED_RESOURCES_FIELD_NUMBER
public static final int RESTRICTED_EXPORT_POLICY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getDataset()
Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`
string dataset = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getDataset in interface Listing.BigQueryDatasetSourceOrBuilderpublic com.google.protobuf.ByteString getDatasetBytes()
Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`
string dataset = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getDatasetBytes in interface Listing.BigQueryDatasetSourceOrBuilderpublic List<Listing.BigQueryDatasetSource.SelectedResource> getSelectedResourcesList()
Optional. Resource in this dataset that is selectively shared. This field is required for data clean room exchanges.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.SelectedResource selected_resources = 2 [(.google.api.field_behavior) = OPTIONAL];
getSelectedResourcesList in interface Listing.BigQueryDatasetSourceOrBuilderpublic List<? extends Listing.BigQueryDatasetSource.SelectedResourceOrBuilder> getSelectedResourcesOrBuilderList()
Optional. Resource in this dataset that is selectively shared. This field is required for data clean room exchanges.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.SelectedResource selected_resources = 2 [(.google.api.field_behavior) = OPTIONAL];
getSelectedResourcesOrBuilderList in interface Listing.BigQueryDatasetSourceOrBuilderpublic int getSelectedResourcesCount()
Optional. Resource in this dataset that is selectively shared. This field is required for data clean room exchanges.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.SelectedResource selected_resources = 2 [(.google.api.field_behavior) = OPTIONAL];
getSelectedResourcesCount in interface Listing.BigQueryDatasetSourceOrBuilderpublic Listing.BigQueryDatasetSource.SelectedResource getSelectedResources(int index)
Optional. Resource in this dataset that is selectively shared. This field is required for data clean room exchanges.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.SelectedResource selected_resources = 2 [(.google.api.field_behavior) = OPTIONAL];
getSelectedResources in interface Listing.BigQueryDatasetSourceOrBuilderpublic Listing.BigQueryDatasetSource.SelectedResourceOrBuilder getSelectedResourcesOrBuilder(int index)
Optional. Resource in this dataset that is selectively shared. This field is required for data clean room exchanges.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.SelectedResource selected_resources = 2 [(.google.api.field_behavior) = OPTIONAL];
getSelectedResourcesOrBuilder in interface Listing.BigQueryDatasetSourceOrBuilderpublic boolean hasRestrictedExportPolicy()
Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.RestrictedExportPolicy restricted_export_policy = 3 [(.google.api.field_behavior) = OPTIONAL];
hasRestrictedExportPolicy in interface Listing.BigQueryDatasetSourceOrBuilderpublic Listing.BigQueryDatasetSource.RestrictedExportPolicy getRestrictedExportPolicy()
Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.RestrictedExportPolicy restricted_export_policy = 3 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedExportPolicy in interface Listing.BigQueryDatasetSourceOrBuilderpublic Listing.BigQueryDatasetSource.RestrictedExportPolicyOrBuilder getRestrictedExportPolicyOrBuilder()
Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.RestrictedExportPolicy restricted_export_policy = 3 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedExportPolicyOrBuilder in interface Listing.BigQueryDatasetSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Listing.BigQueryDatasetSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Listing.BigQueryDatasetSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Listing.BigQueryDatasetSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Listing.BigQueryDatasetSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Listing.BigQueryDatasetSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Listing.BigQueryDatasetSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Listing.BigQueryDatasetSource parseFrom(InputStream input) throws IOException
IOExceptionpublic static Listing.BigQueryDatasetSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Listing.BigQueryDatasetSource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Listing.BigQueryDatasetSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Listing.BigQueryDatasetSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Listing.BigQueryDatasetSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Listing.BigQueryDatasetSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Listing.BigQueryDatasetSource.Builder newBuilder()
public static Listing.BigQueryDatasetSource.Builder newBuilder(Listing.BigQueryDatasetSource prototype)
public Listing.BigQueryDatasetSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Listing.BigQueryDatasetSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Listing.BigQueryDatasetSource getDefaultInstance()
public static com.google.protobuf.Parser<Listing.BigQueryDatasetSource> parser()
public com.google.protobuf.Parser<Listing.BigQueryDatasetSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Listing.BigQueryDatasetSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.