Class CssProductStatus.DestinationStatus (0.13.0)

public static final class CssProductStatus.DestinationStatus extends GeneratedMessageV3 implements CssProductStatus.DestinationStatusOrBuilder

The destination status of the product status.

Protobuf type google.shopping.css.v1.CssProductStatus.DestinationStatus

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CssProductStatus.DestinationStatus

Static Fields

APPROVED_COUNTRIES_FIELD_NUMBER

public static final int APPROVED_COUNTRIES_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_FIELD_NUMBER

public static final int DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

DISAPPROVED_COUNTRIES_FIELD_NUMBER

public static final int DISAPPROVED_COUNTRIES_FIELD_NUMBER
Field Value
Type Description
int

PENDING_COUNTRIES_FIELD_NUMBER

public static final int PENDING_COUNTRIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CssProductStatus.DestinationStatus getDefaultInstance()
Returns
Type Description
CssProductStatus.DestinationStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CssProductStatus.DestinationStatus.Builder newBuilder()
Returns
Type Description
CssProductStatus.DestinationStatus.Builder

newBuilder(CssProductStatus.DestinationStatus prototype)

public static CssProductStatus.DestinationStatus.Builder newBuilder(CssProductStatus.DestinationStatus prototype)
Parameter
Name Description
prototype CssProductStatus.DestinationStatus
Returns
Type Description
CssProductStatus.DestinationStatus.Builder

parseDelimitedFrom(InputStream input)

public static CssProductStatus.DestinationStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CssProductStatus.DestinationStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CssProductStatus.DestinationStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CssProductStatus.DestinationStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CssProductStatus.DestinationStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CssProductStatus.DestinationStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CssProductStatus.DestinationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CssProductStatus.DestinationStatus> parser()
Returns
Type Description
Parser<DestinationStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApprovedCountries(int index)

public String getApprovedCountries(int index)

List of country codes (ISO 3166-1 alpha-2) where the aggregate 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 ByteString getApprovedCountriesBytes(int index)

List of country codes (ISO 3166-1 alpha-2) where the aggregate 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 int getApprovedCountriesCount()

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

repeated string approved_countries = 2;

Returns
Type Description
int

The count of approvedCountries.

getApprovedCountriesList()

public ProtocolStringList getApprovedCountriesList()

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

repeated string approved_countries = 2;

Returns
Type Description
ProtocolStringList

A list containing the approvedCountries.

getDefaultInstanceForType()

public CssProductStatus.DestinationStatus getDefaultInstanceForType()
Returns
Type Description
CssProductStatus.DestinationStatus

getDestination()

public String getDestination()

The name of the destination

string destination = 1;

Returns
Type Description
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

The name of the destination

string destination = 1;

Returns
Type Description
ByteString

The bytes for destination.

getDisapprovedCountries(int index)

public String getDisapprovedCountries(int index)

List of country codes (ISO 3166-1 alpha-2) where the aggregate 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 ByteString getDisapprovedCountriesBytes(int index)

List of country codes (ISO 3166-1 alpha-2) where the aggregate 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 int getDisapprovedCountriesCount()

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

repeated string disapproved_countries = 4;

Returns
Type Description
int

The count of disapprovedCountries.

getDisapprovedCountriesList()

public ProtocolStringList getDisapprovedCountriesList()

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

repeated string disapproved_countries = 4;

Returns
Type Description
ProtocolStringList

A list containing the disapprovedCountries.

getParserForType()

public Parser<CssProductStatus.DestinationStatus> getParserForType()
Returns
Type Description
Parser<DestinationStatus>
Overrides

getPendingCountries(int index)

public String getPendingCountries(int index)

List of country codes (ISO 3166-1 alpha-2) where the aggregate 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 ByteString getPendingCountriesBytes(int index)

List of country codes (ISO 3166-1 alpha-2) where the aggregate 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 int getPendingCountriesCount()

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

repeated string pending_countries = 3;

Returns
Type Description
int

The count of pendingCountries.

getPendingCountriesList()

public ProtocolStringList getPendingCountriesList()

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

repeated string pending_countries = 3;

Returns
Type Description
ProtocolStringList

A list containing the pendingCountries.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CssProductStatus.DestinationStatus.Builder newBuilderForType()
Returns
Type Description
CssProductStatus.DestinationStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CssProductStatus.DestinationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CssProductStatus.DestinationStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CssProductStatus.DestinationStatus.Builder toBuilder()
Returns
Type Description
CssProductStatus.DestinationStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException