Class ConversionValues.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConversionValues.Builder>
com.google.analytics.admin.v1alpha.ConversionValues.Builder
- All Implemented Interfaces:
ConversionValuesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConversionValues
public static final class ConversionValues.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConversionValues.Builder>
implements ConversionValuesOrBuilder
Conversion value settings for a postback window for SKAdNetwork conversion value schema.Protobuf type
google.analytics.admin.v1alpha.ConversionValues-
Method Summary
Modifier and TypeMethodDescriptionaddAllEventMappings(Iterable<? extends EventMapping> values) Event conditions that must be met for this Conversion Value to be achieved.addEventMappings(int index, EventMapping value) Event conditions that must be met for this Conversion Value to be achieved.addEventMappings(int index, EventMapping.Builder builderForValue) Event conditions that must be met for this Conversion Value to be achieved.addEventMappings(EventMapping value) Event conditions that must be met for this Conversion Value to be achieved.addEventMappings(EventMapping.Builder builderForValue) Event conditions that must be met for this Conversion Value to be achieved.Event conditions that must be met for this Conversion Value to be achieved.addEventMappingsBuilder(int index) Event conditions that must be met for this Conversion Value to be achieved.build()clear()Required.Display name of the SKAdNetwork conversion value.Event conditions that must be met for this Conversion Value to be achieved.The fine-grained conversion value.If true, the SDK should lock to this conversion value for the current postback window.Required.intRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDisplay name of the SKAdNetwork conversion value.com.google.protobuf.ByteStringDisplay name of the SKAdNetwork conversion value.getEventMappings(int index) Event conditions that must be met for this Conversion Value to be achieved.getEventMappingsBuilder(int index) Event conditions that must be met for this Conversion Value to be achieved.Event conditions that must be met for this Conversion Value to be achieved.intEvent conditions that must be met for this Conversion Value to be achieved.Event conditions that must be met for this Conversion Value to be achieved.getEventMappingsOrBuilder(int index) Event conditions that must be met for this Conversion Value to be achieved.List<? extends EventMappingOrBuilder>Event conditions that must be met for this Conversion Value to be achieved.intThe fine-grained conversion value.booleanIf true, the SDK should lock to this conversion value for the current postback window.booleanThe fine-grained conversion value.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ConversionValues other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeEventMappings(int index) Event conditions that must be met for this Conversion Value to be achieved.setCoarseValue(CoarseValue value) Required.setCoarseValueValue(int value) Required.setDisplayName(String value) Display name of the SKAdNetwork conversion value.setDisplayNameBytes(com.google.protobuf.ByteString value) Display name of the SKAdNetwork conversion value.setEventMappings(int index, EventMapping value) Event conditions that must be met for this Conversion Value to be achieved.setEventMappings(int index, EventMapping.Builder builderForValue) Event conditions that must be met for this Conversion Value to be achieved.setFineValue(int value) The fine-grained conversion value.setLockEnabled(boolean value) If true, the SDK should lock to this conversion value for the current postback window.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConversionValues.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConversionValues.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConversionValues.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionValues.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConversionValues.Builder>
-
mergeFrom
public ConversionValues.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionValues.Builder>- Throws:
IOException
-
getDisplayName
Display name of the SKAdNetwork conversion value. The max allowed display name length is 50 UTF-16 code units.
string display_name = 1;- Specified by:
getDisplayNamein interfaceConversionValuesOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.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;- Specified by:
getDisplayNameBytesin interfaceConversionValuesOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Display name of the SKAdNetwork conversion value. The max allowed display name length is 50 UTF-16 code units.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Display name of the SKAdNetwork conversion value. The max allowed display name length is 50 UTF-16 code units.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Display name of the SKAdNetwork conversion value. The max allowed display name length is 50 UTF-16 code units.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasFineValuein interfaceConversionValuesOrBuilder- Returns:
- Whether the fineValue field is set.
-
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;- Specified by:
getFineValuein interfaceConversionValuesOrBuilder- Returns:
- The fineValue.
-
setFineValue
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;- Parameters:
value- The fineValue to set.- Returns:
- This builder for chaining.
-
clearFineValue
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:
- This builder for chaining.
-
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];- Specified by:
getCoarseValueValuein interfaceConversionValuesOrBuilder- Returns:
- The enum numeric value on the wire for coarseValue.
-
setCoarseValueValue
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];- Parameters:
value- The enum numeric value on the wire for coarseValue to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getCoarseValuein interfaceConversionValuesOrBuilder- Returns:
- The coarseValue.
-
setCoarseValue
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];- Parameters:
value- The coarseValue to set.- Returns:
- This builder for chaining.
-
clearCoarseValue
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:
- This builder for chaining.
-
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;- Specified by:
getEventMappingsListin interfaceConversionValuesOrBuilder
-
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;- Specified by:
getEventMappingsCountin interfaceConversionValuesOrBuilder
-
getEventMappings
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;- Specified by:
getEventMappingsin interfaceConversionValuesOrBuilder
-
setEventMappings
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; -
setEventMappings
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; -
addEventMappings
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; -
addEventMappings
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; -
addEventMappings
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; -
addEventMappings
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; -
addAllEventMappings
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; -
clearEventMappings
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; -
removeEventMappings
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; -
getEventMappingsBuilder
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; -
getEventMappingsOrBuilder
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;- Specified by:
getEventMappingsOrBuilderin interfaceConversionValuesOrBuilder
-
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;- Specified by:
getEventMappingsOrBuilderListin interfaceConversionValuesOrBuilder
-
addEventMappingsBuilder
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; -
addEventMappingsBuilder
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; -
getEventMappingsBuilderList
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; -
getLockEnabled
public boolean getLockEnabled()If true, the SDK should lock to this conversion value for the current postback window.
bool lock_enabled = 5;- Specified by:
getLockEnabledin interfaceConversionValuesOrBuilder- Returns:
- The lockEnabled.
-
setLockEnabled
If true, the SDK should lock to this conversion value for the current postback window.
bool lock_enabled = 5;- Parameters:
value- The lockEnabled to set.- Returns:
- This builder for chaining.
-
clearLockEnabled
If true, the SDK should lock to this conversion value for the current postback window.
bool lock_enabled = 5;- Returns:
- This builder for chaining.
-