public static final class AggregateProductStatus.Stats.Builder extends GeneratedMessage.Builder<AggregateProductStatus.Stats.Builder> implements AggregateProductStatus.StatsOrBuilderProducts statistics.
Protobuf type
google.shopping.merchant.issueresolution.v1.AggregateProductStatus.Stats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AggregateProductStatus.Stats.BuilderImplements
AggregateProductStatus.StatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AggregateProductStatus.Stats build()| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats |
|
buildPartial()
public AggregateProductStatus.Stats buildPartial()| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats |
|
clear()
public AggregateProductStatus.Stats.Builder clear()| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
|
clearActiveCount()
public AggregateProductStatus.Stats.Builder clearActiveCount()The number of products that are active.
int64 active_count = 1;
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
This builder for chaining. |
clearDisapprovedCount()
public AggregateProductStatus.Stats.Builder clearDisapprovedCount()The number of products that are disapproved.
int64 disapproved_count = 3;
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
This builder for chaining. |
clearExpiringCount()
public AggregateProductStatus.Stats.Builder clearExpiringCount()The number of products that are expiring.
int64 expiring_count = 4;
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
This builder for chaining. |
clearPendingCount()
public AggregateProductStatus.Stats.Builder clearPendingCount()The number of products that are pending.
int64 pending_count = 2;
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
This builder for chaining. |
getActiveCount()
public long getActiveCount()The number of products that are active.
int64 active_count = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The activeCount. |
getDefaultInstanceForType()
public AggregateProductStatus.Stats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisapprovedCount()
public long getDisapprovedCount()The number of products that are disapproved.
int64 disapproved_count = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The disapprovedCount. |
getExpiringCount()
public long getExpiringCount()The number of products that are expiring.
int64 expiring_count = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The expiringCount. |
getPendingCount()
public long getPendingCount()The number of products that are pending.
int64 pending_count = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The pendingCount. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AggregateProductStatus.Stats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AggregateProductStatus.Stats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
|
mergeFrom(AggregateProductStatus.Stats other)
public AggregateProductStatus.Stats.Builder mergeFrom(AggregateProductStatus.Stats other)| Parameter | |
|---|---|
| Name | Description |
other |
AggregateProductStatus.Stats |
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
|
setActiveCount(long value)
public AggregateProductStatus.Stats.Builder setActiveCount(long value)The number of products that are active.
int64 active_count = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe activeCount to set. |
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
This builder for chaining. |
setDisapprovedCount(long value)
public AggregateProductStatus.Stats.Builder setDisapprovedCount(long value)The number of products that are disapproved.
int64 disapproved_count = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe disapprovedCount to set. |
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
This builder for chaining. |
setExpiringCount(long value)
public AggregateProductStatus.Stats.Builder setExpiringCount(long value)The number of products that are expiring.
int64 expiring_count = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe expiringCount to set. |
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
This builder for chaining. |
setPendingCount(long value)
public AggregateProductStatus.Stats.Builder setPendingCount(long value)The number of products that are pending.
int64 pending_count = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe pendingCount to set. |
| Returns | |
|---|---|
| Type | Description |
AggregateProductStatus.Stats.Builder |
This builder for chaining. |