Send feedback
  
   
 
  
    
      Class ConversionValues (0.88.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  COARSE_VALUE_FIELD_NUMBER 
  
    
public   static   final   int   COARSE_VALUE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  DISPLAY_NAME_FIELD_NUMBER 
  
    
public   static   final   int   DISPLAY_NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  EVENT_MAPPINGS_FIELD_NUMBER 
  
    
public   static   final   int   EVENT_MAPPINGS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  FINE_VALUE_FIELD_NUMBER 
  
    
public   static   final   int   FINE_VALUE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  LOCK_ENABLED_FIELD_NUMBER 
  
    
public   static   final   int   LOCK_ENABLED_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   ConversionValues   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   ConversionValues . Builder   newBuilder ()  
  
  newBuilder(ConversionValues prototype) 
  
    
public   static   ConversionValues . Builder   newBuilder ( ConversionValues   prototype )  
  
  
  
    
public   static   ConversionValues   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ConversionValues   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   ConversionValues   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ConversionValues   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   ConversionValues   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ConversionValues   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ConversionValues   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ConversionValues   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ConversionValues   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ConversionValues   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   ConversionValues   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ConversionValues   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<ConversionValues>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  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];
 
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  
      
        Type Description  
      
        int The enum numeric value on the wire for coarseValue.
 
     
  
  getDefaultInstanceForType() 
  
    
public   ConversionValues   getDefaultInstanceForType ()  
  
  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  
      
        Type Description  
      
        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  
      
        Type Description  
      
        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  
      
        Name Description  
      
        indexint  
     
  
  
  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  
      
        Type Description  
      
        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;
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  
      
        Name Description  
      
        indexint  
     
  
  
  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  
      
        Type Description  
      
        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  
      
        Type Description  
      
        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  
      
        Type Description  
      
        boolean The lockEnabled.
 
     
  
  getParserForType() 
  
    
public   Parser<ConversionValues>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        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  
      
        Type Description  
      
        boolean Whether the fineValue field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   ConversionValues . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ConversionValues . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   ConversionValues . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]