Class AggregateProductStatus (0.7.0)

public final class AggregateProductStatus extends GeneratedMessageV3 implements AggregateProductStatusOrBuilder

Aggregate product statuses for a given reporting context and country.

Protobuf type google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus

Static Fields

COUNTRY_FIELD_NUMBER

public static final int COUNTRY_FIELD_NUMBER
Field Value
Type Description
int

ITEM_LEVEL_ISSUES_FIELD_NUMBER

public static final int ITEM_LEVEL_ISSUES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

REPORTING_CONTEXT_FIELD_NUMBER

public static final int REPORTING_CONTEXT_FIELD_NUMBER
Field Value
Type Description
int

STATS_FIELD_NUMBER

public static final int STATS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AggregateProductStatus getDefaultInstance()
Returns
Type Description
AggregateProductStatus

getDescriptor()

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

newBuilder()

public static AggregateProductStatus.Builder newBuilder()
Returns
Type Description
AggregateProductStatus.Builder

newBuilder(AggregateProductStatus prototype)

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

parseDelimitedFrom(InputStream input)

public static AggregateProductStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AggregateProductStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AggregateProductStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AggregateProductStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AggregateProductStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AggregateProductStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AggregateProductStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AggregateProductStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AggregateProductStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AggregateProductStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AggregateProductStatus> parser()
Returns
Type Description
Parser<AggregateProductStatus>

Methods

equals(Object obj)

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

getCountry()

public String getCountry()

The country of the aggregate product statuses. Represented as a CLDR territory code.

string country = 4;

Returns
Type Description
String

The country.

getCountryBytes()

public ByteString getCountryBytes()

The country of the aggregate product statuses. Represented as a CLDR territory code.

string country = 4;

Returns
Type Description
ByteString

The bytes for country.

getDefaultInstanceForType()

public AggregateProductStatus getDefaultInstanceForType()
Returns
Type Description
AggregateProductStatus

getItemLevelIssues(int index)

public AggregateProductStatus.ItemLevelIssue getItemLevelIssues(int index)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameter
Name Description
index int
Returns
Type Description
AggregateProductStatus.ItemLevelIssue

getItemLevelIssuesCount()

public int getItemLevelIssuesCount()

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Returns
Type Description
int

getItemLevelIssuesList()

public List<AggregateProductStatus.ItemLevelIssue> getItemLevelIssuesList()

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Returns
Type Description
List<ItemLevelIssue>

getItemLevelIssuesOrBuilder(int index)

public AggregateProductStatus.ItemLevelIssueOrBuilder getItemLevelIssuesOrBuilder(int index)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameter
Name Description
index int
Returns
Type Description
AggregateProductStatus.ItemLevelIssueOrBuilder

getItemLevelIssuesOrBuilderList()

public List<? extends AggregateProductStatus.ItemLevelIssueOrBuilder> getItemLevelIssuesOrBuilderList()

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Returns
Type Description
List<? extends com.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssueOrBuilder>

getName()

public String getName()

Identifier. The name of the AggregateProductStatuses resource. Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the AggregateProductStatuses resource. Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<AggregateProductStatus> getParserForType()
Returns
Type Description
Parser<AggregateProductStatus>
Overrides

getReportingContext()

public ReportingContext.ReportingContextEnum getReportingContext()

The reporting context of the aggregate product statuses.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 3;

Returns
Type Description
com.google.shopping.type.ReportingContext.ReportingContextEnum

The reportingContext.

getReportingContextValue()

public int getReportingContextValue()

The reporting context of the aggregate product statuses.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 3;

Returns
Type Description
int

The enum numeric value on the wire for reportingContext.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStats()

public AggregateProductStatus.Stats getStats()

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Returns
Type Description
AggregateProductStatus.Stats

The stats.

getStatsOrBuilder()

public AggregateProductStatus.StatsOrBuilder getStatsOrBuilder()

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Returns
Type Description
AggregateProductStatus.StatsOrBuilder

hasStats()

public boolean hasStats()

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Returns
Type Description
boolean

Whether the stats field is set.

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 AggregateProductStatus.Builder newBuilderForType()
Returns
Type Description
AggregateProductStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AggregateProductStatus.Builder toBuilder()
Returns
Type Description
AggregateProductStatus.Builder

writeTo(CodedOutputStream output)

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