Class CssProductStatus.DestinationStatus (0.3.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
TypeDescription
int

DESTINATION_FIELD_NUMBER

public static final int DESTINATION_FIELD_NUMBER
Field Value
TypeDescription
int

DISAPPROVED_COUNTRIES_FIELD_NUMBER

public static final int DISAPPROVED_COUNTRIES_FIELD_NUMBER
Field Value
TypeDescription
int

PENDING_COUNTRIES_FIELD_NUMBER

public static final int PENDING_COUNTRIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CssProductStatus.DestinationStatus getDefaultInstance()
Returns
TypeDescription
CssProductStatus.DestinationStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CssProductStatus.DestinationStatus.Builder newBuilder()
Returns
TypeDescription
CssProductStatus.DestinationStatus.Builder

newBuilder(CssProductStatus.DestinationStatus prototype)

public static CssProductStatus.DestinationStatus.Builder newBuilder(CssProductStatus.DestinationStatus prototype)
Parameter
NameDescription
prototypeCssProductStatus.DestinationStatus
Returns
TypeDescription
CssProductStatus.DestinationStatus.Builder

parseDelimitedFrom(InputStream input)

public static CssProductStatus.DestinationStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CssProductStatus.DestinationStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CssProductStatus.DestinationStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CssProductStatus.DestinationStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CssProductStatus.DestinationStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CssProductStatus.DestinationStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CssProductStatus.DestinationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CssProductStatus.DestinationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the approvedCountries.

getDefaultInstanceForType()

public CssProductStatus.DestinationStatus getDefaultInstanceForType()
Returns
TypeDescription
CssProductStatus.DestinationStatus

getDestination()

public String getDestination()

The name of the destination

string destination = 1;

Returns
TypeDescription
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

The name of the destination

string destination = 1;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the disapprovedCountries.

getParserForType()

public Parser<CssProductStatus.DestinationStatus> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the pendingCountries.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CssProductStatus.DestinationStatus.Builder newBuilderForType()
Returns
TypeDescription
CssProductStatus.DestinationStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CssProductStatus.DestinationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CssProductStatus.DestinationStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CssProductStatus.DestinationStatus.Builder toBuilder()
Returns
TypeDescription
CssProductStatus.DestinationStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException