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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Listing.Builder>
    • clear

      public Listing.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Listing.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Listing.Builder>
    • getDefaultInstanceForType

      public Listing getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Listing build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Listing buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Listing.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Listing.Builder>
    • mergeFrom

      public Listing.Builder mergeFrom(Listing other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Listing.Builder>
      Throws:
      IOException
    • getSourceCase

      public Listing.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface ListingOrBuilder
    • clearSource

      public Listing.Builder clearSource()
    • hasBigqueryDataset

      public boolean hasBigqueryDataset()
       Shared dataset i.e. BigQuery dataset source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;
      Specified by:
      hasBigqueryDataset in interface ListingOrBuilder
      Returns:
      Whether the bigqueryDataset field is set.
    • getBigqueryDataset

      public Listing.BigQueryDatasetSource getBigqueryDataset()
       Shared dataset i.e. BigQuery dataset source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;
      Specified by:
      getBigqueryDataset in interface ListingOrBuilder
      Returns:
      The bigqueryDataset.
    • setBigqueryDataset

      public Listing.Builder setBigqueryDataset(Listing.BigQueryDatasetSource value)
       Shared dataset i.e. BigQuery dataset source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;
    • setBigqueryDataset

      public Listing.Builder setBigqueryDataset(Listing.BigQueryDatasetSource.Builder builderForValue)
       Shared dataset i.e. BigQuery dataset source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;
    • mergeBigqueryDataset

      public Listing.Builder mergeBigqueryDataset(Listing.BigQueryDatasetSource value)
       Shared dataset i.e. BigQuery dataset source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;
    • clearBigqueryDataset

      public Listing.Builder clearBigqueryDataset()
       Shared dataset i.e. BigQuery dataset source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;
    • getBigqueryDatasetBuilder

      public Listing.BigQueryDatasetSource.Builder getBigqueryDatasetBuilder()
       Shared dataset i.e. BigQuery dataset source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;
    • getBigqueryDatasetOrBuilder

      public Listing.BigQueryDatasetSourceOrBuilder getBigqueryDatasetOrBuilder()
       Shared dataset i.e. BigQuery dataset source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6;
      Specified by:
      getBigqueryDatasetOrBuilder in interface ListingOrBuilder
    • hasPubsubTopic

      public boolean hasPubsubTopic()
       Pub/Sub topic source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;
      Specified by:
      hasPubsubTopic in interface ListingOrBuilder
      Returns:
      Whether the pubsubTopic field is set.
    • getPubsubTopic

      public Listing.PubSubTopicSource getPubsubTopic()
       Pub/Sub topic source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;
      Specified by:
      getPubsubTopic in interface ListingOrBuilder
      Returns:
      The pubsubTopic.
    • setPubsubTopic

      public Listing.Builder setPubsubTopic(Listing.PubSubTopicSource value)
       Pub/Sub topic source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;
    • setPubsubTopic

      public Listing.Builder setPubsubTopic(Listing.PubSubTopicSource.Builder builderForValue)
       Pub/Sub topic source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;
    • mergePubsubTopic

      public Listing.Builder mergePubsubTopic(Listing.PubSubTopicSource value)
       Pub/Sub topic source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;
    • clearPubsubTopic

      public Listing.Builder clearPubsubTopic()
       Pub/Sub topic source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;
    • getPubsubTopicBuilder

      public Listing.PubSubTopicSource.Builder getPubsubTopicBuilder()
       Pub/Sub topic source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;
    • getPubsubTopicOrBuilder

      public Listing.PubSubTopicSourceOrBuilder getPubsubTopicOrBuilder()
       Pub/Sub topic source.
       
      .google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource pubsub_topic = 16;
      Specified by:
      getPubsubTopicOrBuilder in interface ListingOrBuilder
    • getName

      public String 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:
      getName in interface ListingOrBuilder
      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:
      getNameBytes in interface ListingOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Listing.Builder setName(String value)
       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

      public Listing.Builder 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

      public Listing.Builder setNameBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getDisplayName in interface ListingOrBuilder
      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:
      getDisplayNameBytes in interface ListingOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Listing.Builder setDisplayName(String value)
       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

      public Listing.Builder 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

      public Listing.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getDescription in interface ListingOrBuilder
      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:
      getDescriptionBytes in interface ListingOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Listing.Builder setDescription(String value)
       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

      public Listing.Builder 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

      public Listing.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getPrimaryContact in interface ListingOrBuilder
      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:
      getPrimaryContactBytes in interface ListingOrBuilder
      Returns:
      The bytes for primaryContact.
    • setPrimaryContact

      public Listing.Builder setPrimaryContact(String value)
       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

      public Listing.Builder 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

      public Listing.Builder setPrimaryContactBytes(com.google.protobuf.ByteString value)
       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

      public String getDocumentation()
       Optional. Documentation describing the listing.
       
      string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentation in interface ListingOrBuilder
      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:
      getDocumentationBytes in interface ListingOrBuilder
      Returns:
      The bytes for documentation.
    • setDocumentation

      public Listing.Builder setDocumentation(String value)
       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

      public Listing.Builder clearDocumentation()
       Optional. Documentation describing the listing.
       
      string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDocumentationBytes

      public Listing.Builder setDocumentationBytes(com.google.protobuf.ByteString value)
       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:
      getStateValue in interface ListingOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Listing.Builder setStateValue(int value)
       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

      public Listing.State 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:
      getState in interface ListingOrBuilder
      Returns:
      The state.
    • setState

      public Listing.Builder setState(Listing.State value)
       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

      public Listing.Builder 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:
      getIcon in interface ListingOrBuilder
      Returns:
      The icon.
    • setIcon

      public Listing.Builder setIcon(com.google.protobuf.ByteString value)
       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

      public Listing.Builder 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:
      hasDataProvider in interface ListingOrBuilder
      Returns:
      Whether the dataProvider field is set.
    • getDataProvider

      public DataProvider 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:
      getDataProvider in interface ListingOrBuilder
      Returns:
      The dataProvider.
    • setDataProvider

      public Listing.Builder setDataProvider(DataProvider value)
       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

      public Listing.Builder setDataProvider(DataProvider.Builder builderForValue)
       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

      public Listing.Builder mergeDataProvider(DataProvider value)
       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

      public Listing.Builder 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

      public DataProvider.Builder 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

      public DataProviderOrBuilder 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:
      getDataProviderOrBuilder in interface ListingOrBuilder
    • getCategoriesList

      public List<Listing.Category> 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:
      getCategoriesList in interface ListingOrBuilder
      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:
      getCategoriesCount in interface ListingOrBuilder
      Returns:
      The count of categories.
    • getCategories

      public Listing.Category getCategories(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:
      getCategories in interface ListingOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The categories at the given index.
    • setCategories

      public Listing.Builder setCategories(int index, Listing.Category value)
       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

      public Listing.Builder addCategories(Listing.Category value)
       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

      public Listing.Builder addAllCategories(Iterable<? extends Listing.Category> values)
       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

      public Listing.Builder 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

      public List<Integer> 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:
      getCategoriesValueList in interface ListingOrBuilder
      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:
      getCategoriesValue in interface ListingOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of categories at the given index.
    • setCategoriesValue

      public Listing.Builder setCategoriesValue(int index, int value)
       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

      public Listing.Builder addCategoriesValue(int value)
       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

      public Listing.Builder addAllCategoriesValue(Iterable<Integer> values)
       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:
      hasPublisher in interface ListingOrBuilder
      Returns:
      Whether the publisher field is set.
    • getPublisher

      public Publisher 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:
      getPublisher in interface ListingOrBuilder
      Returns:
      The publisher.
    • setPublisher

      public Listing.Builder setPublisher(Publisher value)
       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

      public Listing.Builder setPublisher(Publisher.Builder builderForValue)
       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

      public Listing.Builder mergePublisher(Publisher value)
       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

      public Listing.Builder 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

      public Publisher.Builder 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

      public PublisherOrBuilder 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:
      getPublisherOrBuilder in interface ListingOrBuilder
    • getRequestAccess

      public String 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:
      getRequestAccess in interface ListingOrBuilder
      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:
      getRequestAccessBytes in interface ListingOrBuilder
      Returns:
      The bytes for requestAccess.
    • setRequestAccess

      public Listing.Builder setRequestAccess(String value)
       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

      public Listing.Builder 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

      public Listing.Builder setRequestAccessBytes(com.google.protobuf.ByteString value)
       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:
      hasRestrictedExportConfig in interface ListingOrBuilder
      Returns:
      Whether the restrictedExportConfig field is set.
    • getRestrictedExportConfig

      public Listing.RestrictedExportConfig 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:
      getRestrictedExportConfig in interface ListingOrBuilder
      Returns:
      The restrictedExportConfig.
    • setRestrictedExportConfig

      public Listing.Builder setRestrictedExportConfig(Listing.RestrictedExportConfig value)
       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

      public Listing.Builder mergeRestrictedExportConfig(Listing.RestrictedExportConfig value)
       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

      public Listing.Builder 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

      public Listing.RestrictedExportConfig.Builder 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

      public Listing.RestrictedExportConfigOrBuilder 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:
      getRestrictedExportConfigOrBuilder in interface ListingOrBuilder
    • 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:
      hasStoredProcedureConfig in interface ListingOrBuilder
      Returns:
      Whether the storedProcedureConfig field is set.
    • getStoredProcedureConfig

      public StoredProcedureConfig 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:
      getStoredProcedureConfig in interface ListingOrBuilder
      Returns:
      The storedProcedureConfig.
    • setStoredProcedureConfig

      public Listing.Builder setStoredProcedureConfig(StoredProcedureConfig value)
       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

      public Listing.Builder setStoredProcedureConfig(StoredProcedureConfig.Builder builderForValue)
       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

      public Listing.Builder mergeStoredProcedureConfig(StoredProcedureConfig value)
       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

      public Listing.Builder 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

      public StoredProcedureConfig.Builder 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

      public StoredProcedureConfigOrBuilder 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:
      getStoredProcedureConfigOrBuilder in interface ListingOrBuilder
    • 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:
      hasDiscoveryType in interface ListingOrBuilder
      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:
      getDiscoveryTypeValue in interface ListingOrBuilder
      Returns:
      The enum numeric value on the wire for discoveryType.
    • setDiscoveryTypeValue

      public Listing.Builder setDiscoveryTypeValue(int value)
       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

      public DiscoveryType 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:
      getDiscoveryType in interface ListingOrBuilder
      Returns:
      The discoveryType.
    • setDiscoveryType

      public Listing.Builder setDiscoveryType(DiscoveryType value)
       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

      public Listing.Builder 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:
      getResourceTypeValue in interface ListingOrBuilder
      Returns:
      The enum numeric value on the wire for resourceType.
    • setResourceTypeValue

      public Listing.Builder setResourceTypeValue(int value)
       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

      public SharedResourceType getResourceType()
       Output only. Listing shared asset type.
       
      .google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceType in interface ListingOrBuilder
      Returns:
      The resourceType.
    • setResourceType

      public Listing.Builder setResourceType(SharedResourceType value)
       Output only. Listing shared asset type.
       
      .google.cloud.bigquery.analyticshub.v1.SharedResourceType resource_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The resourceType to set.
      Returns:
      This builder for chaining.
    • clearResourceType

      public Listing.Builder 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:
      hasCommercialInfo in interface ListingOrBuilder
      Returns:
      Whether the commercialInfo field is set.
    • getCommercialInfo

      public Listing.CommercialInfo 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:
      getCommercialInfo in interface ListingOrBuilder
      Returns:
      The commercialInfo.
    • setCommercialInfo

      public Listing.Builder setCommercialInfo(Listing.CommercialInfo value)
       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

      public Listing.Builder setCommercialInfo(Listing.CommercialInfo.Builder builderForValue)
       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

      public Listing.Builder mergeCommercialInfo(Listing.CommercialInfo value)
       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

      public Listing.Builder 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

      public Listing.CommercialInfo.Builder 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

      public Listing.CommercialInfoOrBuilder 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:
      getCommercialInfoOrBuilder in interface ListingOrBuilder
    • 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:
      hasLogLinkedDatasetQueryUserEmail in interface ListingOrBuilder
      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:
      getLogLinkedDatasetQueryUserEmail in interface ListingOrBuilder
      Returns:
      The logLinkedDatasetQueryUserEmail.
    • setLogLinkedDatasetQueryUserEmail

      public Listing.Builder setLogLinkedDatasetQueryUserEmail(boolean value)
       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

      public Listing.Builder 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:
      hasAllowOnlyMetadataSharing in interface ListingOrBuilder
      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:
      getAllowOnlyMetadataSharing in interface ListingOrBuilder
      Returns:
      The allowOnlyMetadataSharing.
    • setAllowOnlyMetadataSharing

      public Listing.Builder setAllowOnlyMetadataSharing(boolean value)
       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

      public Listing.Builder 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.