Class ReportingContext (0.2.0)

public final class ReportingContext extends GeneratedMessageV3 implements ReportingContextOrBuilder

Reporting contexts that your account and product issues apply to.

Reporting contexts are groups of surfaces and formats for product results on Google. They can represent the entire destination (for example, Shopping ads) or a subset of formats within a destination (for example, Discovery ads).

Protobuf type google.shopping.type.ReportingContext

Static Methods

getDefaultInstance()

public static ReportingContext getDefaultInstance()
Returns
TypeDescription
ReportingContext

getDescriptor()

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

newBuilder()

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

newBuilder(ReportingContext prototype)

public static ReportingContext.Builder newBuilder(ReportingContext prototype)
Parameter
NameDescription
prototypeReportingContext
Returns
TypeDescription
ReportingContext.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReportingContext getDefaultInstanceForType()
Returns
TypeDescription
ReportingContext

getParserForType()

public Parser<ReportingContext> getParserForType()
Returns
TypeDescription
Parser<ReportingContext>
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 ReportingContext.Builder newBuilderForType()
Returns
TypeDescription
ReportingContext.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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