Class SKAdNetworkConversionValueSchema

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema
All Implemented Interfaces:
SKAdNetworkConversionValueSchemaOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SKAdNetworkConversionValueSchema extends com.google.protobuf.GeneratedMessage implements SKAdNetworkConversionValueSchemaOrBuilder
 SKAdNetwork conversion value schema of an iOS stream.
 
Protobuf type google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • POSTBACK_WINDOW_ONE_FIELD_NUMBER

      public static final int POSTBACK_WINDOW_ONE_FIELD_NUMBER
      See Also:
    • POSTBACK_WINDOW_TWO_FIELD_NUMBER

      public static final int POSTBACK_WINDOW_TWO_FIELD_NUMBER
      See Also:
    • POSTBACK_WINDOW_THREE_FIELD_NUMBER

      public static final int POSTBACK_WINDOW_THREE_FIELD_NUMBER
      See Also:
    • APPLY_CONVERSION_VALUES_FIELD_NUMBER

      public static final int APPLY_CONVERSION_VALUES_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SKAdNetworkConversionValueSchema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SKAdNetworkConversionValueSchema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SKAdNetworkConversionValueSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SKAdNetworkConversionValueSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SKAdNetworkConversionValueSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SKAdNetworkConversionValueSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SKAdNetworkConversionValueSchema parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SKAdNetworkConversionValueSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SKAdNetworkConversionValueSchema parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SKAdNetworkConversionValueSchema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SKAdNetworkConversionValueSchema parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SKAdNetworkConversionValueSchema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static SKAdNetworkConversionValueSchema.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SKAdNetworkConversionValueSchema.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SKAdNetworkConversionValueSchema getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SKAdNetworkConversionValueSchema> parser()
    • getParserForType

      public com.google.protobuf.Parser<SKAdNetworkConversionValueSchema> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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