Class Subscription
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.bigquery.analyticshub.v1.Subscription
- All Implemented Interfaces:
SubscriptionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Subscription
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA subscription represents a subscribers' access to a particular set of published data.static final classCommercial info metadata for this subscription.static interfacestatic final classReference to a linked resource tracked by this Subscription.static interfacestatic enumstatic enumState of the subscription.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.booleanOutput only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.static Subscriptionstatic final com.google.protobuf.Descriptors.DescriptorOptional.Optional.com.google.protobuf.TimestampOutput 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.intOutput only.Output only.getLinkedResourcesOrBuilder(int index) Output only.List<? extends Subscription.LinkedResourceOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<Subscription>Output only.intOutput only.intgetState()Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOptional.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Subscription.Builderstatic Subscription.BuildernewBuilder(Subscription prototype) protected Subscription.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SubscriptionparseDelimitedFrom(InputStream input) static SubscriptionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SubscriptionparseFrom(byte[] data) static SubscriptionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SubscriptionparseFrom(com.google.protobuf.ByteString data) static SubscriptionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SubscriptionparseFrom(com.google.protobuf.CodedInputStream input) static SubscriptionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SubscriptionparseFrom(InputStream input) static SubscriptionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SubscriptionparseFrom(ByteBuffer data) static SubscriptionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Subscription>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
LISTING_FIELD_NUMBER
public static final int LISTING_FIELD_NUMBER- See Also:
-
DATA_EXCHANGE_FIELD_NUMBER
public static final int DATA_EXCHANGE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATION_TIME_FIELD_NUMBER
public static final int CREATION_TIME_FIELD_NUMBER- See Also:
-
LAST_MODIFY_TIME_FIELD_NUMBER
public static final int LAST_MODIFY_TIME_FIELD_NUMBER- See Also:
-
ORGANIZATION_ID_FIELD_NUMBER
public static final int ORGANIZATION_ID_FIELD_NUMBER- See Also:
-
ORGANIZATION_DISPLAY_NAME_FIELD_NUMBER
public static final int ORGANIZATION_DISPLAY_NAME_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
LINKED_DATASET_MAP_FIELD_NUMBER
public static final int LINKED_DATASET_MAP_FIELD_NUMBER- See Also:
-
SUBSCRIBER_CONTACT_FIELD_NUMBER
public static final int SUBSCRIBER_CONTACT_FIELD_NUMBER- See Also:
-
LINKED_RESOURCES_FIELD_NUMBER
public static final int LINKED_RESOURCES_FIELD_NUMBER- See Also:
-
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER- See Also:
-
COMMERCIAL_INFO_FIELD_NUMBER
public static final int COMMERCIAL_INFO_FIELD_NUMBER- See Also:
-
LOG_LINKED_DATASET_QUERY_USER_EMAIL_FIELD_NUMBER
public static final int LOG_LINKED_DATASET_QUERY_USER_EMAIL_FIELD_NUMBER- See Also:
-
DESTINATION_DATASET_FIELD_NUMBER
public static final int DESTINATION_DATASET_FIELD_NUMBER- See Also:
-
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getResourceNameCase
- Specified by:
getResourceNameCasein interfaceSubscriptionOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Subscription parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subscription parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subscription parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subscription parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subscription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subscription parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Subscription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Subscription parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Subscription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Subscription.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-