Class ConversionValues (0.59.0)

public final class ConversionValues extends GeneratedMessageV3 implements ConversionValuesOrBuilder

Conversion value settings for a postback window for SKAdNetwork conversion value schema.

Protobuf type google.analytics.admin.v1alpha.ConversionValues

Static Fields

COARSE_VALUE_FIELD_NUMBER

public static final int COARSE_VALUE_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

EVENT_MAPPINGS_FIELD_NUMBER

public static final int EVENT_MAPPINGS_FIELD_NUMBER
Field Value
Type Description
int

FINE_VALUE_FIELD_NUMBER

public static final int FINE_VALUE_FIELD_NUMBER
Field Value
Type Description
int

LOCK_ENABLED_FIELD_NUMBER

public static final int LOCK_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConversionValues getDefaultInstance()
Returns
Type Description
ConversionValues

getDescriptor()

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

newBuilder()

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

newBuilder(ConversionValues prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCoarseValue()

public CoarseValue getCoarseValue()

Required. A coarse grained conversion value.

This value is not guaranteed to be unique.

.google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CoarseValue

The coarseValue.

getCoarseValueValue()

public int getCoarseValueValue()

Required. A coarse grained conversion value.

This value is not guaranteed to be unique.

.google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for coarseValue.

getDefaultInstanceForType()

public ConversionValues getDefaultInstanceForType()
Returns
Type Description
ConversionValues

getDisplayName()

public String getDisplayName()

Display name of the SKAdNetwork conversion value. The max allowed display name length is 50 UTF-16 code units.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display name of the SKAdNetwork conversion value. The max allowed display name length is 50 UTF-16 code units.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getEventMappings(int index)

public EventMapping getEventMappings(int index)

Event conditions that must be met for this Conversion Value to be achieved. The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries, if the postback window is enabled.

repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;

Parameter
Name Description
index int
Returns
Type Description
EventMapping

getEventMappingsCount()

public int getEventMappingsCount()

Event conditions that must be met for this Conversion Value to be achieved. The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries, if the postback window is enabled.

repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;

Returns
Type Description
int

getEventMappingsList()

public List<EventMapping> getEventMappingsList()

Event conditions that must be met for this Conversion Value to be achieved. The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries, if the postback window is enabled.

repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;

Returns
Type Description
List<EventMapping>

getEventMappingsOrBuilder(int index)

public EventMappingOrBuilder getEventMappingsOrBuilder(int index)

Event conditions that must be met for this Conversion Value to be achieved. The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries, if the postback window is enabled.

repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;

Parameter
Name Description
index int
Returns
Type Description
EventMappingOrBuilder

getEventMappingsOrBuilderList()

public List<? extends EventMappingOrBuilder> getEventMappingsOrBuilderList()

Event conditions that must be met for this Conversion Value to be achieved. The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries, if the postback window is enabled.

repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.EventMappingOrBuilder>

getFineValue()

public int getFineValue()

The fine-grained conversion value. This is applicable only to the first postback window. Its valid values are [0,63], both inclusive. It must be set for postback window 1, and must not be set for postback window 2 & 3. This value is not guaranteed to be unique.

If the configuration for the first postback window is re-used for second or third postback windows this field has no effect.

optional int32 fine_value = 2;

Returns
Type Description
int

The fineValue.

getLockEnabled()

public boolean getLockEnabled()

If true, the SDK should lock to this conversion value for the current postback window.

bool lock_enabled = 5;

Returns
Type Description
boolean

The lockEnabled.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasFineValue()

public boolean hasFineValue()

The fine-grained conversion value. This is applicable only to the first postback window. Its valid values are [0,63], both inclusive. It must be set for postback window 1, and must not be set for postback window 2 & 3. This value is not guaranteed to be unique.

If the configuration for the first postback window is re-used for second or third postback windows this field has no effect.

optional int32 fine_value = 2;

Returns
Type Description
boolean

Whether the fineValue 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 ConversionValues.Builder newBuilderForType()
Returns
Type Description
ConversionValues.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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