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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MarketingMethod.BuilderImplements
MarketingMethodOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public MarketingMethod.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
MarketingMethod.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MarketingMethod.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
MarketingMethod.Builder |
clone()
public MarketingMethod.Builder clone()
Returns | |
---|---|
Type | Description |
MarketingMethod.Builder |
getDefaultInstanceForType()
public MarketingMethod getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MarketingMethod |
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 MarketingMethod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MarketingMethod.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MarketingMethod.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
MarketingMethod.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final MarketingMethod.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MarketingMethod.Builder |