Class AggregateProductStatus.Stats.Builder (0.7.0)

public static final class AggregateProductStatus.Stats.Builder extends GeneratedMessageV3.Builder<AggregateProductStatus.Stats.Builder> implements AggregateProductStatus.StatsOrBuilder

Products statistics.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AggregateProductStatus.Stats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AggregateProductStatus.Stats.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public AggregateProductStatus.Stats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AggregateProductStatus.Stats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AggregateProductStatus.Stats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AggregateProductStatus.Stats.Builder
Overrides

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.

clone()

public AggregateProductStatus.Stats.Builder clone()
Returns
Type Description
AggregateProductStatus.Stats.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeFrom(AggregateProductStatus.Stats other)

public AggregateProductStatus.Stats.Builder mergeFrom(AggregateProductStatus.Stats other)
Parameter
Name Description
other AggregateProductStatus.Stats
Returns
Type Description
AggregateProductStatus.Stats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AggregateProductStatus.Stats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AggregateProductStatus.Stats.Builder
Overrides

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 long

The 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 long

The 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 long

The expiringCount to set.

Returns
Type Description
AggregateProductStatus.Stats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AggregateProductStatus.Stats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AggregateProductStatus.Stats.Builder
Overrides

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 long

The pendingCount to set.

Returns
Type Description
AggregateProductStatus.Stats.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AggregateProductStatus.Stats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AggregateProductStatus.Stats.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AggregateProductStatus.Stats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AggregateProductStatus.Stats.Builder
Overrides