Class ReportingContext.Builder (0.2.0)

public static final class ReportingContext.Builder extends GeneratedMessageV3.Builder<ReportingContext.Builder> 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

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportingContext build()
Returns
TypeDescription
ReportingContext

buildPartial()

public ReportingContext buildPartial()
Returns
TypeDescription
ReportingContext

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ReportingContext getDefaultInstanceForType()
Returns
TypeDescription
ReportingContext

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 ReportingContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportingContext.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(ReportingContext other)

public ReportingContext.Builder mergeFrom(ReportingContext other)
Parameter
NameDescription
otherReportingContext
Returns
TypeDescription
ReportingContext.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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