Class PostbackWindow (0.55.0)

public final class PostbackWindow extends GeneratedMessageV3 implements PostbackWindowOrBuilder

Settings for a SKAdNetwork conversion postback window.

Protobuf type google.analytics.admin.v1alpha.PostbackWindow

Static Fields

CONVERSION_VALUES_FIELD_NUMBER

public static final int CONVERSION_VALUES_FIELD_NUMBER
Field Value
Type Description
int

POSTBACK_WINDOW_SETTINGS_ENABLED_FIELD_NUMBER

public static final int POSTBACK_WINDOW_SETTINGS_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PostbackWindow getDefaultInstance()
Returns
Type Description
PostbackWindow

getDescriptor()

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

newBuilder()

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

newBuilder(PostbackWindow prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConversionValues(int index)

public ConversionValues getConversionValues(int index)

Ordering of the repeated field will be used to prioritize the conversion value settings. Lower indexed entries are prioritized higher. The first conversion value setting that evaluates to true will be selected. It must have at least one entry if enable_postback_window_settings is set to true. It can have maximum of 128 entries.

repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversionValues

getConversionValuesCount()

public int getConversionValuesCount()

Ordering of the repeated field will be used to prioritize the conversion value settings. Lower indexed entries are prioritized higher. The first conversion value setting that evaluates to true will be selected. It must have at least one entry if enable_postback_window_settings is set to true. It can have maximum of 128 entries.

repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;

Returns
Type Description
int

getConversionValuesList()

public List<ConversionValues> getConversionValuesList()

Ordering of the repeated field will be used to prioritize the conversion value settings. Lower indexed entries are prioritized higher. The first conversion value setting that evaluates to true will be selected. It must have at least one entry if enable_postback_window_settings is set to true. It can have maximum of 128 entries.

repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;

Returns
Type Description
List<ConversionValues>

getConversionValuesOrBuilder(int index)

public ConversionValuesOrBuilder getConversionValuesOrBuilder(int index)

Ordering of the repeated field will be used to prioritize the conversion value settings. Lower indexed entries are prioritized higher. The first conversion value setting that evaluates to true will be selected. It must have at least one entry if enable_postback_window_settings is set to true. It can have maximum of 128 entries.

repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversionValuesOrBuilder

getConversionValuesOrBuilderList()

public List<? extends ConversionValuesOrBuilder> getConversionValuesOrBuilderList()

Ordering of the repeated field will be used to prioritize the conversion value settings. Lower indexed entries are prioritized higher. The first conversion value setting that evaluates to true will be selected. It must have at least one entry if enable_postback_window_settings is set to true. It can have maximum of 128 entries.

repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;

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

getDefaultInstanceForType()

public PostbackWindow getDefaultInstanceForType()
Returns
Type Description
PostbackWindow

getParserForType()

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

getPostbackWindowSettingsEnabled()

public boolean getPostbackWindowSettingsEnabled()

If enable_postback_window_settings is true, conversion_values must be populated and will be used for determining when and how to set the Conversion Value on a client device and exporting schema to linked Ads accounts. If false, the settings are not used, but are retained in case they may be used in the future. This must always be true for postback_window_one.

bool postback_window_settings_enabled = 2;

Returns
Type Description
boolean

The postbackWindowSettingsEnabled.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 PostbackWindow.Builder newBuilderForType()
Returns
Type Description
PostbackWindow.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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