public static final class ProductStatus.DestinationStatus extends GeneratedMessageV3 implements ProductStatus.DestinationStatusOrBuilder
The destination status of the product status.
Protobuf type google.shopping.merchant.products.v1beta.ProductStatus.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 DISAPPROVED_COUNTRIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PENDING_COUNTRIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPORTING_CONTEXT_FIELD_NUMBER
public static final int REPORTING_CONTEXT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static ProductStatus.DestinationStatus getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ProductStatus.DestinationStatus.Builder newBuilder()
public static ProductStatus.DestinationStatus.Builder newBuilder(ProductStatus.DestinationStatus prototype)
public static ProductStatus.DestinationStatus parseDelimitedFrom(InputStream input)
public static ProductStatus.DestinationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductStatus.DestinationStatus parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static ProductStatus.DestinationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProductStatus.DestinationStatus parseFrom(ByteString data)
public static ProductStatus.DestinationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProductStatus.DestinationStatus parseFrom(CodedInputStream input)
public static ProductStatus.DestinationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductStatus.DestinationStatus parseFrom(InputStream input)
public static ProductStatus.DestinationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductStatus.DestinationStatus parseFrom(ByteBuffer data)
public static ProductStatus.DestinationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ProductStatus.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 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 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 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 offer is approved.
repeated string approved_countries = 2;
public ProductStatus.DestinationStatus getDefaultInstanceForType()
public 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.
|
public 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.
|
public 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.
|
public ProtocolStringList getDisapprovedCountriesList()
List of country codes (ISO 3166-1 alpha-2) where the offer is
disapproved.
repeated string disapproved_countries = 4;
public Parser<ProductStatus.DestinationStatus> getParserForType()
Overrides
public 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.
|
public 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.
|
public 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.
|
public ProtocolStringList getPendingCountriesList()
List of country codes (ISO 3166-1 alpha-2) where the offer is pending
approval.
repeated string pending_countries = 3;
getReportingContext()
public 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 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.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ProductStatus.DestinationStatus.Builder newBuilderForType()
protected ProductStatus.DestinationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public ProductStatus.DestinationStatus.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides