Class Listing.Builder (0.7.0)

public static final class Listing.Builder extends GeneratedMessageV3.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

Implements

ListingOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.analyticshub.v1.Listing.Category>

The categories to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<Integer>

The enum numeric values on the wire for categories to add.

Returns
TypeDescription
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
NameDescription
valueListing.Category

The categories to add.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for categories to add.

Returns
TypeDescription
Listing.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Listing.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Listing.Builder
Overrides

build()

public Listing build()
Returns
TypeDescription
Listing

buildPartial()

public Listing buildPartial()
Returns
TypeDescription
Listing

clear()

public Listing.Builder clear()
Returns
TypeDescription
Listing.Builder
Overrides

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Listing.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Listing.Builder
Overrides

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Listing.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Listing.Builder
Overrides

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

This builder for chaining.

clearSource()

public Listing.Builder clearSource()
Returns
TypeDescription
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
TypeDescription
Listing.Builder

This builder for chaining.

clone()

public Listing.Builder clone()
Returns
TypeDescription
Listing.Builder
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataProviderOrBuilder

getDefaultInstanceForType()

public Listing getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
ByteString

The bytes for displayName.

getDocumentation()

public String getDocumentation()

Optional. Documentation describing the listing.

string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The documentation.

getDocumentationBytes()

public ByteString getDocumentationBytes()

Optional. Documentation describing the listing.

string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for requestAccess.

getSourceCase()

public Listing.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the publisher field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueListing.BigQueryDatasetSource
Returns
TypeDescription
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
NameDescription
valueDataProvider
Returns
TypeDescription
Listing.Builder

mergeFrom(Listing other)

public Listing.Builder mergeFrom(Listing other)
Parameter
NameDescription
otherListing
Returns
TypeDescription
Listing.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Listing.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Listing.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Listing.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Listing.Builder
Overrides

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
NameDescription
valuePublisher
Returns
TypeDescription
Listing.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Listing.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Listing.Builder
Overrides

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
NameDescription
valueListing.BigQueryDatasetSource
Returns
TypeDescription
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
NameDescription
builderForValueListing.BigQueryDatasetSource.Builder
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueListing.Category

The categories to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueint

The enum numeric value on the wire for categories to set.

Returns
TypeDescription
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
NameDescription
valueDataProvider
Returns
TypeDescription
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
NameDescription
builderForValueDataProvider.Builder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
valueString

The documentation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for documentation to set.

Returns
TypeDescription
Listing.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Listing.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Listing.Builder
Overrides

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
NameDescription
valueByteString

The icon to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The primaryContact to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for primaryContact to set.

Returns
TypeDescription
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
NameDescription
valuePublisher
Returns
TypeDescription
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
NameDescription
builderForValuePublisher.Builder
Returns
TypeDescription
Listing.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Listing.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Listing.Builder
Overrides

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
NameDescription
valueString

The requestAccess to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestAccess to set.

Returns
TypeDescription
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
NameDescription
valueListing.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Listing.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Listing.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Listing.Builder
Overrides