Class Listing.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Listing.Builder>
com.google.cloud.bigquery.analyticshub.v1.Listing.Builder
- All Implemented Interfaces:
ListingOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Listing
public static final class Listing.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Listing.Builder>
implements ListingOrBuilder
A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.Protobuf type
google.cloud.bigquery.analyticshub.v1.Listing-
Method Summary
Modifier and TypeMethodDescriptionaddAllCategories(Iterable<? extends Listing.Category> values) Optional.addAllCategoriesValue(Iterable<Integer> values) Optional.addCategories(Listing.Category value) Optional.addCategoriesValue(int value) Optional.build()clear()Optional.Shared dataset i.e.Optional.Output only.Optional.Optional.Optional.Required.Optional.Optional.Optional.Output only.Optional.Optional.Pub/Sub topic source.Optional.Output only.Optional.Output only.Optional.booleanOptional.Shared dataset i.e.Shared dataset i.e.Shared dataset i.e.getCategories(int index) Optional.intOptional.Optional.intgetCategoriesValue(int index) Optional.Optional.Output only.Output only.Output only.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.intOptional.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.ByteStringgetIcon()Optional.booleanOptional.getName()Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.Pub/Sub topic source.Pub/Sub topic source.Pub/Sub topic source.Optional.com.google.protobuf.ByteStringOptional.Output only.intOutput only.Optional.Optional.Optional.getState()Output only.intOutput only.Optional.Optional.Optional.booleanOptional.booleanShared dataset i.e.booleanOutput only.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanPub/Sub topic source.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanShared dataset i.e.Output only.mergeDataProvider(DataProvider value) Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePublisher(Publisher value) Optional.Pub/Sub topic source.Optional.Optional.setAllowOnlyMetadataSharing(boolean value) Optional.Shared dataset i.e.setBigqueryDataset(Listing.BigQueryDatasetSource.Builder builderForValue) Shared dataset i.e.setCategories(int index, Listing.Category value) Optional.setCategoriesValue(int index, int value) Optional.Output only.setCommercialInfo(Listing.CommercialInfo.Builder builderForValue) Output only.setDataProvider(DataProvider value) Optional.setDataProvider(DataProvider.Builder builderForValue) Optional.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDiscoveryType(DiscoveryType value) Optional.setDiscoveryTypeValue(int value) Optional.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setDocumentation(String value) Optional.setDocumentationBytes(com.google.protobuf.ByteString value) Optional.setIcon(com.google.protobuf.ByteString value) Optional.setLogLinkedDatasetQueryUserEmail(boolean value) Optional.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setPrimaryContact(String value) Optional.setPrimaryContactBytes(com.google.protobuf.ByteString value) Optional.setPublisher(Publisher value) Optional.setPublisher(Publisher.Builder builderForValue) Optional.Pub/Sub topic source.setPubsubTopic(Listing.PubSubTopicSource.Builder builderForValue) Pub/Sub topic source.setRequestAccess(String value) Optional.setRequestAccessBytes(com.google.protobuf.ByteString value) Optional.Output only.setResourceTypeValue(int value) Output only.Optional.setRestrictedExportConfig(Listing.RestrictedExportConfig.Builder builderForValue) Optional.setState(Listing.State value) Output only.setStateValue(int value) Output only.Optional.setStoredProcedureConfig(StoredProcedureConfig.Builder builderForValue) Optional.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Listing.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<Listing.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<Listing.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<Listing.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Listing.Builder>
-
mergeFrom
public Listing.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<Listing.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceListingOrBuilder
-
clearSource
-
hasBigqueryDataset
public boolean hasBigqueryDataset()Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;- Specified by:
hasBigqueryDatasetin interfaceListingOrBuilder- Returns:
- Whether the bigqueryDataset field is set.
-
getBigqueryDataset
Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;- Specified by:
getBigqueryDatasetin interfaceListingOrBuilder- Returns:
- The bigqueryDataset.
-
setBigqueryDataset
Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6; -
setBigqueryDataset
Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6; -
mergeBigqueryDataset
Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6; -
clearBigqueryDataset
Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6; -
getBigqueryDatasetBuilder
Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6; -
getBigqueryDatasetOrBuilder
Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;- Specified by:
getBigqueryDatasetOrBuilderin interfaceListingOrBuilder
-
hasPubsubTopic
public boolean hasPubsubTopic()Pub/Sub topic source.
.google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;- Specified by:
hasPubsubTopicin interfaceListingOrBuilder- Returns:
- Whether the pubsubTopic field is set.
-
getPubsubTopic
Pub/Sub topic source.
.google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;- Specified by:
getPubsubTopicin interfaceListingOrBuilder- Returns:
- The pubsubTopic.
-
setPubsubTopic
Pub/Sub topic source.
.google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16; -
setPubsubTopic
Pub/Sub topic source.
.google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16; -
mergePubsubTopic
Pub/Sub topic source.
.google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16; -
clearPubsubTopic
Pub/Sub topic source.
.google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16; -
getPubsubTopicBuilder
Pub/Sub topic source.
.google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16; -
getPubsubTopicOrBuilder
Pub/Sub topic source.
.google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;- Specified by:
getPubsubTopicOrBuilderin interfaceListingOrBuilder
-
getName
Output only. The resource name of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceListingOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The resource name of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceListingOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The resource name of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`
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 listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The resource name of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceListingOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceListingOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceListingOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceListingOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getPrimaryContact
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPrimaryContactin interfaceListingOrBuilder- Returns:
- The primaryContact.
-
getPrimaryContactBytes
public com.google.protobuf.ByteString getPrimaryContactBytes()Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPrimaryContactBytesin interfaceListingOrBuilder- Returns:
- The bytes for primaryContact.
-
setPrimaryContact
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The primaryContact to set.- Returns:
- This builder for chaining.
-
clearPrimaryContact
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setPrimaryContactBytes
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for primaryContact to set.- Returns:
- This builder for chaining.
-
getDocumentation
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDocumentationin interfaceListingOrBuilder- Returns:
- The documentation.
-
getDocumentationBytes
public com.google.protobuf.ByteString getDocumentationBytes()Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDocumentationBytesin interfaceListingOrBuilder- Returns:
- The bytes for documentation.
-
setDocumentation
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The documentation to set.- Returns:
- This builder for chaining.
-
clearDocumentation
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDocumentationBytes
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for documentation to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. Current state of the listing.
.google.cloud.bigquery.analyticshub.v1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceListingOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. Current state of the listing.
.google.cloud.bigquery.analyticshub.v1.Listing.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 listing.
.google.cloud.bigquery.analyticshub.v1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceListingOrBuilder- Returns:
- The state.
-
setState
Output only. Current state of the listing.
.google.cloud.bigquery.analyticshub.v1.Listing.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 listing.
.google.cloud.bigquery.analyticshub.v1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getIcon
public com.google.protobuf.ByteString getIcon()Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
bytes icon = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIconin interfaceListingOrBuilder- Returns:
- The icon.
-
setIcon
Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
bytes icon = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The icon to set.- Returns:
- This builder for chaining.
-
clearIcon
Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
bytes icon = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasDataProvider
public boolean hasDataProvider()Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDataProviderin interfaceListingOrBuilder- Returns:
- Whether the dataProvider field is set.
-
getDataProvider
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDataProviderin interfaceListingOrBuilder- Returns:
- The dataProvider.
-
setDataProvider
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL]; -
setDataProvider
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL]; -
mergeDataProvider
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL]; -
clearDataProvider
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getDataProviderBuilder
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getDataProviderOrBuilder
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.analyticshub.v1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDataProviderOrBuilderin interfaceListingOrBuilder
-
getCategoriesList
Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCategoriesListin interfaceListingOrBuilder- Returns:
- A list containing the categories.
-
getCategoriesCount
public int getCategoriesCount()Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCategoriesCountin interfaceListingOrBuilder- Returns:
- The count of categories.
-
getCategories
Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCategoriesin interfaceListingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The categories at the given index.
-
setCategories
Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The categories to set.- Returns:
- This builder for chaining.
-
addCategories
Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The categories to add.- Returns:
- This builder for chaining.
-
addAllCategories
Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The categories to add.- Returns:
- This builder for chaining.
-
clearCategories
Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getCategoriesValueList
Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCategoriesValueListin interfaceListingOrBuilder- Returns:
- A list containing the enum numeric values on the wire for categories.
-
getCategoriesValue
public int getCategoriesValue(int index) Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCategoriesValuein interfaceListingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of categories at the given index.
-
setCategoriesValue
Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for categories to set.- Returns:
- This builder for chaining.
-
addCategoriesValue
Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for categories to add.- Returns:
- This builder for chaining.
-
addAllCategoriesValue
Optional. Categories of the listing. Up to five categories are allowed.
repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The enum numeric values on the wire for categories to add.- Returns:
- This builder for chaining.
-
hasPublisher
public boolean hasPublisher()Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPublisherin interfaceListingOrBuilder- Returns:
- Whether the publisher field is set.
-
getPublisher
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPublisherin interfaceListingOrBuilder- Returns:
- The publisher.
-
setPublisher
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL]; -
setPublisher
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL]; -
mergePublisher
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL]; -
clearPublisher
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getPublisherBuilder
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getPublisherOrBuilder
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.analyticshub.v1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPublisherOrBuilderin interfaceListingOrBuilder
-
getRequestAccess
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequestAccessin interfaceListingOrBuilder- Returns:
- The requestAccess.
-
getRequestAccessBytes
public com.google.protobuf.ByteString getRequestAccessBytes()Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequestAccessBytesin interfaceListingOrBuilder- Returns:
- The bytes for requestAccess.
-
setRequestAccess
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The requestAccess to set.- Returns:
- This builder for chaining.
-
clearRequestAccess
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setRequestAccessBytes
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for requestAccess to set.- Returns:
- This builder for chaining.
-
hasRestrictedExportConfig
public boolean hasRestrictedExportConfig()Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig restricted_export_config = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRestrictedExportConfigin interfaceListingOrBuilder- Returns:
- Whether the restrictedExportConfig field is set.
-
getRestrictedExportConfig
Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig restricted_export_config = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRestrictedExportConfigin interfaceListingOrBuilder- Returns:
- The restrictedExportConfig.
-
setRestrictedExportConfig
Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig restricted_export_config = 13 [(.google.api.field_behavior) = OPTIONAL]; -
setRestrictedExportConfig
public Listing.Builder setRestrictedExportConfig(Listing.RestrictedExportConfig.Builder builderForValue) Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig restricted_export_config = 13 [(.google.api.field_behavior) = OPTIONAL]; -
mergeRestrictedExportConfig
Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig restricted_export_config = 13 [(.google.api.field_behavior) = OPTIONAL]; -
clearRestrictedExportConfig
Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig restricted_export_config = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getRestrictedExportConfigBuilder
Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig restricted_export_config = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getRestrictedExportConfigOrBuilder
Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig restricted_export_config = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRestrictedExportConfigOrBuilderin interfaceListingOrBuilder
-
hasStoredProcedureConfig
public boolean hasStoredProcedureConfig()Optional. If set, stored procedure configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig stored_procedure_config = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasStoredProcedureConfigin interfaceListingOrBuilder- Returns:
- Whether the storedProcedureConfig field is set.
-
getStoredProcedureConfig
Optional. If set, stored procedure configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig stored_procedure_config = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStoredProcedureConfigin interfaceListingOrBuilder- Returns:
- The storedProcedureConfig.
-
setStoredProcedureConfig
Optional. If set, stored procedure configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig stored_procedure_config = 20 [(.google.api.field_behavior) = OPTIONAL]; -
setStoredProcedureConfig
Optional. If set, stored procedure configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig stored_procedure_config = 20 [(.google.api.field_behavior) = OPTIONAL]; -
mergeStoredProcedureConfig
Optional. If set, stored procedure configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig stored_procedure_config = 20 [(.google.api.field_behavior) = OPTIONAL]; -
clearStoredProcedureConfig
Optional. If set, stored procedure configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig stored_procedure_config = 20 [(.google.api.field_behavior) = OPTIONAL]; -
getStoredProcedureConfigBuilder
Optional. If set, stored procedure configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig stored_procedure_config = 20 [(.google.api.field_behavior) = OPTIONAL]; -
getStoredProcedureConfigOrBuilder
Optional. If set, stored procedure configuration will be propagated and enforced on the linked dataset.
.google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig stored_procedure_config = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStoredProcedureConfigOrBuilderin interfaceListingOrBuilder
-
hasDiscoveryType
public boolean hasDiscoveryType()Optional. Type of discovery of the listing on the discovery page.
optional .google.cloud.bigquery.analyticshub.v1.DiscoveryType discovery_type = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDiscoveryTypein interfaceListingOrBuilder- Returns:
- Whether the discoveryType field is set.
-
getDiscoveryTypeValue
public int getDiscoveryTypeValue()Optional. Type of discovery of the listing on the discovery page.
optional .google.cloud.bigquery.analyticshub.v1.DiscoveryType discovery_type = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDiscoveryTypeValuein interfaceListingOrBuilder- Returns:
- The enum numeric value on the wire for discoveryType.
-
setDiscoveryTypeValue
Optional. Type of discovery of the listing on the discovery page.
optional .google.cloud.bigquery.analyticshub.v1.DiscoveryType discovery_type = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for discoveryType to set.- Returns:
- This builder for chaining.
-
getDiscoveryType
Optional. Type of discovery of the listing on the discovery page.
optional .google.cloud.bigquery.analyticshub.v1.DiscoveryType discovery_type = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDiscoveryTypein interfaceListingOrBuilder- Returns:
- The discoveryType.
-
setDiscoveryType
Optional. Type of discovery of the listing on the discovery page.
optional .google.cloud.bigquery.analyticshub.v1.DiscoveryType discovery_type = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The discoveryType to set.- Returns:
- This builder for chaining.
-
clearDiscoveryType
Optional. Type of discovery of the listing on the discovery page.
optional .google.cloud.bigquery.analyticshub.v1.DiscoveryType discovery_type = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getResourceTypeValue
public int getResourceTypeValue()Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceTypeValuein interfaceListingOrBuilder- 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 = 15 [(.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 = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceTypein interfaceListingOrBuilder- Returns:
- The resourceType.
-
clearResourceType
Output only. Listing shared asset type.
.google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCommercialInfo
public boolean hasCommercialInfo()Output only. Commercial info contains the information about the commercial data products associated with the listing.
optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo commercial_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCommercialInfoin interfaceListingOrBuilder- Returns:
- Whether the commercialInfo field is set.
-
getCommercialInfo
Output only. Commercial info contains the information about the commercial data products associated with the listing.
optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo commercial_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCommercialInfoin interfaceListingOrBuilder- Returns:
- The commercialInfo.
-
setCommercialInfo
Output only. Commercial info contains the information about the commercial data products associated with the listing.
optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo commercial_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCommercialInfo
Output only. Commercial info contains the information about the commercial data products associated with the listing.
optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo commercial_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCommercialInfo
Output only. Commercial info contains the information about the commercial data products associated with the listing.
optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo commercial_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCommercialInfo
Output only. Commercial info contains the information about the commercial data products associated with the listing.
optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo commercial_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCommercialInfoBuilder
Output only. Commercial info contains the information about the commercial data products associated with the listing.
optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo commercial_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCommercialInfoOrBuilder
Output only. Commercial info contains the information about the commercial data products associated with the listing.
optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo commercial_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCommercialInfoOrBuilderin interfaceListingOrBuilder
-
hasLogLinkedDatasetQueryUserEmail
public boolean hasLogLinkedDatasetQueryUserEmail()Optional. By default, false. If true, the Listing has an email sharing mandate enabled.
optional bool log_linked_dataset_query_user_email = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLogLinkedDatasetQueryUserEmailin interfaceListingOrBuilder- Returns:
- Whether the logLinkedDatasetQueryUserEmail field is set.
-
getLogLinkedDatasetQueryUserEmail
public boolean getLogLinkedDatasetQueryUserEmail()Optional. By default, false. If true, the Listing has an email sharing mandate enabled.
optional bool log_linked_dataset_query_user_email = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLogLinkedDatasetQueryUserEmailin interfaceListingOrBuilder- Returns:
- The logLinkedDatasetQueryUserEmail.
-
setLogLinkedDatasetQueryUserEmail
Optional. By default, false. If true, the Listing has an email sharing mandate enabled.
optional bool log_linked_dataset_query_user_email = 18 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The logLinkedDatasetQueryUserEmail to set.- Returns:
- This builder for chaining.
-
clearLogLinkedDatasetQueryUserEmail
Optional. By default, false. If true, the Listing has an email sharing mandate enabled.
optional bool log_linked_dataset_query_user_email = 18 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasAllowOnlyMetadataSharing
public boolean hasAllowOnlyMetadataSharing()Optional. If true, the listing is only available to get the resource metadata. Listing is non subscribable.
optional bool allow_only_metadata_sharing = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAllowOnlyMetadataSharingin interfaceListingOrBuilder- Returns:
- Whether the allowOnlyMetadataSharing field is set.
-
getAllowOnlyMetadataSharing
public boolean getAllowOnlyMetadataSharing()Optional. If true, the listing is only available to get the resource metadata. Listing is non subscribable.
optional bool allow_only_metadata_sharing = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowOnlyMetadataSharingin interfaceListingOrBuilder- Returns:
- The allowOnlyMetadataSharing.
-
setAllowOnlyMetadataSharing
Optional. If true, the listing is only available to get the resource metadata. Listing is non subscribable.
optional bool allow_only_metadata_sharing = 19 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The allowOnlyMetadataSharing to set.- Returns:
- This builder for chaining.
-
clearAllowOnlyMetadataSharing
Optional. If true, the listing is only available to get the resource metadata. Listing is non subscribable.
optional bool allow_only_metadata_sharing = 19 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-