Class SKAdNetworkConversionValueSchema.Builder (0.61.0)

public static final class SKAdNetworkConversionValueSchema.Builder extends GeneratedMessageV3.Builder<SKAdNetworkConversionValueSchema.Builder> implements SKAdNetworkConversionValueSchemaOrBuilder

SKAdNetwork conversion value schema of an iOS stream.

Protobuf type google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SKAdNetworkConversionValueSchema build()
Returns
Type Description
SKAdNetworkConversionValueSchema

buildPartial()

public SKAdNetworkConversionValueSchema buildPartial()
Returns
Type Description
SKAdNetworkConversionValueSchema

clear()

public SKAdNetworkConversionValueSchema.Builder clear()
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder
Overrides

clearApplyConversionValues()

public SKAdNetworkConversionValueSchema.Builder clearApplyConversionValues()

If enabled, the GA SDK will set conversion values using this schema definition, and schema will be exported to any Google Ads accounts linked to this property. If disabled, the GA SDK will not automatically set conversion values, and also the schema will not be exported to Ads.

bool apply_conversion_values = 5;

Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SKAdNetworkConversionValueSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder
Overrides

clearName()

public SKAdNetworkConversionValueSchema.Builder clearName()

Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPostbackWindowOne()

public SKAdNetworkConversionValueSchema.Builder clearPostbackWindowOne()

Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion value (a numeric value).

Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

clearPostbackWindowThree()

public SKAdNetworkConversionValueSchema.Builder clearPostbackWindowThree()

The conversion value settings for the third postback window.

This field should only be set if the user chose to define different conversion values for this postback window. It is allowed to configure window 3 without setting window 2. In case window 1 & 2 settings are set and enable_postback_window_settings for this postback window is set to false, the schema will inherit settings from postback_window_two.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;

Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

clearPostbackWindowTwo()

public SKAdNetworkConversionValueSchema.Builder clearPostbackWindowTwo()

The conversion value settings for the second postback window.

This field should only be configured if there is a need to define different conversion values for this postback window.

If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;

Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

clone()

public SKAdNetworkConversionValueSchema.Builder clone()
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder
Overrides

getApplyConversionValues()

public boolean getApplyConversionValues()

If enabled, the GA SDK will set conversion values using this schema definition, and schema will be exported to any Google Ads accounts linked to this property. If disabled, the GA SDK will not automatically set conversion values, and also the schema will not be exported to Ads.

bool apply_conversion_values = 5;

Returns
Type Description
boolean

The applyConversionValues.

getDefaultInstanceForType()

public SKAdNetworkConversionValueSchema getDefaultInstanceForType()
Returns
Type Description
SKAdNetworkConversionValueSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getPostbackWindowOne()

public PostbackWindow getPostbackWindowOne()

Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion value (a numeric value).

Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PostbackWindow

The postbackWindowOne.

getPostbackWindowOneBuilder()

public PostbackWindow.Builder getPostbackWindowOneBuilder()

Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion value (a numeric value).

Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PostbackWindow.Builder

getPostbackWindowOneOrBuilder()

public PostbackWindowOrBuilder getPostbackWindowOneOrBuilder()

Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion value (a numeric value).

Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PostbackWindowOrBuilder

getPostbackWindowThree()

public PostbackWindow getPostbackWindowThree()

The conversion value settings for the third postback window.

This field should only be set if the user chose to define different conversion values for this postback window. It is allowed to configure window 3 without setting window 2. In case window 1 & 2 settings are set and enable_postback_window_settings for this postback window is set to false, the schema will inherit settings from postback_window_two.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;

Returns
Type Description
PostbackWindow

The postbackWindowThree.

getPostbackWindowThreeBuilder()

public PostbackWindow.Builder getPostbackWindowThreeBuilder()

The conversion value settings for the third postback window.

This field should only be set if the user chose to define different conversion values for this postback window. It is allowed to configure window 3 without setting window 2. In case window 1 & 2 settings are set and enable_postback_window_settings for this postback window is set to false, the schema will inherit settings from postback_window_two.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;

Returns
Type Description
PostbackWindow.Builder

getPostbackWindowThreeOrBuilder()

public PostbackWindowOrBuilder getPostbackWindowThreeOrBuilder()

The conversion value settings for the third postback window.

This field should only be set if the user chose to define different conversion values for this postback window. It is allowed to configure window 3 without setting window 2. In case window 1 & 2 settings are set and enable_postback_window_settings for this postback window is set to false, the schema will inherit settings from postback_window_two.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;

Returns
Type Description
PostbackWindowOrBuilder

getPostbackWindowTwo()

public PostbackWindow getPostbackWindowTwo()

The conversion value settings for the second postback window.

This field should only be configured if there is a need to define different conversion values for this postback window.

If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;

Returns
Type Description
PostbackWindow

The postbackWindowTwo.

getPostbackWindowTwoBuilder()

public PostbackWindow.Builder getPostbackWindowTwoBuilder()

The conversion value settings for the second postback window.

This field should only be configured if there is a need to define different conversion values for this postback window.

If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;

Returns
Type Description
PostbackWindow.Builder

getPostbackWindowTwoOrBuilder()

public PostbackWindowOrBuilder getPostbackWindowTwoOrBuilder()

The conversion value settings for the second postback window.

This field should only be configured if there is a need to define different conversion values for this postback window.

If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;

Returns
Type Description
PostbackWindowOrBuilder

hasPostbackWindowOne()

public boolean hasPostbackWindowOne()

Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion value (a numeric value).

Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the postbackWindowOne field is set.

hasPostbackWindowThree()

public boolean hasPostbackWindowThree()

The conversion value settings for the third postback window.

This field should only be set if the user chose to define different conversion values for this postback window. It is allowed to configure window 3 without setting window 2. In case window 1 & 2 settings are set and enable_postback_window_settings for this postback window is set to false, the schema will inherit settings from postback_window_two.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;

Returns
Type Description
boolean

Whether the postbackWindowThree field is set.

hasPostbackWindowTwo()

public boolean hasPostbackWindowTwo()

The conversion value settings for the second postback window.

This field should only be configured if there is a need to define different conversion values for this postback window.

If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;

Returns
Type Description
boolean

Whether the postbackWindowTwo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SKAdNetworkConversionValueSchema other)

public SKAdNetworkConversionValueSchema.Builder mergeFrom(SKAdNetworkConversionValueSchema other)
Parameter
Name Description
other SKAdNetworkConversionValueSchema
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SKAdNetworkConversionValueSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SKAdNetworkConversionValueSchema.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder
Overrides

mergePostbackWindowOne(PostbackWindow value)

public SKAdNetworkConversionValueSchema.Builder mergePostbackWindowOne(PostbackWindow value)

Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion value (a numeric value).

Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PostbackWindow
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

mergePostbackWindowThree(PostbackWindow value)

public SKAdNetworkConversionValueSchema.Builder mergePostbackWindowThree(PostbackWindow value)

The conversion value settings for the third postback window.

This field should only be set if the user chose to define different conversion values for this postback window. It is allowed to configure window 3 without setting window 2. In case window 1 & 2 settings are set and enable_postback_window_settings for this postback window is set to false, the schema will inherit settings from postback_window_two.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;

Parameter
Name Description
value PostbackWindow
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

mergePostbackWindowTwo(PostbackWindow value)

public SKAdNetworkConversionValueSchema.Builder mergePostbackWindowTwo(PostbackWindow value)

The conversion value settings for the second postback window.

This field should only be configured if there is a need to define different conversion values for this postback window.

If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;

Parameter
Name Description
value PostbackWindow
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setApplyConversionValues(boolean value)

public SKAdNetworkConversionValueSchema.Builder setApplyConversionValues(boolean value)

If enabled, the GA SDK will set conversion values using this schema definition, and schema will be exported to any Google Ads accounts linked to this property. If disabled, the GA SDK will not automatically set conversion values, and also the schema will not be exported to Ads.

bool apply_conversion_values = 5;

Parameter
Name Description
value boolean

The applyConversionValues to set.

Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public SKAdNetworkConversionValueSchema.Builder setName(String value)

Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

This builder for chaining.

setNameBytes(ByteString value)

public SKAdNetworkConversionValueSchema.Builder setNameBytes(ByteString value)

Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

This builder for chaining.

setPostbackWindowOne(PostbackWindow value)

public SKAdNetworkConversionValueSchema.Builder setPostbackWindowOne(PostbackWindow value)

Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion value (a numeric value).

Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PostbackWindow
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

setPostbackWindowOne(PostbackWindow.Builder builderForValue)

public SKAdNetworkConversionValueSchema.Builder setPostbackWindowOne(PostbackWindow.Builder builderForValue)

Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion value (a numeric value).

Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PostbackWindow.Builder
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

setPostbackWindowThree(PostbackWindow value)

public SKAdNetworkConversionValueSchema.Builder setPostbackWindowThree(PostbackWindow value)

The conversion value settings for the third postback window.

This field should only be set if the user chose to define different conversion values for this postback window. It is allowed to configure window 3 without setting window 2. In case window 1 & 2 settings are set and enable_postback_window_settings for this postback window is set to false, the schema will inherit settings from postback_window_two.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;

Parameter
Name Description
value PostbackWindow
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

setPostbackWindowThree(PostbackWindow.Builder builderForValue)

public SKAdNetworkConversionValueSchema.Builder setPostbackWindowThree(PostbackWindow.Builder builderForValue)

The conversion value settings for the third postback window.

This field should only be set if the user chose to define different conversion values for this postback window. It is allowed to configure window 3 without setting window 2. In case window 1 & 2 settings are set and enable_postback_window_settings for this postback window is set to false, the schema will inherit settings from postback_window_two.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;

Parameter
Name Description
builderForValue PostbackWindow.Builder
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

setPostbackWindowTwo(PostbackWindow value)

public SKAdNetworkConversionValueSchema.Builder setPostbackWindowTwo(PostbackWindow value)

The conversion value settings for the second postback window.

This field should only be configured if there is a need to define different conversion values for this postback window.

If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;

Parameter
Name Description
value PostbackWindow
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

setPostbackWindowTwo(PostbackWindow.Builder builderForValue)

public SKAdNetworkConversionValueSchema.Builder setPostbackWindowTwo(PostbackWindow.Builder builderForValue)

The conversion value settings for the second postback window.

This field should only be configured if there is a need to define different conversion values for this postback window.

If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used.

.google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;

Parameter
Name Description
builderForValue PostbackWindow.Builder
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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