- 0.75.0 (latest)
 - 0.73.0
 - 0.72.0
 - 0.71.0
 - 0.70.0
 - 0.69.0
 - 0.67.0
 - 0.65.0
 - 0.64.0
 - 0.61.0
 - 0.60.0
 - 0.59.0
 - 0.57.0
 - 0.56.0
 - 0.55.0
 - 0.54.0
 - 0.53.0
 - 0.52.0
 - 0.51.0
 - 0.50.0
 - 0.49.0
 - 0.48.0
 - 0.46.0
 - 0.45.0
 - 0.44.0
 - 0.43.0
 - 0.42.0
 - 0.41.0
 - 0.40.0
 - 0.39.0
 - 0.38.0
 - 0.37.0
 - 0.36.0
 - 0.34.0
 - 0.33.0
 - 0.32.0
 - 0.31.0
 - 0.30.0
 - 0.29.0
 - 0.28.0
 - 0.27.0
 - 0.26.0
 - 0.25.0
 - 0.24.0
 - 0.21.0
 - 0.20.0
 - 0.19.0
 - 0.18.0
 - 0.17.0
 - 0.16.0
 - 0.15.0
 - 0.14.0
 - 0.13.0
 - 0.12.0
 - 0.11.0
 - 0.10.0
 - 0.9.0
 - 0.8.0
 - 0.7.0
 - 0.6.0
 - 0.5.0
 - 0.4.0
 - 0.3.0
 - 0.2.0
 - 0.1.0
 
public static final class Listing.Builder extends GeneratedMessageV3.Builder<Listing.Builder> implements ListingOrBuilderA 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Listing.BuilderImplements
ListingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllCategories(Iterable<? extends Listing.Category> values)
public Listing.Builder addAllCategories(Iterable<? extends Listing.Category> values)Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.bigquery.analyticshub.v1.Listing.Category>The categories to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
addAllCategoriesValue(Iterable<Integer> values)
public Listing.Builder addAllCategoriesValue(Iterable<Integer> values)Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<Integer>The enum numeric values on the wire for categories to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
addCategories(Listing.Category value)
public Listing.Builder addCategories(Listing.Category value)Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Listing.CategoryThe categories to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
addCategoriesValue(int value)
public Listing.Builder addCategoriesValue(int value)Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for categories to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Listing.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
build()
public Listing build()| Returns | |
|---|---|
| Type | Description | 
Listing | 
        |
buildPartial()
public Listing buildPartial()| Returns | |
|---|---|
| Type | Description | 
Listing | 
        |
clear()
public Listing.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
clearBigqueryDataset()
public Listing.Builder clearBigqueryDataset()Required. Shared dataset i.e. BigQuery dataset source.
 
 .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
clearCategories()
public Listing.Builder clearCategories()Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
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];
 
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
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 | |
|---|---|
| Type | Description | 
Listing.Builder | 
        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 | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
clearDocumentation()
public Listing.Builder clearDocumentation()Optional. Documentation describing the listing.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Listing.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
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 | |
|---|---|
| Type | Description | 
Listing.Builder | 
        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 | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Listing.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
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 | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
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];
 
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
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 | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
clearSource()
public Listing.Builder clearSource()| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
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 | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
clone()
public Listing.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
getBigqueryDataset()
public Listing.BigQueryDatasetSource getBigqueryDataset()Required. Shared dataset i.e. BigQuery dataset source.
 
 .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
Listing.BigQueryDatasetSource | 
        The bigqueryDataset.  | 
      
getBigqueryDatasetBuilder()
public Listing.BigQueryDatasetSource.Builder getBigqueryDatasetBuilder()Required. Shared dataset i.e. BigQuery dataset source.
 
 .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
Listing.BigQueryDatasetSource.Builder | 
        |
getBigqueryDatasetOrBuilder()
public Listing.BigQueryDatasetSourceOrBuilder getBigqueryDatasetOrBuilder()Required. Shared dataset i.e. BigQuery dataset source.
 
 .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
Listing.BigQueryDatasetSourceOrBuilder | 
        |
getCategories(int index)
public Listing.Category getCategories(int index)Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Category | 
        The categories at the given index.  | 
      
getCategoriesCount()
public int getCategoriesCount()Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The count of categories.  | 
      
getCategoriesList()
public List<Listing.Category> getCategoriesList()Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
List<Category> | 
        A list containing the categories.  | 
      
getCategoriesValue(int index)
public int getCategoriesValue(int index)Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire of categories at the given index.  | 
      
getCategoriesValueList()
public List<Integer> getCategoriesValueList()Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
List<Integer> | 
        A list containing the enum numeric values on the wire for categories.  | 
      
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];
 
| Returns | |
|---|---|
| Type | Description | 
DataProvider | 
        The dataProvider.  | 
      
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];
 
| Returns | |
|---|---|
| Type | Description | 
DataProvider.Builder | 
        |
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];
 
| Returns | |
|---|---|
| Type | Description | 
DataProviderOrBuilder | 
        |
getDefaultInstanceForType()
public Listing getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Listing | 
        |
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The description.  | 
      
getDescriptionBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The displayName.  | 
      
getDisplayNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for displayName.  | 
      
getDocumentation()
public String getDocumentation()Optional. Documentation describing the listing.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The documentation.  | 
      
getDocumentationBytes()
public ByteString getDocumentationBytes()Optional. Documentation describing the listing.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for documentation.  | 
      
getIcon()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The icon.  | 
      
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The primaryContact.  | 
      
getPrimaryContactBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for primaryContact.  | 
      
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];
 
| Returns | |
|---|---|
| Type | Description | 
Publisher | 
        The publisher.  | 
      
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];
 
| Returns | |
|---|---|
| Type | Description | 
Publisher.Builder | 
        |
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];
 
| Returns | |
|---|---|
| Type | Description | 
PublisherOrBuilder | 
        |
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The requestAccess.  | 
      
getRequestAccessBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for requestAccess.  | 
      
getSourceCase()
public Listing.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description | 
Listing.SourceCase | 
        |
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];
 
| Returns | |
|---|---|
| Type | Description | 
Listing.State | 
        The state.  | 
      
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];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
hasBigqueryDataset()
public boolean hasBigqueryDataset()Required. Shared dataset i.e. BigQuery dataset source.
 
 .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the bigqueryDataset field is set.  | 
      
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];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the dataProvider field is set.  | 
      
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];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the publisher field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeBigqueryDataset(Listing.BigQueryDatasetSource value)
public Listing.Builder mergeBigqueryDataset(Listing.BigQueryDatasetSource value)Required. Shared dataset i.e. BigQuery dataset source.
 
 .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Listing.BigQueryDatasetSource | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
mergeDataProvider(DataProvider value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        DataProvider | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
mergeFrom(Listing other)
public Listing.Builder mergeFrom(Listing other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Listing | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Listing.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Listing.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
mergePublisher(Publisher value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Publisher | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Listing.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
setBigqueryDataset(Listing.BigQueryDatasetSource value)
public Listing.Builder setBigqueryDataset(Listing.BigQueryDatasetSource value)Required. Shared dataset i.e. BigQuery dataset source.
 
 .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Listing.BigQueryDatasetSource | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
setBigqueryDataset(Listing.BigQueryDatasetSource.Builder builderForValue)
public Listing.Builder setBigqueryDataset(Listing.BigQueryDatasetSource.Builder builderForValue)Required. Shared dataset i.e. BigQuery dataset source.
 
 .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Listing.BigQueryDatasetSource.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
setCategories(int index, Listing.Category value)
public Listing.Builder setCategories(int index, Listing.Category value)Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        Listing.CategoryThe categories to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setCategoriesValue(int index, int value)
public Listing.Builder setCategoriesValue(int index, int value)Optional. Categories of the listing. Up to two categories are allowed.
 
 repeated .google.cloud.bigquery.analyticshub.v1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        intThe enum numeric value on the wire for categories to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setDataProvider(DataProvider value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        DataProvider | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
setDataProvider(DataProvider.Builder builderForValue)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        DataProvider.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
setDescription(String value)
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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setDescriptionBytes(ByteString value)
public Listing.Builder setDescriptionBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setDisplayName(String value)
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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe displayName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setDisplayNameBytes(ByteString value)
public Listing.Builder setDisplayNameBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for displayName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setDocumentation(String value)
public Listing.Builder setDocumentation(String value)Optional. Documentation describing the listing.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe documentation to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setDocumentationBytes(ByteString value)
public Listing.Builder setDocumentationBytes(ByteString value)Optional. Documentation describing the listing.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for documentation to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Listing.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
setIcon(ByteString value)
public Listing.Builder setIcon(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe icon to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setName(String value)
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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Listing.Builder setNameBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setPrimaryContact(String value)
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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe primaryContact to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setPrimaryContactBytes(ByteString value)
public Listing.Builder setPrimaryContactBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for primaryContact to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setPublisher(Publisher value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Publisher | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
setPublisher(Publisher.Builder builderForValue)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Publisher.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Listing.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |
setRequestAccess(String value)
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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe requestAccess to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setRequestAccessBytes(ByteString value)
public Listing.Builder setRequestAccessBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for requestAccess to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setState(Listing.State value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Listing.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Listing.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Listing.Builder | 
        |