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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int APPROVED_COUNTRIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DESTINATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DISAPPROVED_COUNTRIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PENDING_COUNTRIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static CssProductStatus.DestinationStatus getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CssProductStatus.DestinationStatus.Builder newBuilder()
public static CssProductStatus.DestinationStatus.Builder newBuilder(CssProductStatus.DestinationStatus prototype)
public static CssProductStatus.DestinationStatus parseDelimitedFrom(InputStream input)
public static CssProductStatus.DestinationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CssProductStatus.DestinationStatus parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static CssProductStatus.DestinationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CssProductStatus.DestinationStatus parseFrom(ByteString data)
public static CssProductStatus.DestinationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CssProductStatus.DestinationStatus parseFrom(CodedInputStream input)
public static CssProductStatus.DestinationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CssProductStatus.DestinationStatus parseFrom(InputStream input)
public static CssProductStatus.DestinationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CssProductStatus.DestinationStatus parseFrom(ByteBuffer data)
public static CssProductStatus.DestinationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CssProductStatus.DestinationStatus> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
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.
|
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.
|
public ProtocolStringList getApprovedCountriesList()
List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
approved.
repeated string approved_countries = 2;
public CssProductStatus.DestinationStatus getDefaultInstanceForType()
public String getDestination()
The name of the destination
string destination = 1;
Returns |
Type |
Description |
String |
The destination.
|
public ByteString getDestinationBytes()
The name of the destination
string destination = 1;
Returns |
Type |
Description |
ByteString |
The bytes for destination.
|
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.
|
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.
|
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.
|
public ProtocolStringList getDisapprovedCountriesList()
List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
disapproved.
repeated string disapproved_countries = 4;
public Parser<CssProductStatus.DestinationStatus> getParserForType()
Overrides
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.
|
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.
|
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.
|
public ProtocolStringList getPendingCountriesList()
List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
pending approval.
repeated string pending_countries = 3;
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CssProductStatus.DestinationStatus.Builder newBuilderForType()
protected CssProductStatus.DestinationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public CssProductStatus.DestinationStatus.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides