Class SKAdNetworkConversionValueSchema.Builder (0.49.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SKAdNetworkConversionValueSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder
Overrides

build()

public SKAdNetworkConversionValueSchema build()
Returns
TypeDescription
SKAdNetworkConversionValueSchema

buildPartial()

public SKAdNetworkConversionValueSchema buildPartial()
Returns
TypeDescription
SKAdNetworkConversionValueSchema

clear()

public SKAdNetworkConversionValueSchema.Builder clear()
Returns
TypeDescription
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
TypeDescription
SKAdNetworkConversionValueSchema.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SKAdNetworkConversionValueSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SKAdNetworkConversionValueSchema.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SKAdNetworkConversionValueSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SKAdNetworkConversionValueSchema.Builder

clone()

public SKAdNetworkConversionValueSchema.Builder clone()
Returns
TypeDescription
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
TypeDescription
boolean

The applyConversionValues.

getDefaultInstanceForType()

public SKAdNetworkConversionValueSchema getDefaultInstanceForType()
Returns
TypeDescription
SKAdNetworkConversionValueSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the postbackWindowTwo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SKAdNetworkConversionValueSchema other)

public SKAdNetworkConversionValueSchema.Builder mergeFrom(SKAdNetworkConversionValueSchema other)
Parameter
NameDescription
otherSKAdNetworkConversionValueSchema
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SKAdNetworkConversionValueSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SKAdNetworkConversionValueSchema.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePostbackWindow
Returns
TypeDescription
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
NameDescription
valuePostbackWindow
Returns
TypeDescription
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
NameDescription
valuePostbackWindow
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SKAdNetworkConversionValueSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The applyConversionValues to set.

Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SKAdNetworkConversionValueSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valuePostbackWindow
Returns
TypeDescription
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
NameDescription
builderForValuePostbackWindow.Builder
Returns
TypeDescription
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
NameDescription
valuePostbackWindow
Returns
TypeDescription
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
NameDescription
builderForValuePostbackWindow.Builder
Returns
TypeDescription
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
NameDescription
valuePostbackWindow
Returns
TypeDescription
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
NameDescription
builderForValuePostbackWindow.Builder
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder

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

public SKAdNetworkConversionValueSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SKAdNetworkConversionValueSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder
Overrides