Class PostbackWindow (0.40.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
TypeDescription
int

POSTBACK_WINDOW_SETTINGS_ENABLED_FIELD_NUMBER

public static final int POSTBACK_WINDOW_SETTINGS_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PostbackWindow getDefaultInstance()
Returns
TypeDescription
PostbackWindow

getDescriptor()

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

newBuilder()

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

newBuilder(PostbackWindow prototype)

public static PostbackWindow.Builder newBuilder(PostbackWindow prototype)
Parameter
NameDescription
prototypePostbackWindow
Returns
TypeDescription
PostbackWindow.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder>

getDefaultInstanceForType()

public PostbackWindow getDefaultInstanceForType()
Returns
TypeDescription
PostbackWindow

getParserForType()

public Parser<PostbackWindow> getParserForType()
Returns
TypeDescription
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
TypeDescription
boolean

The postbackWindowSettingsEnabled.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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