public static final class AttributionSettings.ConversionType.Builder extends GeneratedMessage.Builder<AttributionSettings.ConversionType.Builder> implements AttributionSettings.ConversionTypeOrBuilderMessage representing a types of conversion events
Protobuf type
google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AttributionSettings.ConversionType.BuilderImplements
AttributionSettings.ConversionTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AttributionSettings.ConversionType build()| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType |
|
buildPartial()
public AttributionSettings.ConversionType buildPartial()| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType |
|
clear()
public AttributionSettings.ConversionType.Builder clear()| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType.Builder |
|
clearName()
public AttributionSettings.ConversionType.Builder clearName()Output only. Conversion event name, as it'll be reported by the client.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType.Builder |
This builder for chaining. |
clearReport()
public AttributionSettings.ConversionType.Builder clearReport()Output only. Option indicating if the type should be included in Merchant Center reporting.
bool report = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AttributionSettings.ConversionType getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Output only. Conversion event name, as it'll be reported by the client.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. Conversion event name, as it'll be reported by the client.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getReport()
public boolean getReport()Output only. Option indicating if the type should be included in Merchant Center reporting.
bool report = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The report. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AttributionSettings.ConversionType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AttributionSettings.ConversionType.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType.Builder |
|
mergeFrom(AttributionSettings.ConversionType other)
public AttributionSettings.ConversionType.Builder mergeFrom(AttributionSettings.ConversionType other)| Parameter | |
|---|---|
| Name | Description |
other |
AttributionSettings.ConversionType |
| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType.Builder |
|
setName(String value)
public AttributionSettings.ConversionType.Builder setName(String value)Output only. Conversion event name, as it'll be reported by the client.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AttributionSettings.ConversionType.Builder setNameBytes(ByteString value)Output only. Conversion event name, as it'll be reported by the client.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType.Builder |
This builder for chaining. |
setReport(boolean value)
public AttributionSettings.ConversionType.Builder setReport(boolean value)Output only. Option indicating if the type should be included in Merchant Center reporting.
bool report = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe report to set. |
| Returns | |
|---|---|
| Type | Description |
AttributionSettings.ConversionType.Builder |
This builder for chaining. |