Class SKAdNetworkConversionValueSchema (0.58.0)

public final class SKAdNetworkConversionValueSchema extends GeneratedMessageV3 implements SKAdNetworkConversionValueSchemaOrBuilder

SKAdNetwork conversion value schema of an iOS stream.

Protobuf type google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SKAdNetworkConversionValueSchema

Static Fields

APPLY_CONVERSION_VALUES_FIELD_NUMBER

public static final int APPLY_CONVERSION_VALUES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

POSTBACK_WINDOW_ONE_FIELD_NUMBER

public static final int POSTBACK_WINDOW_ONE_FIELD_NUMBER
Field Value
Type Description
int

POSTBACK_WINDOW_THREE_FIELD_NUMBER

public static final int POSTBACK_WINDOW_THREE_FIELD_NUMBER
Field Value
Type Description
int

POSTBACK_WINDOW_TWO_FIELD_NUMBER

public static final int POSTBACK_WINDOW_TWO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SKAdNetworkConversionValueSchema getDefaultInstance()
Returns
Type Description
SKAdNetworkConversionValueSchema

getDescriptor()

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

newBuilder()

public static SKAdNetworkConversionValueSchema.Builder newBuilder()
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

newBuilder(SKAdNetworkConversionValueSchema prototype)

public static SKAdNetworkConversionValueSchema.Builder newBuilder(SKAdNetworkConversionValueSchema prototype)
Parameter
Name Description
prototype SKAdNetworkConversionValueSchema
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

parseDelimitedFrom(InputStream input)

public static SKAdNetworkConversionValueSchema parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SKAdNetworkConversionValueSchema parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SKAdNetworkConversionValueSchema parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SKAdNetworkConversionValueSchema parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SKAdNetworkConversionValueSchema parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SKAdNetworkConversionValueSchema parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SKAdNetworkConversionValueSchema
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SKAdNetworkConversionValueSchema> parser()
Returns
Type Description
Parser<SKAdNetworkConversionValueSchema>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<SKAdNetworkConversionValueSchema> getParserForType()
Returns
Type Description
Parser<SKAdNetworkConversionValueSchema>
Overrides

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.

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.

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SKAdNetworkConversionValueSchema.Builder newBuilderForType()
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SKAdNetworkConversionValueSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SKAdNetworkConversionValueSchema.Builder toBuilder()
Returns
Type Description
SKAdNetworkConversionValueSchema.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException