Class ConversionValues (0.51.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
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

EVENT_MAPPINGS_FIELD_NUMBER

public static final int EVENT_MAPPINGS_FIELD_NUMBER
Field Value
TypeDescription
int

FINE_VALUE_FIELD_NUMBER

public static final int FINE_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

LOCK_ENABLED_FIELD_NUMBER

public static final int LOCK_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConversionValues getDefaultInstance()
Returns
TypeDescription
ConversionValues

getDescriptor()

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

newBuilder()

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

newBuilder(ConversionValues prototype)

public static ConversionValues.Builder newBuilder(ConversionValues prototype)
Parameter
NameDescription
prototypeConversionValues
Returns
TypeDescription
ConversionValues.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The enum numeric value on the wire for coarseValue.

getDefaultInstanceForType()

public ConversionValues getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The lockEnabled.

getParserForType()

public Parser<ConversionValues> getParserForType()
Returns
TypeDescription
Parser<ConversionValues>
Overrides

getSerializedSize()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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