Class SKAdNetworkConversionValueSchema.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder
- All Implemented Interfaces:
SKAdNetworkConversionValueSchemaOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SKAdNetworkConversionValueSchema
public static final class SKAdNetworkConversionValueSchema.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
implements SKAdNetworkConversionValueSchemaOrBuilder
SKAdNetwork conversion value schema of an iOS stream.Protobuf type
google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()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.Identifier.Required.The conversion value settings for the third postback window.The conversion value settings for the second postback window.booleanIf 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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.Required.Required.Required.The conversion value settings for the third postback window.The conversion value settings for the third postback window.The conversion value settings for the third postback window.The conversion value settings for the second postback window.The conversion value settings for the second postback window.The conversion value settings for the second postback window.booleanRequired.booleanThe conversion value settings for the third postback window.booleanThe conversion value settings for the second postback window.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.The conversion value settings for the third postback window.The conversion value settings for the second postback window.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.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.Required.setPostbackWindowOne(PostbackWindow.Builder builderForValue) Required.The conversion value settings for the third postback window.setPostbackWindowThree(PostbackWindow.Builder builderForValue) The conversion value settings for the third postback window.The conversion value settings for the second postback window.setPostbackWindowTwo(PostbackWindow.Builder builderForValue) The conversion value settings for the second postback window.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
-
mergeFrom
public SKAdNetworkConversionValueSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SKAdNetworkConversionValueSchema.Builder>- Throws:
IOException
-
getName
Identifier. 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}/sKAdNetworkConversionValueSchemastring name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceSKAdNetworkConversionValueSchemaOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. 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}/sKAdNetworkConversionValueSchemastring name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceSKAdNetworkConversionValueSchemaOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. 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}/sKAdNetworkConversionValueSchemastring name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. 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}/sKAdNetworkConversionValueSchemastring name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. 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}/sKAdNetworkConversionValueSchemastring name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasPostbackWindowOnein interfaceSKAdNetworkConversionValueSchemaOrBuilder- Returns:
- Whether the postbackWindowOne field is set.
-
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];- Specified by:
getPostbackWindowOnein interfaceSKAdNetworkConversionValueSchemaOrBuilder- Returns:
- The postbackWindowOne.
-
setPostbackWindowOne
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]; -
setPostbackWindowOne
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]; -
mergePostbackWindowOne
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]; -
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]; -
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]; -
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];- Specified by:
getPostbackWindowOneOrBuilderin interfaceSKAdNetworkConversionValueSchemaOrBuilder
-
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;- Specified by:
hasPostbackWindowTwoin interfaceSKAdNetworkConversionValueSchemaOrBuilder- Returns:
- Whether the postbackWindowTwo field is set.
-
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;- Specified by:
getPostbackWindowTwoin interfaceSKAdNetworkConversionValueSchemaOrBuilder- Returns:
- The postbackWindowTwo.
-
setPostbackWindowTwo
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; -
setPostbackWindowTwo
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; -
mergePostbackWindowTwo
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; -
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; -
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; -
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;- Specified by:
getPostbackWindowTwoOrBuilderin interfaceSKAdNetworkConversionValueSchemaOrBuilder
-
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;- Specified by:
hasPostbackWindowThreein interfaceSKAdNetworkConversionValueSchemaOrBuilder- Returns:
- Whether the postbackWindowThree field is set.
-
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;- Specified by:
getPostbackWindowThreein interfaceSKAdNetworkConversionValueSchemaOrBuilder- Returns:
- The postbackWindowThree.
-
setPostbackWindowThree
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; -
setPostbackWindowThree
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; -
mergePostbackWindowThree
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; -
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; -
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; -
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;- Specified by:
getPostbackWindowThreeOrBuilderin interfaceSKAdNetworkConversionValueSchemaOrBuilder
-
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;- Specified by:
getApplyConversionValuesin interfaceSKAdNetworkConversionValueSchemaOrBuilder- Returns:
- The applyConversionValues.
-
setApplyConversionValues
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;- Parameters:
value- The applyConversionValues to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-