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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReportingContext.BuilderImplements
ReportingContextOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportingContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
build()
public ReportingContext build()
Returns | |
---|---|
Type | Description |
ReportingContext |
buildPartial()
public ReportingContext buildPartial()
Returns | |
---|---|
Type | Description |
ReportingContext |
clear()
public ReportingContext.Builder clear()
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReportingContext.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportingContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
clone()
public ReportingContext.Builder clone()
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
getDefaultInstanceForType()
public ReportingContext getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReportingContext |
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 ReportingContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReportingContext.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
mergeFrom(ReportingContext other)
public ReportingContext.Builder mergeFrom(ReportingContext other)
Parameter | |
---|---|
Name | Description |
other | ReportingContext |
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportingContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReportingContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportingContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportingContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReportingContext.Builder |