- 2.50.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.0.0
- 0.3.2
- 0.2.1
- 0.1.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.dataexchange.v1beta1.Listing
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Listing.BuilderImplements
ListingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllCategories(Iterable<? extends Category> values)
public Listing.Builder addAllCategories(Iterable<? extends Category> values)
Optional. Categories of the Listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.dataexchange.common.Category> The categories to add. |
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.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for categories to add. |
Type | Description |
Listing.Builder | This builder for chaining. |
addCategories(Category value)
public Listing.Builder addCategories(Category value)
Optional. Categories of the Listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | Category The categories to add. |
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.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | int The enum numeric value on the wire for categories to add. |
Type | Description |
Listing.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Listing.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Listing.Builder |
build()
public Listing build()
Type | Description |
Listing |
buildPartial()
public Listing buildPartial()
Type | Description |
Listing |
clear()
public Listing.Builder clear()
Type | Description |
Listing.Builder |
clearBigqueryDataset()
public Listing.Builder clearBigqueryDataset()
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.dataexchange.v1beta1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Listing.Builder |
clearCategories()
public Listing.Builder clearCategories()
Optional. Categories of the Listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Listing.Builder | This builder for chaining. |
clearDataProvider()
public Listing.Builder clearDataProvider()
Optional. The details of the Data Provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Listing.Builder |
clearDescription()
public Listing.Builder clearDescription()
Optional. Short description of the listing that can consist of sentences or paragraphs. The description must not contain Unicode non-characters as well as 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];
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 ( ), 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];
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];
Type | Description |
Listing.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Listing.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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];
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];
Type | Description |
Listing.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Listing.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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];
Type | Description |
Listing.Builder | This builder for chaining. |
clearPublisher()
public Listing.Builder clearPublisher()
Optional. The details of the Publisher who owns the listing and has rights to share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
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];
Type | Description |
Listing.Builder | This builder for chaining. |
clearSource()
public Listing.Builder clearSource()
Type | Description |
Listing.Builder |
clearState()
public Listing.Builder clearState()
Output only. Current state of the Listing.
.google.cloud.bigquery.dataexchange.v1beta1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Listing.Builder | This builder for chaining. |
clone()
public Listing.Builder clone()
Type | Description |
Listing.Builder |
getBigqueryDataset()
public Listing.BigQueryDatasetSource getBigqueryDataset()
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.dataexchange.v1beta1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Listing.BigQueryDatasetSource | The bigqueryDataset. |
getBigqueryDatasetBuilder()
public Listing.BigQueryDatasetSource.Builder getBigqueryDatasetBuilder()
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.dataexchange.v1beta1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Listing.BigQueryDatasetSource.Builder |
getBigqueryDatasetOrBuilder()
public Listing.BigQueryDatasetSourceOrBuilder getBigqueryDatasetOrBuilder()
Required. Shared dataset i.e. BigQuery dataset source.
.google.cloud.bigquery.dataexchange.v1beta1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Listing.BigQueryDatasetSourceOrBuilder |
getCategories(int index)
public Category getCategories(int index)
Optional. Categories of the Listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index of the element to return. |
Type | Description |
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.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int | The count of categories. |
getCategoriesList()
public List<Category> getCategoriesList()
Optional. Categories of the Listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
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.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index of the value to return. |
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.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for categories. |
getDataProvider()
public DataProvider getDataProvider()
Optional. The details of the Data Provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
DataProvider | The dataProvider. |
getDataProviderBuilder()
public DataProvider.Builder getDataProviderBuilder()
Optional. The details of the Data Provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
DataProvider.Builder |
getDataProviderOrBuilder()
public DataProviderOrBuilder getDataProviderOrBuilder()
Optional. The details of the Data Provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
DataProviderOrBuilder |
getDefaultInstanceForType()
public Listing getDefaultInstanceForType()
Type | Description |
Listing |
getDescription()
public String getDescription()
Optional. Short description of the listing that can consist of sentences or paragraphs. The description must not contain Unicode non-characters as well as 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];
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Short description of the listing that can consist of sentences or paragraphs. The description must not contain Unicode non-characters as well as 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];
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 ( ), 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];
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 ( ), 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];
Type | Description |
ByteString | The bytes for displayName. |
getDocumentation()
public String getDocumentation()
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The documentation. |
getDocumentationBytes()
public ByteString getDocumentationBytes()
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
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];
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];
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];
Type | Description |
ByteString | The bytes for primaryContact. |
getPublisher()
public Publisher getPublisher()
Optional. The details of the Publisher who owns the listing and has rights to share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Publisher | The publisher. |
getPublisherBuilder()
public Publisher.Builder getPublisherBuilder()
Optional. The details of the Publisher who owns the listing and has rights to share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Publisher.Builder |
getPublisherOrBuilder()
public PublisherOrBuilder getPublisherOrBuilder()
Optional. The details of the Publisher who owns the listing and has rights to share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
Type | Description |
ByteString | The bytes for requestAccess. |
getSourceCase()
public Listing.SourceCase getSourceCase()
Type | Description |
Listing.SourceCase |
getState()
public Listing.State getState()
Output only. Current state of the Listing.
.google.cloud.bigquery.dataexchange.v1beta1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Listing.State | The state. |
getStateValue()
public int getStateValue()
Output only. Current state of the Listing.
.google.cloud.bigquery.dataexchange.v1beta1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.dataexchange.v1beta1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the bigqueryDataset field is set. |
hasDataProvider()
public boolean hasDataProvider()
Optional. The details of the Data Provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the dataProvider field is set. |
hasPublisher()
public boolean hasPublisher()
Optional. The details of the Publisher who owns the listing and has rights to share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the publisher field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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.dataexchange.v1beta1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Listing.BigQueryDatasetSource |
Type | Description |
Listing.Builder |
mergeDataProvider(DataProvider value)
public Listing.Builder mergeDataProvider(DataProvider value)
Optional. The details of the Data Provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | DataProvider |
Type | Description |
Listing.Builder |
mergeFrom(Listing other)
public Listing.Builder mergeFrom(Listing other)
Name | Description |
other | Listing |
Type | Description |
Listing.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Listing.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Listing.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Listing.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Listing.Builder |
mergePublisher(Publisher value)
public Listing.Builder mergePublisher(Publisher value)
Optional. The details of the Publisher who owns the listing and has rights to share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | Publisher |
Type | Description |
Listing.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Listing.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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.dataexchange.v1beta1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Listing.BigQueryDatasetSource |
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.dataexchange.v1beta1.Listing.BigQueryDatasetSource bigquery_dataset = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Listing.BigQueryDatasetSource.Builder |
Type | Description |
Listing.Builder |
setCategories(int index, Category value)
public Listing.Builder setCategories(int index, Category value)
Optional. Categories of the Listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index to set the value at. |
value | Category The categories to set. |
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.dataexchange.common.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for categories to set. |
Type | Description |
Listing.Builder | This builder for chaining. |
setDataProvider(DataProvider value)
public Listing.Builder setDataProvider(DataProvider value)
Optional. The details of the Data Provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | DataProvider |
Type | Description |
Listing.Builder |
setDataProvider(DataProvider.Builder builderForValue)
public Listing.Builder setDataProvider(DataProvider.Builder builderForValue)
Optional. The details of the Data Provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | DataProvider.Builder |
Type | Description |
Listing.Builder |
setDescription(String value)
public Listing.Builder setDescription(String value)
Optional. Short description of the listing that can consist of sentences or paragraphs. The description must not contain Unicode non-characters as well as 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];
Name | Description |
value | String The description to set. |
Type | Description |
Listing.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Listing.Builder setDescriptionBytes(ByteString value)
Optional. Short description of the listing that can consist of sentences or paragraphs. The description must not contain Unicode non-characters as well as 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];
Name | Description |
value | ByteString The bytes for description to set. |
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 ( ), 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];
Name | Description |
value | String The displayName to set. |
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 ( ), 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];
Name | Description |
value | ByteString The bytes for displayName to set. |
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];
Name | Description |
value | String The documentation to set. |
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];
Name | Description |
value | ByteString The bytes for documentation to set. |
Type | Description |
Listing.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Listing.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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];
Name | Description |
value | ByteString The icon to set. |
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];
Name | Description |
value | String The name to set. |
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];
Name | Description |
value | ByteString The bytes for name to set. |
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];
Name | Description |
value | String The primaryContact to set. |
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];
Name | Description |
value | ByteString The bytes for primaryContact to set. |
Type | Description |
Listing.Builder | This builder for chaining. |
setPublisher(Publisher value)
public Listing.Builder setPublisher(Publisher value)
Optional. The details of the Publisher who owns the listing and has rights to share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | Publisher |
Type | Description |
Listing.Builder |
setPublisher(Publisher.Builder builderForValue)
public Listing.Builder setPublisher(Publisher.Builder builderForValue)
Optional. The details of the Publisher who owns the listing and has rights to share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | Publisher.Builder |
Type | Description |
Listing.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Listing.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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];
Name | Description |
value | String The requestAccess to set. |
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];
Name | Description |
value | ByteString The bytes for requestAccess to set. |
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.dataexchange.v1beta1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Listing.State The state to set. |
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.dataexchange.v1beta1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Listing.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Listing.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Listing.Builder |