Interface DataSourceOrBuilder (0.11.0)

public interface DataSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataSourceId()

public abstract long getDataSourceId()

Output only. The data source id.

int64 data_source_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The dataSourceId.

getDisplayName()

public abstract String getDisplayName()

Required. The displayed data source name in the Merchant Center UI.

string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The displayed data source name in the Merchant Center UI.

string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getFileInput()

public abstract FileInput getFileInput()

Optional. The field is used only when data is managed through a file.

.google.shopping.merchant.datasources.v1beta.FileInput file_input = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileInput

The fileInput.

getFileInputOrBuilder()

public abstract FileInputOrBuilder getFileInputOrBuilder()

Optional. The field is used only when data is managed through a file.

.google.shopping.merchant.datasources.v1beta.FileInput file_input = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileInputOrBuilder

getInput()

public abstract DataSource.Input getInput()

Output only. Determines the type of input to the data source. Based on the input some settings might not work. Only generic data sources can be created through the API.

.google.shopping.merchant.datasources.v1beta.DataSource.Input input = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataSource.Input

The input.

getInputValue()

public abstract int getInputValue()

Output only. Determines the type of input to the data source. Based on the input some settings might not work. Only generic data sources can be created through the API.

.google.shopping.merchant.datasources.v1beta.DataSource.Input input = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for input.

getLocalInventoryDataSource()

public abstract LocalInventoryDataSource getLocalInventoryDataSource()

Required. The local inventory data source.

.google.shopping.merchant.datasources.v1beta.LocalInventoryDataSource local_inventory_data_source = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LocalInventoryDataSource

The localInventoryDataSource.

getLocalInventoryDataSourceOrBuilder()

public abstract LocalInventoryDataSourceOrBuilder getLocalInventoryDataSourceOrBuilder()

Required. The local inventory data source.

.google.shopping.merchant.datasources.v1beta.LocalInventoryDataSource local_inventory_data_source = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LocalInventoryDataSourceOrBuilder

getName()

public abstract String getName()

Identifier. The name of the data source. Format: {datasource.name=accounts/{account}/dataSources/{datasource}}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The name of the data source. Format: {datasource.name=accounts/{account}/dataSources/{datasource}}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPrimaryProductDataSource()

public abstract PrimaryProductDataSource getPrimaryProductDataSource()

Required. The primary data source for local and online products.

.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource primary_product_data_source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrimaryProductDataSource

The primaryProductDataSource.

getPrimaryProductDataSourceOrBuilder()

public abstract PrimaryProductDataSourceOrBuilder getPrimaryProductDataSourceOrBuilder()

Required. The primary data source for local and online products.

.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource primary_product_data_source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrimaryProductDataSourceOrBuilder

getPromotionDataSource()

public abstract PromotionDataSource getPromotionDataSource()

Required. The promotion data source.

.google.shopping.merchant.datasources.v1beta.PromotionDataSource promotion_data_source = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PromotionDataSource

The promotionDataSource.

getPromotionDataSourceOrBuilder()

public abstract PromotionDataSourceOrBuilder getPromotionDataSourceOrBuilder()

Required. The promotion data source.

.google.shopping.merchant.datasources.v1beta.PromotionDataSource promotion_data_source = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PromotionDataSourceOrBuilder

getRegionalInventoryDataSource()

public abstract RegionalInventoryDataSource getRegionalInventoryDataSource()

Required. The regional inventory data source.

.google.shopping.merchant.datasources.v1beta.RegionalInventoryDataSource regional_inventory_data_source = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RegionalInventoryDataSource

The regionalInventoryDataSource.

getRegionalInventoryDataSourceOrBuilder()

public abstract RegionalInventoryDataSourceOrBuilder getRegionalInventoryDataSourceOrBuilder()

Required. The regional inventory data source.

.google.shopping.merchant.datasources.v1beta.RegionalInventoryDataSource regional_inventory_data_source = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RegionalInventoryDataSourceOrBuilder

getSupplementalProductDataSource()

public abstract SupplementalProductDataSource getSupplementalProductDataSource()

Required. The supplemental data source for local and online products.

.google.shopping.merchant.datasources.v1beta.SupplementalProductDataSource supplemental_product_data_source = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SupplementalProductDataSource

The supplementalProductDataSource.

getSupplementalProductDataSourceOrBuilder()

public abstract SupplementalProductDataSourceOrBuilder getSupplementalProductDataSourceOrBuilder()

Required. The supplemental data source for local and online products.

.google.shopping.merchant.datasources.v1beta.SupplementalProductDataSource supplemental_product_data_source = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SupplementalProductDataSourceOrBuilder

getTypeCase()

public abstract DataSource.TypeCase getTypeCase()
Returns
Type Description
DataSource.TypeCase

hasFileInput()

public abstract boolean hasFileInput()

Optional. The field is used only when data is managed through a file.

.google.shopping.merchant.datasources.v1beta.FileInput file_input = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the fileInput field is set.

hasLocalInventoryDataSource()

public abstract boolean hasLocalInventoryDataSource()

Required. The local inventory data source.

.google.shopping.merchant.datasources.v1beta.LocalInventoryDataSource local_inventory_data_source = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the localInventoryDataSource field is set.

hasPrimaryProductDataSource()

public abstract boolean hasPrimaryProductDataSource()

Required. The primary data source for local and online products.

.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource primary_product_data_source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the primaryProductDataSource field is set.

hasPromotionDataSource()

public abstract boolean hasPromotionDataSource()

Required. The promotion data source.

.google.shopping.merchant.datasources.v1beta.PromotionDataSource promotion_data_source = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the promotionDataSource field is set.

hasRegionalInventoryDataSource()

public abstract boolean hasRegionalInventoryDataSource()

Required. The regional inventory data source.

.google.shopping.merchant.datasources.v1beta.RegionalInventoryDataSource regional_inventory_data_source = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the regionalInventoryDataSource field is set.

hasSupplementalProductDataSource()

public abstract boolean hasSupplementalProductDataSource()

Required. The supplemental data source for local and online products.

.google.shopping.merchant.datasources.v1beta.SupplementalProductDataSource supplemental_product_data_source = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the supplementalProductDataSource field is set.