Class SKAdNetworkConversionValueSchema (0.43.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

POSTBACK_WINDOW_ONE_FIELD_NUMBER

public static final int POSTBACK_WINDOW_ONE_FIELD_NUMBER
Field Value
TypeDescription
int

POSTBACK_WINDOW_THREE_FIELD_NUMBER

public static final int POSTBACK_WINDOW_THREE_FIELD_NUMBER
Field Value
TypeDescription
int

POSTBACK_WINDOW_TWO_FIELD_NUMBER

public static final int POSTBACK_WINDOW_TWO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SKAdNetworkConversionValueSchema getDefaultInstance()
Returns
TypeDescription
SKAdNetworkConversionValueSchema

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SKAdNetworkConversionValueSchema.Builder newBuilder()
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder

newBuilder(SKAdNetworkConversionValueSchema prototype)

public static SKAdNetworkConversionValueSchema.Builder newBuilder(SKAdNetworkConversionValueSchema prototype)
Parameter
NameDescription
prototypeSKAdNetworkConversionValueSchema
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder

parseDelimitedFrom(InputStream input)

public static SKAdNetworkConversionValueSchema parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SKAdNetworkConversionValueSchema parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SKAdNetworkConversionValueSchema parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SKAdNetworkConversionValueSchema parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SKAdNetworkConversionValueSchema parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SKAdNetworkConversionValueSchema parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SKAdNetworkConversionValueSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SKAdNetworkConversionValueSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SKAdNetworkConversionValueSchema> parser()
Returns
TypeDescription
Parser<SKAdNetworkConversionValueSchema>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
boolean

The applyConversionValues.

getDefaultInstanceForType()

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

getParserForType()

public Parser<SKAdNetworkConversionValueSchema> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
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.

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SKAdNetworkConversionValueSchema.Builder newBuilderForType()
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SKAdNetworkConversionValueSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SKAdNetworkConversionValueSchema.Builder toBuilder()
Returns
TypeDescription
SKAdNetworkConversionValueSchema.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException