public static final class PostbackWindow.Builder extends GeneratedMessageV3.Builder<PostbackWindow.Builder> implements PostbackWindowOrBuilder
Settings for a SKAdNetwork conversion postback window.
Protobuf type google.analytics.admin.v1alpha.PostbackWindow
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllConversionValues(Iterable<? extends ConversionValues> values)
public PostbackWindow.Builder addAllConversionValues(Iterable<? extends ConversionValues> values)
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 |
values | Iterable<? extends com.google.analytics.admin.v1alpha.ConversionValues>
|
addConversionValues(ConversionValues value)
public PostbackWindow.Builder addConversionValues(ConversionValues value)
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;
addConversionValues(ConversionValues.Builder builderForValue)
public PostbackWindow.Builder addConversionValues(ConversionValues.Builder builderForValue)
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;
addConversionValues(int index, ConversionValues value)
public PostbackWindow.Builder addConversionValues(int index, ConversionValues value)
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;
addConversionValues(int index, ConversionValues.Builder builderForValue)
public PostbackWindow.Builder addConversionValues(int index, ConversionValues.Builder builderForValue)
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;
addConversionValuesBuilder()
public ConversionValues.Builder addConversionValuesBuilder()
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;
addConversionValuesBuilder(int index)
public ConversionValues.Builder addConversionValuesBuilder(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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PostbackWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PostbackWindow build()
buildPartial()
public PostbackWindow buildPartial()
clear()
public PostbackWindow.Builder clear()
Overrides
clearConversionValues()
public PostbackWindow.Builder clearConversionValues()
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;
clearField(Descriptors.FieldDescriptor field)
public PostbackWindow.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PostbackWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPostbackWindowSettingsEnabled()
public PostbackWindow.Builder clearPostbackWindowSettingsEnabled()
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;
clone()
public PostbackWindow.Builder clone()
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
|
getConversionValuesBuilder(int index)
public ConversionValues.Builder getConversionValuesBuilder(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
|
getConversionValuesBuilderList()
public List<ConversionValues.Builder> getConversionValuesBuilderList()
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;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PostbackWindow other)
public PostbackWindow.Builder mergeFrom(PostbackWindow other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PostbackWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PostbackWindow.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PostbackWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConversionValues(int index)
public PostbackWindow.Builder removeConversionValues(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
|
setConversionValues(int index, ConversionValues value)
public PostbackWindow.Builder setConversionValues(int index, ConversionValues value)
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;
setConversionValues(int index, ConversionValues.Builder builderForValue)
public PostbackWindow.Builder setConversionValues(int index, ConversionValues.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public PostbackWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPostbackWindowSettingsEnabled(boolean value)
public PostbackWindow.Builder setPostbackWindowSettingsEnabled(boolean value)
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;
Parameter |
---|
Name | Description |
value | boolean
The postbackWindowSettingsEnabled to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PostbackWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PostbackWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides