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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReportGranularity.BuilderImplements
ReportGranularityOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public ReportGranularity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReportGranularity.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportGranularity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReportGranularity.Builder |
clone()
public ReportGranularity.Builder clone()
Returns | |
---|---|
Type | Description |
ReportGranularity.Builder |
getDefaultInstanceForType()
public ReportGranularity getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReportGranularity |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReportGranularity.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ReportGranularity.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportGranularity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReportGranularity.Builder |