Class LiftMeasurementConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v25.resources.LiftMeasurementConfig
All Implemented Interfaces:
LiftMeasurementConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class LiftMeasurementConfig extends com.google.protobuf.GeneratedMessage implements LiftMeasurementConfigOrBuilder
 A Lift Measurement Configuration (LMC), which is a lift study. This groups
 all associated Brand Lift, Conversion Lift, and Search Lift measurements.
 
Protobuf type google.ads.googleads.v25.resources.LiftMeasurementConfig
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • LIFT_MEASUREMENT_CONFIG_ID_FIELD_NUMBER

      public static final int LIFT_MEASUREMENT_CONFIG_ID_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CONVERSION_ACTIONS_FIELD_NUMBER

      public static final int CONVERSION_ACTIONS_FIELD_NUMBER
      See Also:
    • CAMPAIGNS_FIELD_NUMBER

      public static final int CAMPAIGNS_FIELD_NUMBER
      See Also:
    • SURVEY_LANGUAGE_FIELD_NUMBER

      public static final int SURVEY_LANGUAGE_FIELD_NUMBER
      See Also:
    • SINGLE_MEASUREMENT_QUESTION_SET_FIELD_NUMBER

      public static final int SINGLE_MEASUREMENT_QUESTION_SET_FIELD_NUMBER
      See Also:
    • CONVERSION_LIFT_HOLDBACK_RATIO_MICROS_FIELD_NUMBER

      public static final int CONVERSION_LIFT_HOLDBACK_RATIO_MICROS_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
    • getResourceName

      public String getResourceName()
       Immutable. The resource name of the lift measurement config. Lift
       measurement config resource names have the form:
      
       `customers/{customer_id}/liftMeasurementConfigs/{lift_measurement_config_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface LiftMeasurementConfigOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the lift measurement config. Lift
       measurement config resource names have the form:
      
       `customers/{customer_id}/liftMeasurementConfigs/{lift_measurement_config_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface LiftMeasurementConfigOrBuilder
      Returns:
      The bytes for resourceName.
    • getLiftMeasurementConfigId

      public long getLiftMeasurementConfigId()
       Output only. The unique identifier for the Lift Measurement Configuration
       (LMC).
       
      int64 lift_measurement_config_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLiftMeasurementConfigId in interface LiftMeasurementConfigOrBuilder
      Returns:
      The liftMeasurementConfigId.
    • getName

      public String getName()
       Output only. The name of the lift study.
       
      string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface LiftMeasurementConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The name of the lift study.
       
      string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface LiftMeasurementConfigOrBuilder
      Returns:
      The bytes for name.
    • getConversionActionsList

      public com.google.protobuf.ProtocolStringList getConversionActionsList()
       Output only. The list of conversion action resource names associated with
       this lift measurement configuration.
       
      repeated string conversion_actions = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getConversionActionsList in interface LiftMeasurementConfigOrBuilder
      Returns:
      A list containing the conversionActions.
    • getConversionActionsCount

      public int getConversionActionsCount()
       Output only. The list of conversion action resource names associated with
       this lift measurement configuration.
       
      repeated string conversion_actions = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getConversionActionsCount in interface LiftMeasurementConfigOrBuilder
      Returns:
      The count of conversionActions.
    • getConversionActions

      public String getConversionActions(int index)
       Output only. The list of conversion action resource names associated with
       this lift measurement configuration.
       
      repeated string conversion_actions = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getConversionActions in interface LiftMeasurementConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The conversionActions at the given index.
    • getConversionActionsBytes

      public com.google.protobuf.ByteString getConversionActionsBytes(int index)
       Output only. The list of conversion action resource names associated with
       this lift measurement configuration.
       
      repeated string conversion_actions = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getConversionActionsBytes in interface LiftMeasurementConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the conversionActions at the given index.
    • getCampaignsList

      public com.google.protobuf.ProtocolStringList getCampaignsList()
       Output only. The resource names of campaigns associated with this lift
       measurement config. These are the ones currently linked, not historical.
       
      repeated string campaigns = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignsList in interface LiftMeasurementConfigOrBuilder
      Returns:
      A list containing the campaigns.
    • getCampaignsCount

      public int getCampaignsCount()
       Output only. The resource names of campaigns associated with this lift
       measurement config. These are the ones currently linked, not historical.
       
      repeated string campaigns = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignsCount in interface LiftMeasurementConfigOrBuilder
      Returns:
      The count of campaigns.
    • getCampaigns

      public String getCampaigns(int index)
       Output only. The resource names of campaigns associated with this lift
       measurement config. These are the ones currently linked, not historical.
       
      repeated string campaigns = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaigns in interface LiftMeasurementConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The campaigns at the given index.
    • getCampaignsBytes

      public com.google.protobuf.ByteString getCampaignsBytes(int index)
       Output only. The resource names of campaigns associated with this lift
       measurement config. These are the ones currently linked, not historical.
       
      repeated string campaigns = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignsBytes in interface LiftMeasurementConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the campaigns at the given index.
    • getSurveyLanguage

      public String getSurveyLanguage()
       Output only. The survey language.
       
      string survey_language = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSurveyLanguage in interface LiftMeasurementConfigOrBuilder
      Returns:
      The surveyLanguage.
    • getSurveyLanguageBytes

      public com.google.protobuf.ByteString getSurveyLanguageBytes()
       Output only. The survey language.
       
      string survey_language = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSurveyLanguageBytes in interface LiftMeasurementConfigOrBuilder
      Returns:
      The bytes for surveyLanguage.
    • hasSingleMeasurementQuestionSet

      public boolean hasSingleMeasurementQuestionSet()
       Output only. The single measurement question set.
       
      .google.ads.googleads.v25.resources.LiftMeasurementConfig.SingleMeasurementQuestionSet single_measurement_question_set = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSingleMeasurementQuestionSet in interface LiftMeasurementConfigOrBuilder
      Returns:
      Whether the singleMeasurementQuestionSet field is set.
    • getSingleMeasurementQuestionSet

      public LiftMeasurementConfig.SingleMeasurementQuestionSet getSingleMeasurementQuestionSet()
       Output only. The single measurement question set.
       
      .google.ads.googleads.v25.resources.LiftMeasurementConfig.SingleMeasurementQuestionSet single_measurement_question_set = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSingleMeasurementQuestionSet in interface LiftMeasurementConfigOrBuilder
      Returns:
      The singleMeasurementQuestionSet.
    • getSingleMeasurementQuestionSetOrBuilder

      public LiftMeasurementConfig.SingleMeasurementQuestionSetOrBuilder getSingleMeasurementQuestionSetOrBuilder()
       Output only. The single measurement question set.
       
      .google.ads.googleads.v25.resources.LiftMeasurementConfig.SingleMeasurementQuestionSet single_measurement_question_set = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSingleMeasurementQuestionSetOrBuilder in interface LiftMeasurementConfigOrBuilder
    • hasConversionLiftHoldbackRatioMicros

      public boolean hasConversionLiftHoldbackRatioMicros()
       Output only. The holdback ratio for Conversion Lift.
       
      optional int64 conversion_lift_holdback_ratio_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasConversionLiftHoldbackRatioMicros in interface LiftMeasurementConfigOrBuilder
      Returns:
      Whether the conversionLiftHoldbackRatioMicros field is set.
    • getConversionLiftHoldbackRatioMicros

      public long getConversionLiftHoldbackRatioMicros()
       Output only. The holdback ratio for Conversion Lift.
       
      optional int64 conversion_lift_holdback_ratio_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConversionLiftHoldbackRatioMicros in interface LiftMeasurementConfigOrBuilder
      Returns:
      The conversionLiftHoldbackRatioMicros.
    • 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 LiftMeasurementConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static LiftMeasurementConfig.Builder newBuilder()
    • newBuilder

      public static LiftMeasurementConfig.Builder newBuilder(LiftMeasurementConfig prototype)
    • toBuilder

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

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

      public static LiftMeasurementConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<LiftMeasurementConfig> 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 LiftMeasurementConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder