Interface ListingOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Listing
,Listing.Builder
public interface ListingOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBigqueryDataset
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];
- Returns:
- Whether the bigqueryDataset field is set.
-
getBigqueryDataset
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];
- Returns:
- The bigqueryDataset.
-
getBigqueryDatasetOrBuilder
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];
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
getDisplayName
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:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for displayName.
-
getDescription
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:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for description.
-
getPrimaryContact
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:
- The primaryContact.
-
getPrimaryContactBytes
com.google.protobuf.ByteString getPrimaryContactBytes()
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for primaryContact.
-
getDocumentation
String getDocumentation()
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The documentation.
-
getDocumentationBytes
com.google.protobuf.ByteString getDocumentationBytes()
Optional. Documentation describing the listing.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for documentation.
-
getStateValue
int getStateValue()
Output only. Current state of the listing.
.google.cloud.bigquery.dataexchange.v1beta1.Listing.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
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];
- Returns:
- The state.
-
getIcon
com.google.protobuf.ByteString getIcon()
Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
bytes icon = 8 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The icon.
-
hasDataProvider
boolean hasDataProvider()
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the dataProvider field is set.
-
getDataProvider
DataProvider getDataProvider()
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The dataProvider.
-
getDataProviderOrBuilder
DataProviderOrBuilder getDataProviderOrBuilder()
Optional. Details of the data provider who owns the source data.
.google.cloud.bigquery.dataexchange.v1beta1.DataProvider data_provider = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getCategoriesList
List<Listing.Category> getCategoriesList()
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.v1beta1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- A list containing the categories.
-
getCategoriesCount
int getCategoriesCount()
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.v1beta1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The count of categories.
-
getCategories
Listing.Category getCategories(int index)
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.v1beta1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the element to return.- Returns:
- The categories at the given index.
-
getCategoriesValueList
List<Integer> getCategoriesValueList()
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.v1beta1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- A list containing the enum numeric values on the wire for categories.
-
getCategoriesValue
int getCategoriesValue(int index)
Optional. Categories of the listing. Up to two categories are allowed.
repeated .google.cloud.bigquery.dataexchange.v1beta1.Listing.Category categories = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of categories at the given index.
-
hasPublisher
boolean hasPublisher()
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the publisher field is set.
-
getPublisher
Publisher getPublisher()
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The publisher.
-
getPublisherOrBuilder
PublisherOrBuilder getPublisherOrBuilder()
Optional. Details of the publisher who owns the listing and who can share the source data.
.google.cloud.bigquery.dataexchange.v1beta1.Publisher publisher = 11 [(.google.api.field_behavior) = OPTIONAL];
-
getRequestAccess
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:
- The requestAccess.
-
getRequestAccessBytes
com.google.protobuf.ByteString getRequestAccessBytes()
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
string request_access = 12 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for requestAccess.
-
getSourceCase
Listing.SourceCase getSourceCase()
-
-