Class PostbackWindow.Builder

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

public static final class PostbackWindow.Builder extends com.google.protobuf.GeneratedMessage.Builder<PostbackWindow.Builder> implements PostbackWindowOrBuilder
 Settings for a SKAdNetwork conversion postback window.
 
Protobuf type google.analytics.admin.v1alpha.PostbackWindow
  • 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<PostbackWindow.Builder>
    • clear

      public PostbackWindow.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<PostbackWindow.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<PostbackWindow.Builder>
    • getDefaultInstanceForType

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

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

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

      public PostbackWindow.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<PostbackWindow.Builder>
    • mergeFrom

      public PostbackWindow.Builder mergeFrom(PostbackWindow other)
    • isInitialized

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

      public PostbackWindow.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<PostbackWindow.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getConversionValuesList in interface PostbackWindowOrBuilder
    • 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;
      Specified by:
      getConversionValuesCount in interface PostbackWindowOrBuilder
    • getConversionValues

      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;
      Specified by:
      getConversionValues in interface PostbackWindowOrBuilder
    • setConversionValues

      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

      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;
    • addConversionValues

      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

      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

      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

      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;
    • addAllConversionValues

      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;
    • 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;
    • removeConversionValues

      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;
    • getConversionValuesBuilder

      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;
    • getConversionValuesOrBuilder

      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;
      Specified by:
      getConversionValuesOrBuilder in interface PostbackWindowOrBuilder
    • 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;
      Specified by:
      getConversionValuesOrBuilderList in interface PostbackWindowOrBuilder
    • 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

      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;
    • 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;
    • 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;
      Specified by:
      getPostbackWindowSettingsEnabled in interface PostbackWindowOrBuilder
      Returns:
      The postbackWindowSettingsEnabled.
    • setPostbackWindowSettingsEnabled

      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;
      Parameters:
      value - The postbackWindowSettingsEnabled to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.