Class ReportGranularity.Builder (0.25.0)

public static final class ReportGranularity.Builder extends GeneratedMessageV3.Builder<ReportGranularity.Builder> implements ReportGranularityOrBuilder

Granularity of the Best sellers report. Best sellers reports are computed over a week and a month timeframe.

Protobuf type google.shopping.merchant.reports.v1beta.ReportGranularity

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportGranularity build()
Returns
Type Description
ReportGranularity

buildPartial()

public ReportGranularity buildPartial()
Returns
Type Description
ReportGranularity

clear()

public ReportGranularity.Builder clear()
Returns
Type Description
ReportGranularity.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ReportGranularity.Builder clone()
Returns
Type Description
ReportGranularity.Builder
Overrides

getDefaultInstanceForType()

public ReportGranularity getDefaultInstanceForType()
Returns
Type Description
ReportGranularity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 ReportGranularity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportGranularity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReportGranularity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReportGranularity.Builder
Overrides

mergeFrom(ReportGranularity other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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