Class MarketingMethod.Builder (0.20.0)

public static final class MarketingMethod.Builder extends GeneratedMessageV3.Builder<MarketingMethod.Builder> implements MarketingMethodOrBuilder

Marketing method used to promote your products on Google (organic versus ads).

Protobuf type google.shopping.merchant.reports.v1beta.MarketingMethod

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MarketingMethod.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MarketingMethod.Builder
Overrides

build()

public MarketingMethod build()
Returns
Type Description
MarketingMethod

buildPartial()

public MarketingMethod buildPartial()
Returns
Type Description
MarketingMethod

clear()

public MarketingMethod.Builder clear()
Returns
Type Description
MarketingMethod.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MarketingMethod.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MarketingMethod.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MarketingMethod.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MarketingMethod.Builder
Overrides

clone()

public MarketingMethod.Builder clone()
Returns
Type Description
MarketingMethod.Builder
Overrides

getDefaultInstanceForType()

public MarketingMethod getDefaultInstanceForType()
Returns
Type Description
MarketingMethod

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MarketingMethod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MarketingMethod.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MarketingMethod.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MarketingMethod.Builder
Overrides

mergeFrom(MarketingMethod other)

public MarketingMethod.Builder mergeFrom(MarketingMethod other)
Parameter
Name Description
other MarketingMethod
Returns
Type Description
MarketingMethod.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MarketingMethod.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MarketingMethod.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MarketingMethod.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MarketingMethod.Builder
Overrides

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

public MarketingMethod.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MarketingMethod.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MarketingMethod.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MarketingMethod.Builder
Overrides