Class Subscription.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Subscription.Builder>
com.google.cloud.bigquery.analyticshub.v1.Subscription.Builder
- All Implemented Interfaces:
SubscriptionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Subscription
public static final class Subscription.Builder
extends com.google.protobuf.GeneratedMessage.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.Subscription-
Method Summary
Modifier and TypeMethodDescriptionaddAllLinkedResources(Iterable<? extends Subscription.LinkedResource> values) Output only.addLinkedResources(int index, Subscription.LinkedResource value) Output only.addLinkedResources(int index, Subscription.LinkedResource.Builder builderForValue) Output only.Output only.addLinkedResources(Subscription.LinkedResource.Builder builderForValue) Output only.Output only.addLinkedResourcesBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Optional.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.booleanOutput only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.intOutput only.Output only.getLinkedDatasetMapOrDefault(String key, Subscription.LinkedResource defaultValue) Output only.Output only.getLinkedResources(int index) Output only.getLinkedResourcesBuilder(int index) Output only.Output only.intOutput only.Output only.getLinkedResourcesOrBuilder(int index) Output only.List<? extends Subscription.LinkedResourceOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.getState()Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOptional.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanOutput only.mergeCreationTime(com.google.protobuf.Timestamp value) Output only.Optional.mergeFrom(Subscription other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastModifyTime(com.google.protobuf.Timestamp value) Output only.Output only.putLinkedDatasetMap(String key, Subscription.LinkedResource value) Output only.Output only.Output only.removeLinkedResources(int index) Output only.Output only.setCommercialInfo(Subscription.CommercialInfo.Builder builderForValue) Output only.setCreationTime(com.google.protobuf.Timestamp value) Output only.setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDataExchange(String value) Output only.setDataExchangeBytes(com.google.protobuf.ByteString value) Output only.Optional.setDestinationDataset(DestinationDataset.Builder builderForValue) Optional.setLastModifyTime(com.google.protobuf.Timestamp value) Output only.setLastModifyTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setLinkedResources(int index, Subscription.LinkedResource value) Output only.setLinkedResources(int index, Subscription.LinkedResource.Builder builderForValue) Output only.setListing(String value) Output only.setListingBytes(com.google.protobuf.ByteString value) Output only.setLogLinkedDatasetQueryUserEmail(boolean value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setOrganizationDisplayName(String value) Output only.setOrganizationDisplayNameBytes(com.google.protobuf.ByteString value) Output only.setOrganizationId(String value) Output only.setOrganizationIdBytes(com.google.protobuf.ByteString value) Output only.Output only.setResourceTypeValue(int value) Output only.setState(Subscription.State value) Output only.setStateValue(int value) Output only.setSubscriberContact(String value) Output only.setSubscriberContactBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Subscription.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Subscription.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Subscription.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Subscription.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Subscription.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Subscription.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Subscription.Builder>
-
mergeFrom
public Subscription.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Subscription.Builder>- Throws:
IOException
-
getResourceNameCase
- Specified by:
getResourceNameCasein interfaceSubscriptionOrBuilder
-
clearResourceName
-
hasListing
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];- Specified by:
hasListingin interfaceSubscriptionOrBuilder- Returns:
- Whether the listing field is set.
-
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];- Specified by:
getListingin interfaceSubscriptionOrBuilder- Returns:
- The listing.
-
getListingBytes
public 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];- Specified by:
getListingBytesin interfaceSubscriptionOrBuilder- Returns:
- The bytes for listing.
-
setListing
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];- Parameters:
value- The listing to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setListingBytes
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];- Parameters:
value- The bytes for listing to set.- Returns:
- This builder for chaining.
-
hasDataExchange
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];- Specified by:
hasDataExchangein interfaceSubscriptionOrBuilder- Returns:
- Whether the dataExchange field is set.
-
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];- Specified by:
getDataExchangein interfaceSubscriptionOrBuilder- Returns:
- The dataExchange.
-
getDataExchangeBytes
public 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];- Specified by:
getDataExchangeBytesin interfaceSubscriptionOrBuilder- Returns:
- The bytes for dataExchange.
-
setDataExchange
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];- Parameters:
value- The dataExchange to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setDataExchangeBytes
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];- Parameters:
value- The bytes for dataExchange to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getNamein interfaceSubscriptionOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceSubscriptionOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreationTime
public boolean hasCreationTime()Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreationTimein interfaceSubscriptionOrBuilder- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public 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];- Specified by:
getCreationTimein interfaceSubscriptionOrBuilder- Returns:
- The creationTime.
-
setCreationTime
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreationTime
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreationTime
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreationTime
Output only. Timestamp when the subscription was created.
.google.protobuf.Timestamp creation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreationTimeBuilder
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]; -
getCreationTimeOrBuilder
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];- Specified by:
getCreationTimeOrBuilderin interfaceSubscriptionOrBuilder
-
hasLastModifyTime
public boolean hasLastModifyTime()Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLastModifyTimein interfaceSubscriptionOrBuilder- Returns:
- Whether the lastModifyTime field is set.
-
getLastModifyTime
public 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];- Specified by:
getLastModifyTimein interfaceSubscriptionOrBuilder- Returns:
- The lastModifyTime.
-
setLastModifyTime
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setLastModifyTime
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]; -
mergeLastModifyTime
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearLastModifyTime
Output only. Timestamp when the subscription was last modified.
.google.protobuf.Timestamp last_modify_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLastModifyTimeBuilder
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]; -
getLastModifyTimeOrBuilder
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];- Specified by:
getLastModifyTimeOrBuilderin interfaceSubscriptionOrBuilder
-
getOrganizationId
Output only. Organization of the project this subscription belongs to.
string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationIdin interfaceSubscriptionOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public 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];- Specified by:
getOrganizationIdBytesin interfaceSubscriptionOrBuilder- Returns:
- The bytes for organizationId.
-
setOrganizationId
Output only. Organization of the project this subscription belongs to.
string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
Output only. Organization of the project this subscription belongs to.
string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
Output only. Organization of the project this subscription belongs to.
string organization_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getOrganizationDisplayName
Output only. Display name of the project of this subscription.
string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationDisplayNamein interfaceSubscriptionOrBuilder- Returns:
- The organizationDisplayName.
-
getOrganizationDisplayNameBytes
public 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];- Specified by:
getOrganizationDisplayNameBytesin interfaceSubscriptionOrBuilder- Returns:
- The bytes for organizationDisplayName.
-
setOrganizationDisplayName
Output only. Display name of the project of this subscription.
string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The organizationDisplayName to set.- Returns:
- This builder for chaining.
-
clearOrganizationDisplayName
Output only. Display name of the project of this subscription.
string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setOrganizationDisplayNameBytes
Output only. Display name of the project of this subscription.
string organization_display_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for organizationDisplayName to set.- Returns:
- This builder for chaining.
-
getStateValue
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];- Specified by:
getStateValuein interfaceSubscriptionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. Current state of the subscription.
.google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. Current state of the subscription.
.google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceSubscriptionOrBuilder- Returns:
- The state.
-
setState
Output only. Current state of the subscription.
.google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. Current state of the subscription.
.google.cloud.bigquery.analyticshub.v1.Subscription.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getLinkedDatasetMapCount
public int getLinkedDatasetMapCount()Description copied from interface: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];- Specified by:
getLinkedDatasetMapCountin interfaceSubscriptionOrBuilder
-
containsLinkedDatasetMap
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];- Specified by:
containsLinkedDatasetMapin interfaceSubscriptionOrBuilder
-
getLinkedDatasetMap
Deprecated.UsegetLinkedDatasetMapMap()instead.- Specified by:
getLinkedDatasetMapin interfaceSubscriptionOrBuilder
-
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];- Specified by:
getLinkedDatasetMapMapin interfaceSubscriptionOrBuilder
-
getLinkedDatasetMapOrDefault
public 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];- Specified by:
getLinkedDatasetMapOrDefaultin interfaceSubscriptionOrBuilder
-
getLinkedDatasetMapOrThrow
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];- Specified by:
getLinkedDatasetMapOrThrowin interfaceSubscriptionOrBuilder
-
clearLinkedDatasetMap
-
removeLinkedDatasetMap
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]; -
getMutableLinkedDatasetMap
Deprecated.Use alternate mutation accessors instead. -
putLinkedDatasetMap
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]; -
putAllLinkedDatasetMap
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]; -
putLinkedDatasetMapBuilderIfAbsent
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]; -
getSubscriberContact
Output only. Email of the subscriber.
string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSubscriberContactin interfaceSubscriptionOrBuilder- Returns:
- The subscriberContact.
-
getSubscriberContactBytes
public com.google.protobuf.ByteString getSubscriberContactBytes()Output only. Email of the subscriber.
string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSubscriberContactBytesin interfaceSubscriptionOrBuilder- Returns:
- The bytes for subscriberContact.
-
setSubscriberContact
Output only. Email of the subscriber.
string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The subscriberContact to set.- Returns:
- This builder for chaining.
-
clearSubscriberContact
Output only. Email of the subscriber.
string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setSubscriberContactBytes
Output only. Email of the subscriber.
string subscriber_contact = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for subscriberContact to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getLinkedResourcesListin interfaceSubscriptionOrBuilder
-
getLinkedResourcesCount
public 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];- Specified by:
getLinkedResourcesCountin interfaceSubscriptionOrBuilder
-
getLinkedResources
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];- Specified by:
getLinkedResourcesin interfaceSubscriptionOrBuilder
-
setLinkedResources
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]; -
setLinkedResources
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]; -
addLinkedResources
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]; -
addLinkedResources
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]; -
addLinkedResources
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]; -
addLinkedResources
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]; -
addAllLinkedResources
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]; -
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]; -
removeLinkedResources
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]; -
getLinkedResourcesBuilder
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
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];- Specified by:
getLinkedResourcesOrBuilderin interfaceSubscriptionOrBuilder
-
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];- Specified by:
getLinkedResourcesOrBuilderListin interfaceSubscriptionOrBuilder
-
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]; -
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]; -
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]; -
getResourceTypeValue
public int getResourceTypeValue()Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceTypeValuein interfaceSubscriptionOrBuilder- Returns:
- The enum numeric value on the wire for resourceType.
-
setResourceTypeValue
Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for resourceType to set.- Returns:
- This builder for chaining.
-
getResourceType
Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceTypein interfaceSubscriptionOrBuilder- Returns:
- The resourceType.
-
clearResourceType
Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCommercialInfo
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];- Specified by:
hasCommercialInfoin interfaceSubscriptionOrBuilder- Returns:
- Whether the commercialInfo field is set.
-
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];- Specified by:
getCommercialInfoin interfaceSubscriptionOrBuilder- Returns:
- The commercialInfo.
-
setCommercialInfo
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]; -
setCommercialInfo
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]; -
mergeCommercialInfo
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]; -
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]; -
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]; -
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];- Specified by:
getCommercialInfoOrBuilderin interfaceSubscriptionOrBuilder
-
hasLogLinkedDatasetQueryUserEmail
public 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];- Specified by:
hasLogLinkedDatasetQueryUserEmailin interfaceSubscriptionOrBuilder- Returns:
- Whether the logLinkedDatasetQueryUserEmail field is set.
-
getLogLinkedDatasetQueryUserEmail
public 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];- Specified by:
getLogLinkedDatasetQueryUserEmailin interfaceSubscriptionOrBuilder- Returns:
- The logLinkedDatasetQueryUserEmail.
-
setLogLinkedDatasetQueryUserEmail
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];- Parameters:
value- The logLinkedDatasetQueryUserEmail to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
hasDestinationDataset
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];- Specified by:
hasDestinationDatasetin interfaceSubscriptionOrBuilder- Returns:
- Whether the destinationDataset field is set.
-
getDestinationDataset
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDestinationDatasetin interfaceSubscriptionOrBuilder- Returns:
- The destinationDataset.
-
setDestinationDataset
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL]; -
setDestinationDataset
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL]; -
mergeDestinationDataset
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL]; -
clearDestinationDataset
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getDestinationDatasetBuilder
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getDestinationDatasetOrBuilder
Optional. BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDestinationDatasetOrBuilderin interfaceSubscriptionOrBuilder
-