Class ReportGranularity (0.11.0)

public final class ReportGranularity extends GeneratedMessageV3 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

getDefaultInstance()

public static ReportGranularity getDefaultInstance()
Returns
TypeDescription
ReportGranularity

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReportGranularity.Builder newBuilder()
Returns
TypeDescription
ReportGranularity.Builder

newBuilder(ReportGranularity prototype)

public static ReportGranularity.Builder newBuilder(ReportGranularity prototype)
Parameter
NameDescription
prototypeReportGranularity
Returns
TypeDescription
ReportGranularity.Builder

parseDelimitedFrom(InputStream input)

public static ReportGranularity parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportGranularity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReportGranularity parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportGranularity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportGranularity parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportGranularity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportGranularity parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportGranularity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReportGranularity parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportGranularity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReportGranularity parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportGranularity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportGranularity
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReportGranularity> parser()
Returns
TypeDescription
Parser<ReportGranularity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReportGranularity getDefaultInstanceForType()
Returns
TypeDescription
ReportGranularity

getParserForType()

public Parser<ReportGranularity> getParserForType()
Returns
TypeDescription
Parser<ReportGranularity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReportGranularity.Builder newBuilderForType()
Returns
TypeDescription
ReportGranularity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportGranularity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReportGranularity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReportGranularity.Builder toBuilder()
Returns
TypeDescription
ReportGranularity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException