Class SKAdNetworkConversionValueSchema.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder
All Implemented Interfaces:
SKAdNetworkConversionValueSchemaOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SKAdNetworkConversionValueSchema

public static final class SKAdNetworkConversionValueSchema.Builder extends com.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder> implements SKAdNetworkConversionValueSchemaOrBuilder
 SKAdNetwork conversion value schema of an iOS stream.
 
Protobuf type google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
    • getDefaultInstanceForType

      public SKAdNetworkConversionValueSchema getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SKAdNetworkConversionValueSchema buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SKAdNetworkConversionValueSchema.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
    • mergeFrom

      public SKAdNetworkConversionValueSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SKAdNetworkConversionValueSchema.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. Resource name of the schema. This will be child of ONLY an iOS
       stream, and there can be at most one such child under an iOS stream.
       Format:
       properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface SKAdNetworkConversionValueSchemaOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Resource name of the schema. This will be child of ONLY an iOS
       stream, and there can be at most one such child under an iOS stream.
       Format:
       properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface SKAdNetworkConversionValueSchemaOrBuilder
      Returns:
      The bytes for name.
    • setName

       Identifier. Resource name of the schema. This will be child of ONLY an iOS
       stream, and there can be at most one such child under an iOS stream.
       Format:
       properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Identifier. Resource name of the schema. This will be child of ONLY an iOS
       stream, and there can be at most one such child under an iOS stream.
       Format:
       properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public SKAdNetworkConversionValueSchema.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Resource name of the schema. This will be child of ONLY an iOS
       stream, and there can be at most one such child under an iOS stream.
       Format:
       properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasPostbackWindowOne

      public boolean hasPostbackWindowOne()
       Required. The conversion value settings for the first postback window.
       These differ from values for postback window two and three in that they
       contain a "Fine" grained conversion value (a numeric value).
      
       Conversion values for this postback window must be set.  The other windows
       are optional and may inherit this window's settings if unset or disabled.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasPostbackWindowOne in interface SKAdNetworkConversionValueSchemaOrBuilder
      Returns:
      Whether the postbackWindowOne field is set.
    • getPostbackWindowOne

      public PostbackWindow getPostbackWindowOne()
       Required. The conversion value settings for the first postback window.
       These differ from values for postback window two and three in that they
       contain a "Fine" grained conversion value (a numeric value).
      
       Conversion values for this postback window must be set.  The other windows
       are optional and may inherit this window's settings if unset or disabled.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPostbackWindowOne in interface SKAdNetworkConversionValueSchemaOrBuilder
      Returns:
      The postbackWindowOne.
    • setPostbackWindowOne

      public SKAdNetworkConversionValueSchema.Builder setPostbackWindowOne(PostbackWindow value)
       Required. The conversion value settings for the first postback window.
       These differ from values for postback window two and three in that they
       contain a "Fine" grained conversion value (a numeric value).
      
       Conversion values for this postback window must be set.  The other windows
       are optional and may inherit this window's settings if unset or disabled.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];
    • setPostbackWindowOne

      public SKAdNetworkConversionValueSchema.Builder setPostbackWindowOne(PostbackWindow.Builder builderForValue)
       Required. The conversion value settings for the first postback window.
       These differ from values for postback window two and three in that they
       contain a "Fine" grained conversion value (a numeric value).
      
       Conversion values for this postback window must be set.  The other windows
       are optional and may inherit this window's settings if unset or disabled.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergePostbackWindowOne

      public SKAdNetworkConversionValueSchema.Builder mergePostbackWindowOne(PostbackWindow value)
       Required. The conversion value settings for the first postback window.
       These differ from values for postback window two and three in that they
       contain a "Fine" grained conversion value (a numeric value).
      
       Conversion values for this postback window must be set.  The other windows
       are optional and may inherit this window's settings if unset or disabled.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearPostbackWindowOne

      public SKAdNetworkConversionValueSchema.Builder clearPostbackWindowOne()
       Required. The conversion value settings for the first postback window.
       These differ from values for postback window two and three in that they
       contain a "Fine" grained conversion value (a numeric value).
      
       Conversion values for this postback window must be set.  The other windows
       are optional and may inherit this window's settings if unset or disabled.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];
    • getPostbackWindowOneBuilder

      public PostbackWindow.Builder getPostbackWindowOneBuilder()
       Required. The conversion value settings for the first postback window.
       These differ from values for postback window two and three in that they
       contain a "Fine" grained conversion value (a numeric value).
      
       Conversion values for this postback window must be set.  The other windows
       are optional and may inherit this window's settings if unset or disabled.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];
    • getPostbackWindowOneOrBuilder

      public PostbackWindowOrBuilder getPostbackWindowOneOrBuilder()
       Required. The conversion value settings for the first postback window.
       These differ from values for postback window two and three in that they
       contain a "Fine" grained conversion value (a numeric value).
      
       Conversion values for this postback window must be set.  The other windows
       are optional and may inherit this window's settings if unset or disabled.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPostbackWindowOneOrBuilder in interface SKAdNetworkConversionValueSchemaOrBuilder
    • hasPostbackWindowTwo

      public boolean hasPostbackWindowTwo()
       The conversion value settings for the second postback window.
      
       This field should only be configured if there is a need to define different
       conversion values for this postback window.
      
       If enable_postback_window_settings is set to false for this postback
       window, the values from postback_window_one will be used.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
      Specified by:
      hasPostbackWindowTwo in interface SKAdNetworkConversionValueSchemaOrBuilder
      Returns:
      Whether the postbackWindowTwo field is set.
    • getPostbackWindowTwo

      public PostbackWindow getPostbackWindowTwo()
       The conversion value settings for the second postback window.
      
       This field should only be configured if there is a need to define different
       conversion values for this postback window.
      
       If enable_postback_window_settings is set to false for this postback
       window, the values from postback_window_one will be used.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
      Specified by:
      getPostbackWindowTwo in interface SKAdNetworkConversionValueSchemaOrBuilder
      Returns:
      The postbackWindowTwo.
    • setPostbackWindowTwo

      public SKAdNetworkConversionValueSchema.Builder setPostbackWindowTwo(PostbackWindow value)
       The conversion value settings for the second postback window.
      
       This field should only be configured if there is a need to define different
       conversion values for this postback window.
      
       If enable_postback_window_settings is set to false for this postback
       window, the values from postback_window_one will be used.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
    • setPostbackWindowTwo

      public SKAdNetworkConversionValueSchema.Builder setPostbackWindowTwo(PostbackWindow.Builder builderForValue)
       The conversion value settings for the second postback window.
      
       This field should only be configured if there is a need to define different
       conversion values for this postback window.
      
       If enable_postback_window_settings is set to false for this postback
       window, the values from postback_window_one will be used.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
    • mergePostbackWindowTwo

      public SKAdNetworkConversionValueSchema.Builder mergePostbackWindowTwo(PostbackWindow value)
       The conversion value settings for the second postback window.
      
       This field should only be configured if there is a need to define different
       conversion values for this postback window.
      
       If enable_postback_window_settings is set to false for this postback
       window, the values from postback_window_one will be used.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
    • clearPostbackWindowTwo

      public SKAdNetworkConversionValueSchema.Builder clearPostbackWindowTwo()
       The conversion value settings for the second postback window.
      
       This field should only be configured if there is a need to define different
       conversion values for this postback window.
      
       If enable_postback_window_settings is set to false for this postback
       window, the values from postback_window_one will be used.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
    • getPostbackWindowTwoBuilder

      public PostbackWindow.Builder getPostbackWindowTwoBuilder()
       The conversion value settings for the second postback window.
      
       This field should only be configured if there is a need to define different
       conversion values for this postback window.
      
       If enable_postback_window_settings is set to false for this postback
       window, the values from postback_window_one will be used.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
    • getPostbackWindowTwoOrBuilder

      public PostbackWindowOrBuilder getPostbackWindowTwoOrBuilder()
       The conversion value settings for the second postback window.
      
       This field should only be configured if there is a need to define different
       conversion values for this postback window.
      
       If enable_postback_window_settings is set to false for this postback
       window, the values from postback_window_one will be used.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
      Specified by:
      getPostbackWindowTwoOrBuilder in interface SKAdNetworkConversionValueSchemaOrBuilder
    • hasPostbackWindowThree

      public boolean hasPostbackWindowThree()
       The conversion value settings for the third postback window.
      
       This field should only be set if the user chose to define different
       conversion values for this postback window. It is allowed to configure
       window 3 without setting window 2. In case window 1 & 2 settings are set
       and enable_postback_window_settings for this postback window is set to
       false, the schema will inherit settings from postback_window_two.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
      Specified by:
      hasPostbackWindowThree in interface SKAdNetworkConversionValueSchemaOrBuilder
      Returns:
      Whether the postbackWindowThree field is set.
    • getPostbackWindowThree

      public PostbackWindow getPostbackWindowThree()
       The conversion value settings for the third postback window.
      
       This field should only be set if the user chose to define different
       conversion values for this postback window. It is allowed to configure
       window 3 without setting window 2. In case window 1 & 2 settings are set
       and enable_postback_window_settings for this postback window is set to
       false, the schema will inherit settings from postback_window_two.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
      Specified by:
      getPostbackWindowThree in interface SKAdNetworkConversionValueSchemaOrBuilder
      Returns:
      The postbackWindowThree.
    • setPostbackWindowThree

      public SKAdNetworkConversionValueSchema.Builder setPostbackWindowThree(PostbackWindow value)
       The conversion value settings for the third postback window.
      
       This field should only be set if the user chose to define different
       conversion values for this postback window. It is allowed to configure
       window 3 without setting window 2. In case window 1 & 2 settings are set
       and enable_postback_window_settings for this postback window is set to
       false, the schema will inherit settings from postback_window_two.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
    • setPostbackWindowThree

      public SKAdNetworkConversionValueSchema.Builder setPostbackWindowThree(PostbackWindow.Builder builderForValue)
       The conversion value settings for the third postback window.
      
       This field should only be set if the user chose to define different
       conversion values for this postback window. It is allowed to configure
       window 3 without setting window 2. In case window 1 & 2 settings are set
       and enable_postback_window_settings for this postback window is set to
       false, the schema will inherit settings from postback_window_two.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
    • mergePostbackWindowThree

      public SKAdNetworkConversionValueSchema.Builder mergePostbackWindowThree(PostbackWindow value)
       The conversion value settings for the third postback window.
      
       This field should only be set if the user chose to define different
       conversion values for this postback window. It is allowed to configure
       window 3 without setting window 2. In case window 1 & 2 settings are set
       and enable_postback_window_settings for this postback window is set to
       false, the schema will inherit settings from postback_window_two.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
    • clearPostbackWindowThree

      public SKAdNetworkConversionValueSchema.Builder clearPostbackWindowThree()
       The conversion value settings for the third postback window.
      
       This field should only be set if the user chose to define different
       conversion values for this postback window. It is allowed to configure
       window 3 without setting window 2. In case window 1 & 2 settings are set
       and enable_postback_window_settings for this postback window is set to
       false, the schema will inherit settings from postback_window_two.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
    • getPostbackWindowThreeBuilder

      public PostbackWindow.Builder getPostbackWindowThreeBuilder()
       The conversion value settings for the third postback window.
      
       This field should only be set if the user chose to define different
       conversion values for this postback window. It is allowed to configure
       window 3 without setting window 2. In case window 1 & 2 settings are set
       and enable_postback_window_settings for this postback window is set to
       false, the schema will inherit settings from postback_window_two.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
    • getPostbackWindowThreeOrBuilder

      public PostbackWindowOrBuilder getPostbackWindowThreeOrBuilder()
       The conversion value settings for the third postback window.
      
       This field should only be set if the user chose to define different
       conversion values for this postback window. It is allowed to configure
       window 3 without setting window 2. In case window 1 & 2 settings are set
       and enable_postback_window_settings for this postback window is set to
       false, the schema will inherit settings from postback_window_two.
       
      .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
      Specified by:
      getPostbackWindowThreeOrBuilder in interface SKAdNetworkConversionValueSchemaOrBuilder
    • getApplyConversionValues

      public boolean getApplyConversionValues()
       If enabled, the GA SDK will set conversion values using this schema
       definition, and schema will be exported to any Google Ads accounts linked
       to this property. If disabled, the GA SDK will not automatically set
       conversion values, and also the schema will not be exported to Ads.
       
      bool apply_conversion_values = 5;
      Specified by:
      getApplyConversionValues in interface SKAdNetworkConversionValueSchemaOrBuilder
      Returns:
      The applyConversionValues.
    • setApplyConversionValues

      public SKAdNetworkConversionValueSchema.Builder setApplyConversionValues(boolean value)
       If enabled, the GA SDK will set conversion values using this schema
       definition, and schema will be exported to any Google Ads accounts linked
       to this property. If disabled, the GA SDK will not automatically set
       conversion values, and also the schema will not be exported to Ads.
       
      bool apply_conversion_values = 5;
      Parameters:
      value - The applyConversionValues to set.
      Returns:
      This builder for chaining.
    • clearApplyConversionValues

      public SKAdNetworkConversionValueSchema.Builder clearApplyConversionValues()
       If enabled, the GA SDK will set conversion values using this schema
       definition, and schema will be exported to any Google Ads accounts linked
       to this property. If disabled, the GA SDK will not automatically set
       conversion values, and also the schema will not be exported to Ads.
       
      bool apply_conversion_values = 5;
      Returns:
      This builder for chaining.