public static final class ProductView.StatusPerReportingContext extends GeneratedMessage implements ProductView.StatusPerReportingContextOrBuilder
Status of the product for a specific reporting context.
Equivalent to
DestinationStatus
in Products API.
Protobuf type google.shopping.merchant.reports.v1.ProductView.StatusPerReportingContext
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
APPROVED_COUNTRIES_FIELD_NUMBER
public static final int APPROVED_COUNTRIES_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 |
|
REPORTING_CONTEXT_FIELD_NUMBER
public static final int REPORTING_CONTEXT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ProductView.StatusPerReportingContext getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ProductView.StatusPerReportingContext.Builder newBuilder()
newBuilder(ProductView.StatusPerReportingContext prototype)
public static ProductView.StatusPerReportingContext.Builder newBuilder(ProductView.StatusPerReportingContext prototype)
parseDelimitedFrom(InputStream input)
public static ProductView.StatusPerReportingContext parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductView.StatusPerReportingContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ProductView.StatusPerReportingContext parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProductView.StatusPerReportingContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ProductView.StatusPerReportingContext parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProductView.StatusPerReportingContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ProductView.StatusPerReportingContext parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductView.StatusPerReportingContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ProductView.StatusPerReportingContext parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductView.StatusPerReportingContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ProductView.StatusPerReportingContext parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProductView.StatusPerReportingContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ProductView.StatusPerReportingContext> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getApprovedCountries(int index)
public String getApprovedCountries(int index)
List of approved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
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 approved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
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 approved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string approved_countries = 2;
| Returns |
| Type |
Description |
int |
The count of approvedCountries.
|
getApprovedCountriesList()
public ProtocolStringList getApprovedCountriesList()
List of approved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string approved_countries = 2;
getDefaultInstanceForType()
public ProductView.StatusPerReportingContext getDefaultInstanceForType()
getDisapprovedCountries(int index)
public String getDisapprovedCountries(int index)
List of disapproved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string disapproved_countries = 3;
| 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 disapproved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string disapproved_countries = 3;
| 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 disapproved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string disapproved_countries = 3;
| Returns |
| Type |
Description |
int |
The count of disapprovedCountries.
|
getDisapprovedCountriesList()
public ProtocolStringList getDisapprovedCountriesList()
List of disapproved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string disapproved_countries = 3;
getParserForType()
public Parser<ProductView.StatusPerReportingContext> getParserForType()
Overrides
getPendingCountries(int index)
public String getPendingCountries(int index)
List of pending countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string pending_countries = 4;
| 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 pending countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string pending_countries = 4;
| 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 pending countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string pending_countries = 4;
| Returns |
| Type |
Description |
int |
The count of pendingCountries.
|
getPendingCountriesList()
public ProtocolStringList getPendingCountriesList()
List of pending countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string pending_countries = 4;
getReportingContext()
public ReportingContext.ReportingContextEnum getReportingContext()
Reporting context the status applies to.
optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;
| Returns |
| Type |
Description |
com.google.shopping.type.ReportingContext.ReportingContextEnum |
The reportingContext.
|
getReportingContextValue()
public int getReportingContextValue()
Reporting context the status applies to.
optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for reportingContext.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasReportingContext()
public boolean hasReportingContext()
Reporting context the status applies to.
optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;
| Returns |
| Type |
Description |
boolean |
Whether the reportingContext field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ProductView.StatusPerReportingContext.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ProductView.StatusPerReportingContext.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ProductView.StatusPerReportingContext.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides