Class AttributionSettings.ConversionType.Builder (1.11.0)

public static final class AttributionSettings.ConversionType.Builder extends GeneratedMessage.Builder<AttributionSettings.ConversionType.Builder> implements AttributionSettings.ConversionTypeOrBuilder

Message representing a types of conversion events

Protobuf type google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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 String

The 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 ByteString

The 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 boolean

The report to set.

Returns
Type Description
AttributionSettings.ConversionType.Builder

This builder for chaining.