public static final class AttributionSettings.Builder extends GeneratedMessageV3.Builder<AttributionSettings.Builder> implements AttributionSettingsOrBuilder
Represents attribution settings for conversion sources receiving
pre-attribution data.
Protobuf type google.shopping.merchant.conversions.v1beta.AttributionSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public AttributionSettings.Builder addAllConversionType(Iterable<? extends AttributionSettings.ConversionType> values)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType>
|
public AttributionSettings.Builder addConversionType(AttributionSettings.ConversionType value)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public AttributionSettings.Builder addConversionType(AttributionSettings.ConversionType.Builder builderForValue)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public AttributionSettings.Builder addConversionType(int index, AttributionSettings.ConversionType value)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public AttributionSettings.Builder addConversionType(int index, AttributionSettings.ConversionType.Builder builderForValue)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public AttributionSettings.ConversionType.Builder addConversionTypeBuilder()
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public AttributionSettings.ConversionType.Builder addConversionTypeBuilder(int index)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Parameter |
Name |
Description |
index |
int
|
public AttributionSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AttributionSettings build()
public AttributionSettings buildPartial()
public AttributionSettings.Builder clear()
Overrides
public AttributionSettings.Builder clearAttributionLookbackWindowDays()
Required. Lookback windows (in days) used for attribution in this source.
Supported values are 7, 30, 40.
int32 attribution_lookback_window_days = 1 [(.google.api.field_behavior) = REQUIRED];
public AttributionSettings.Builder clearAttributionModel()
Required. Attribution model.
.google.shopping.merchant.conversions.v1beta.AttributionSettings.AttributionModel attribution_model = 2 [(.google.api.field_behavior) = REQUIRED];
public AttributionSettings.Builder clearConversionType()
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public AttributionSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AttributionSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AttributionSettings.Builder clone()
Overrides
public int getAttributionLookbackWindowDays()
Required. Lookback windows (in days) used for attribution in this source.
Supported values are 7, 30, 40.
int32 attribution_lookback_window_days = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The attributionLookbackWindowDays.
|
public AttributionSettings.AttributionModel getAttributionModel()
Required. Attribution model.
.google.shopping.merchant.conversions.v1beta.AttributionSettings.AttributionModel attribution_model = 2 [(.google.api.field_behavior) = REQUIRED];
public int getAttributionModelValue()
Required. Attribution model.
.google.shopping.merchant.conversions.v1beta.AttributionSettings.AttributionModel attribution_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for attributionModel.
|
public AttributionSettings.ConversionType getConversionType(int index)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Parameter |
Name |
Description |
index |
int
|
public AttributionSettings.ConversionType.Builder getConversionTypeBuilder(int index)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Parameter |
Name |
Description |
index |
int
|
public List<AttributionSettings.ConversionType.Builder> getConversionTypeBuilderList()
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public int getConversionTypeCount()
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Returns |
Type |
Description |
int |
|
public List<AttributionSettings.ConversionType> getConversionTypeList()
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public AttributionSettings.ConversionTypeOrBuilder getConversionTypeOrBuilder(int index)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Parameter |
Name |
Description |
index |
int
|
public List<? extends AttributionSettings.ConversionTypeOrBuilder> getConversionTypeOrBuilderList()
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Returns |
Type |
Description |
List<? extends com.google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionTypeOrBuilder> |
|
public AttributionSettings getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AttributionSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AttributionSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public AttributionSettings.Builder mergeFrom(AttributionSettings other)
public final AttributionSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AttributionSettings.Builder removeConversionType(int index)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Parameter |
Name |
Description |
index |
int
|
public AttributionSettings.Builder setAttributionLookbackWindowDays(int value)
Required. Lookback windows (in days) used for attribution in this source.
Supported values are 7, 30, 40.
int32 attribution_lookback_window_days = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The attributionLookbackWindowDays to set.
|
public AttributionSettings.Builder setAttributionModel(AttributionSettings.AttributionModel value)
Required. Attribution model.
.google.shopping.merchant.conversions.v1beta.AttributionSettings.AttributionModel attribution_model = 2 [(.google.api.field_behavior) = REQUIRED];
public AttributionSettings.Builder setAttributionModelValue(int value)
Required. Attribution model.
.google.shopping.merchant.conversions.v1beta.AttributionSettings.AttributionModel attribution_model = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for attributionModel to set.
|
public AttributionSettings.Builder setConversionType(int index, AttributionSettings.ConversionType value)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public AttributionSettings.Builder setConversionType(int index, AttributionSettings.ConversionType.Builder builderForValue)
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public AttributionSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AttributionSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AttributionSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides