Interface PromotionDataSourceOrBuilder (0.9.0)

public interface PromotionDataSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentLanguage()

public abstract String getContentLanguage()

Required. Immutable. The two-letter ISO 639-1 language of the items in the data source.

string content_language = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The contentLanguage.

getContentLanguageBytes()

public abstract ByteString getContentLanguageBytes()

Required. Immutable. The two-letter ISO 639-1 language of the items in the data source.

string content_language = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for contentLanguage.

getTargetCountry()

public abstract String getTargetCountry()

Required. Immutable. The target country used as part of the unique identifier. Represented as a CLDR territory code.

Promotions are only available in selected countries.

string target_country = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The targetCountry.

getTargetCountryBytes()

public abstract ByteString getTargetCountryBytes()

Required. Immutable. The target country used as part of the unique identifier. Represented as a CLDR territory code.

Promotions are only available in selected countries.

string target_country = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for targetCountry.