Interface ProductStatus.DestinationStatusOrBuilder (0.10.0)

public static interface ProductStatus.DestinationStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApprovedCountries(int index)

public abstract String getApprovedCountries(int index)

List of country codes (ISO 3166-1 alpha-2) where the offer is approved.

repeated string approved_countries = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The approvedCountries at the given index.

getApprovedCountriesBytes(int index)

public abstract ByteString getApprovedCountriesBytes(int index)

List of country codes (ISO 3166-1 alpha-2) where the offer is approved.

repeated string approved_countries = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the approvedCountries at the given index.

getApprovedCountriesCount()

public abstract int getApprovedCountriesCount()

List of country codes (ISO 3166-1 alpha-2) where the offer is approved.

repeated string approved_countries = 2;

Returns
Type Description
int

The count of approvedCountries.

getApprovedCountriesList()

public abstract List<String> getApprovedCountriesList()

List of country codes (ISO 3166-1 alpha-2) where the offer is approved.

repeated string approved_countries = 2;

Returns
Type Description
List<String>

A list containing the approvedCountries.

getDisapprovedCountries(int index)

public abstract String getDisapprovedCountries(int index)

List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved.

repeated string disapproved_countries = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The disapprovedCountries at the given index.

getDisapprovedCountriesBytes(int index)

public abstract ByteString getDisapprovedCountriesBytes(int index)

List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved.

repeated string disapproved_countries = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the disapprovedCountries at the given index.

getDisapprovedCountriesCount()

public abstract int getDisapprovedCountriesCount()

List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved.

repeated string disapproved_countries = 4;

Returns
Type Description
int

The count of disapprovedCountries.

getDisapprovedCountriesList()

public abstract List<String> getDisapprovedCountriesList()

List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved.

repeated string disapproved_countries = 4;

Returns
Type Description
List<String>

A list containing the disapprovedCountries.

getPendingCountries(int index)

public abstract String getPendingCountries(int index)

List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.

repeated string pending_countries = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The pendingCountries at the given index.

getPendingCountriesBytes(int index)

public abstract ByteString getPendingCountriesBytes(int index)

List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.

repeated string pending_countries = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the pendingCountries at the given index.

getPendingCountriesCount()

public abstract int getPendingCountriesCount()

List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.

repeated string pending_countries = 3;

Returns
Type Description
int

The count of pendingCountries.

getPendingCountriesList()

public abstract List<String> getPendingCountriesList()

List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.

repeated string pending_countries = 3;

Returns
Type Description
List<String>

A list containing the pendingCountries.

getReportingContext()

public abstract ReportingContext.ReportingContextEnum getReportingContext()

The name of the reporting context.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;

Returns
Type Description
com.google.shopping.type.ReportingContext.ReportingContextEnum

The reportingContext.

getReportingContextValue()

public abstract int getReportingContextValue()

The name of the reporting context.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;

Returns
Type Description
int

The enum numeric value on the wire for reportingContext.