Class MarketingMethod.Builder (0.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MarketingMethod build()
Returns
TypeDescription
MarketingMethod

buildPartial()

public MarketingMethod buildPartial()
Returns
TypeDescription
MarketingMethod

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MarketingMethod getDefaultInstanceForType()
Returns
TypeDescription
MarketingMethod

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

mergeFrom(Message other)

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

mergeFrom(MarketingMethod other)

public MarketingMethod.Builder mergeFrom(MarketingMethod other)
Parameter
NameDescription
otherMarketingMethod
Returns
TypeDescription
MarketingMethod.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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