public static final class Subscription.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder> implements SubscriptionOrBuilder
A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.Protobuf type
google.cloud.bigquery.analyticshub.v1.SubscriptiongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public Subscription.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public Subscription getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Subscription build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Subscription buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Subscription.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public Subscription.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public Subscription.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public Subscription.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public Subscription.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public Subscription.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public Subscription.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Subscription.Builder>public Subscription.Builder mergeFrom(Subscription other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public Subscription.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Subscription.Builder>IOExceptionpublic Subscription.ResourceNameCase getResourceNameCase()
getResourceNameCase in interface SubscriptionOrBuilderpublic Subscription.Builder clearResourceName()
public boolean hasListing()
Output only. Resource name of the source Listing. e.g. projects/123/locations/us/dataExchanges/456/listings/789
string listing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];hasListing in interface SubscriptionOrBuilderpublic String getListing()
Output only. Resource name of the source Listing. e.g. projects/123/locations/us/dataExchanges/456/listings/789
string listing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getListing in interface SubscriptionOrBuilderpublic com.google.protobuf.ByteString getListingBytes()
Output only. Resource name of the source Listing. e.g. projects/123/locations/us/dataExchanges/456/listings/789
string listing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getListingBytes in interface SubscriptionOrBuilderpublic Subscription.Builder setListing(String value)
Output only. Resource name of the source Listing. e.g. projects/123/locations/us/dataExchanges/456/listings/789
string listing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The listing to set.public Subscription.Builder clearListing()
Output only. Resource name of the source Listing. e.g. projects/123/locations/us/dataExchanges/456/listings/789
string listing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];public Subscription.Builder setListingBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the source Listing. e.g. projects/123/locations/us/dataExchanges/456/listings/789
string listing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for listing to set.public boolean hasDataExchange()
Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456
string data_exchange = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];hasDataExchange in interface SubscriptionOrBuilderpublic String getDataExchange()
Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456
string data_exchange = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getDataExchange in interface SubscriptionOrBuilderpublic com.google.protobuf.ByteString getDataExchangeBytes()
Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456
string data_exchange = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getDataExchangeBytes in interface SubscriptionOrBuilderpublic Subscription.Builder setDataExchange(String value)
Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456
string data_exchange = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The dataExchange to set.public Subscription.Builder clearDataExchange()
Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456
string data_exchange = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public Subscription.Builder setDataExchangeBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456
string data_exchange = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for dataExchange to set.public String getName()
Output only. The resource name of the subscription. e.g. `projects/myproject/locations/us/subscriptions/123`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface SubscriptionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the subscription. e.g. `projects/myproject/locations/us/subscriptions/123`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface SubscriptionOrBuilderpublic Subscription.Builder setName(String value)
Output only. The resource name of the subscription. e.g. `projects/myproject/locations/us/subscriptions/123`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Subscription.Builder clearName()
Output only. The resource name of the subscription. e.g. `projects/myproject/locations/us/subscriptions/123`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Subscription.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the subscription. e.g. `projects/myproject/locations/us/subscriptions/123`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public boolean hasCreationTime()
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreationTime in interface SubscriptionOrBuilderpublic com.google.protobuf.Timestamp getCreationTime()
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreationTime in interface SubscriptionOrBuilderpublic Subscription.Builder setCreationTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder mergeCreationTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder clearCreationTime()
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder()
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreationTimeOrBuilder in interface SubscriptionOrBuilderpublic boolean hasLastModifyTime()
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasLastModifyTime in interface SubscriptionOrBuilderpublic com.google.protobuf.Timestamp getLastModifyTime()
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastModifyTime in interface SubscriptionOrBuilderpublic Subscription.Builder setLastModifyTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder setLastModifyTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder mergeLastModifyTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder clearLastModifyTime()
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getLastModifyTimeBuilder()
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getLastModifyTimeOrBuilder()
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastModifyTimeOrBuilder in interface SubscriptionOrBuilderpublic String getOrganizationId()
Output only. Organization of the project this subscription belongs to.
string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getOrganizationId in interface SubscriptionOrBuilderpublic com.google.protobuf.ByteString getOrganizationIdBytes()
Output only. Organization of the project this subscription belongs to.
string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getOrganizationIdBytes in interface SubscriptionOrBuilderpublic Subscription.Builder setOrganizationId(String value)
Output only. Organization of the project this subscription belongs to.
string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The organizationId to set.public Subscription.Builder clearOrganizationId()
Output only. Organization of the project this subscription belongs to.
string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public Subscription.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
Output only. Organization of the project this subscription belongs to.
string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for organizationId to set.public String getOrganizationDisplayName()
Output only. Display name of the project of this subscription.
string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOrganizationDisplayName in interface SubscriptionOrBuilderpublic com.google.protobuf.ByteString getOrganizationDisplayNameBytes()
Output only. Display name of the project of this subscription.
string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOrganizationDisplayNameBytes in interface SubscriptionOrBuilderpublic Subscription.Builder setOrganizationDisplayName(String value)
Output only. Display name of the project of this subscription.
string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The organizationDisplayName to set.public Subscription.Builder clearOrganizationDisplayName()
Output only. Display name of the project of this subscription.
string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder setOrganizationDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. Display name of the project of this subscription.
string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The bytes for organizationDisplayName to set.public int getStateValue()
Output only. Current state of the subscription.
.google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface SubscriptionOrBuilderpublic Subscription.Builder setStateValue(int value)
Output only. Current state of the subscription.
.google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Subscription.State getState()
Output only. Current state of the subscription.
.google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface SubscriptionOrBuilderpublic Subscription.Builder setState(Subscription.State value)
Output only. Current state of the subscription.
.google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Subscription.Builder clearState()
Output only. Current state of the subscription.
.google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getLinkedDatasetMapCount()
SubscriptionOrBuilderOutput only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLinkedDatasetMapCount in interface SubscriptionOrBuilderpublic boolean containsLinkedDatasetMap(String key)
Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsLinkedDatasetMap in interface SubscriptionOrBuilder@Deprecated public Map<String,Subscription.LinkedResource> getLinkedDatasetMap()
getLinkedDatasetMapMap() instead.getLinkedDatasetMap in interface SubscriptionOrBuilderpublic Map<String,Subscription.LinkedResource> getLinkedDatasetMapMap()
Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLinkedDatasetMapMap in interface SubscriptionOrBuilderpublic Subscription.LinkedResource getLinkedDatasetMapOrDefault(String key, Subscription.LinkedResource defaultValue)
Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLinkedDatasetMapOrDefault in interface SubscriptionOrBuilderpublic Subscription.LinkedResource getLinkedDatasetMapOrThrow(String key)
Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLinkedDatasetMapOrThrow in interface SubscriptionOrBuilderpublic Subscription.Builder clearLinkedDatasetMap()
public Subscription.Builder removeLinkedDatasetMap(String key)
Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
@Deprecated public Map<String,Subscription.LinkedResource> getMutableLinkedDatasetMap()
public Subscription.Builder putLinkedDatasetMap(String key, Subscription.LinkedResource value)
Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder putAllLinkedDatasetMap(Map<String,Subscription.LinkedResource> values)
Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.LinkedResource.Builder putLinkedDatasetMapBuilderIfAbsent(String key)
Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
map<string, .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource> linked_dataset_map = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getSubscriberContact()
Output only. Email of the subscriber.
string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getSubscriberContact in interface SubscriptionOrBuilderpublic com.google.protobuf.ByteString getSubscriberContactBytes()
Output only. Email of the subscriber.
string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getSubscriberContactBytes in interface SubscriptionOrBuilderpublic Subscription.Builder setSubscriberContact(String value)
Output only. Email of the subscriber.
string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The subscriberContact to set.public Subscription.Builder clearSubscriberContact()
Output only. Email of the subscriber.
string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];public Subscription.Builder setSubscriberContactBytes(com.google.protobuf.ByteString value)
Output only. Email of the subscriber.
string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for subscriberContact to set.public List<Subscription.LinkedResource> getLinkedResourcesList()
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLinkedResourcesList in interface SubscriptionOrBuilderpublic int getLinkedResourcesCount()
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLinkedResourcesCount in interface SubscriptionOrBuilderpublic Subscription.LinkedResource getLinkedResources(int index)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLinkedResources in interface SubscriptionOrBuilderpublic Subscription.Builder setLinkedResources(int index, Subscription.LinkedResource value)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder setLinkedResources(int index, Subscription.LinkedResource.Builder builderForValue)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder addLinkedResources(Subscription.LinkedResource value)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder addLinkedResources(int index, Subscription.LinkedResource value)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder addLinkedResources(Subscription.LinkedResource.Builder builderForValue)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder addLinkedResources(int index, Subscription.LinkedResource.Builder builderForValue)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder addAllLinkedResources(Iterable<? extends Subscription.LinkedResource> values)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder clearLinkedResources()
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder removeLinkedResources(int index)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.LinkedResource.Builder getLinkedResourcesBuilder(int index)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.LinkedResourceOrBuilder getLinkedResourcesOrBuilder(int index)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLinkedResourcesOrBuilder in interface SubscriptionOrBuilderpublic List<? extends Subscription.LinkedResourceOrBuilder> getLinkedResourcesOrBuilderList()
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLinkedResourcesOrBuilderList in interface SubscriptionOrBuilderpublic Subscription.LinkedResource.Builder addLinkedResourcesBuilder()
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.LinkedResource.Builder addLinkedResourcesBuilder(int index)
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<Subscription.LinkedResource.Builder> getLinkedResourcesBuilderList()
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
repeated .google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource linked_resources = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getResourceTypeValue()
Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResourceTypeValue in interface SubscriptionOrBuilderpublic Subscription.Builder setResourceTypeValue(int value)
Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for resourceType to set.public SharedResourceType getResourceType()
Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResourceType in interface SubscriptionOrBuilderpublic Subscription.Builder setResourceType(SharedResourceType value)
Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The resourceType to set.public Subscription.Builder clearResourceType()
Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCommercialInfo()
Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.
.google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCommercialInfo in interface SubscriptionOrBuilderpublic Subscription.CommercialInfo getCommercialInfo()
Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.
.google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCommercialInfo in interface SubscriptionOrBuilderpublic Subscription.Builder setCommercialInfo(Subscription.CommercialInfo value)
Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.
.google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder setCommercialInfo(Subscription.CommercialInfo.Builder builderForValue)
Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.
.google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder mergeCommercialInfo(Subscription.CommercialInfo value)
Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.
.google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.Builder clearCommercialInfo()
Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.
.google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.CommercialInfo.Builder getCommercialInfoBuilder()
Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.
.google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subscription.CommercialInfoOrBuilder getCommercialInfoOrBuilder()
Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.
.google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo commercial_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCommercialInfoOrBuilder in interface SubscriptionOrBuilderpublic boolean hasLogLinkedDatasetQueryUserEmail()
Output only. By default, false. If true, the Subscriber agreed to the email sharing mandate that is enabled for DataExchange/Listing.
optional bool log_linked_dataset_query_user_email = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasLogLinkedDatasetQueryUserEmail in interface SubscriptionOrBuilderpublic boolean getLogLinkedDatasetQueryUserEmail()
Output only. By default, false. If true, the Subscriber agreed to the email sharing mandate that is enabled for DataExchange/Listing.
optional bool log_linked_dataset_query_user_email = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLogLinkedDatasetQueryUserEmail in interface SubscriptionOrBuilderpublic Subscription.Builder setLogLinkedDatasetQueryUserEmail(boolean value)
Output only. By default, false. If true, the Subscriber agreed to the email sharing mandate that is enabled for DataExchange/Listing.
optional bool log_linked_dataset_query_user_email = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The logLinkedDatasetQueryUserEmail to set.public Subscription.Builder clearLogLinkedDatasetQueryUserEmail()
Output only. By default, false. If true, the Subscriber agreed to the email sharing mandate that is enabled for DataExchange/Listing.
optional bool log_linked_dataset_query_user_email = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasDestinationDataset()
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
hasDestinationDataset in interface SubscriptionOrBuilderpublic DestinationDataset getDestinationDataset()
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
getDestinationDataset in interface SubscriptionOrBuilderpublic Subscription.Builder setDestinationDataset(DestinationDataset value)
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
public Subscription.Builder setDestinationDataset(DestinationDataset.Builder builderForValue)
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
public Subscription.Builder mergeDestinationDataset(DestinationDataset value)
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
public Subscription.Builder clearDestinationDataset()
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
public DestinationDataset.Builder getDestinationDatasetBuilder()
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
public DestinationDatasetOrBuilder getDestinationDatasetOrBuilder()
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];
getDestinationDatasetOrBuilder in interface SubscriptionOrBuilderpublic final Subscription.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>public final Subscription.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Subscription.Builder>Copyright © 2025 Google LLC. All rights reserved.