Class ReportGranularity.Builder (0.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportGranularity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportGranularity.Builder
Overrides

build()

public ReportGranularity build()
Returns
TypeDescription
ReportGranularity

buildPartial()

public ReportGranularity buildPartial()
Returns
TypeDescription
ReportGranularity

clear()

public ReportGranularity.Builder clear()
Returns
TypeDescription
ReportGranularity.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReportGranularity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReportGranularity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportGranularity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReportGranularity.Builder
Overrides

clone()

public ReportGranularity.Builder clone()
Returns
TypeDescription
ReportGranularity.Builder
Overrides

getDefaultInstanceForType()

public ReportGranularity getDefaultInstanceForType()
Returns
TypeDescription
ReportGranularity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportGranularity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportGranularity.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReportGranularity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReportGranularity.Builder
Overrides

mergeFrom(ReportGranularity other)

public ReportGranularity.Builder mergeFrom(ReportGranularity other)
Parameter
NameDescription
otherReportGranularity
Returns
TypeDescription
ReportGranularity.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportGranularity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportGranularity.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReportGranularity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportGranularity.Builder
Overrides

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

public ReportGranularity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReportGranularity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportGranularity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportGranularity.Builder
Overrides