Class AttributionSettings.ConversionType.Builder (0.10.0)

public static final class AttributionSettings.ConversionType.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public AttributionSettings.ConversionType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

public AttributionSettings.ConversionType.Builder clone()
Returns
Type Description
AttributionSettings.ConversionType.Builder
Overrides

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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