Class CallConversion

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.CallConversion
All Implemented Interfaces:
CallConversionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class CallConversion extends com.google.protobuf.GeneratedMessageV3 implements CallConversionOrBuilder
 A call conversion.
 
Protobuf type google.ads.googleads.v18.services.CallConversion
See Also:
  • Field Details

    • CALLER_ID_FIELD_NUMBER

      public static final int CALLER_ID_FIELD_NUMBER
      See Also:
    • CALL_START_DATE_TIME_FIELD_NUMBER

      public static final int CALL_START_DATE_TIME_FIELD_NUMBER
      See Also:
    • CONVERSION_ACTION_FIELD_NUMBER

      public static final int CONVERSION_ACTION_FIELD_NUMBER
      See Also:
    • CONVERSION_DATE_TIME_FIELD_NUMBER

      public static final int CONVERSION_DATE_TIME_FIELD_NUMBER
      See Also:
    • CONVERSION_VALUE_FIELD_NUMBER

      public static final int CONVERSION_VALUE_FIELD_NUMBER
      See Also:
    • CURRENCY_CODE_FIELD_NUMBER

      public static final int CURRENCY_CODE_FIELD_NUMBER
      See Also:
    • CUSTOM_VARIABLES_FIELD_NUMBER

      public static final int CUSTOM_VARIABLES_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasCallerId

      public boolean hasCallerId()
       The caller id from which this call was placed. Caller id is expected to be
       in E.164 format with preceding '+' sign, for example, "+16502531234".
       
      optional string caller_id = 7;
      Specified by:
      hasCallerId in interface CallConversionOrBuilder
      Returns:
      Whether the callerId field is set.
    • getCallerId

      public String getCallerId()
       The caller id from which this call was placed. Caller id is expected to be
       in E.164 format with preceding '+' sign, for example, "+16502531234".
       
      optional string caller_id = 7;
      Specified by:
      getCallerId in interface CallConversionOrBuilder
      Returns:
      The callerId.
    • getCallerIdBytes

      public com.google.protobuf.ByteString getCallerIdBytes()
       The caller id from which this call was placed. Caller id is expected to be
       in E.164 format with preceding '+' sign, for example, "+16502531234".
       
      optional string caller_id = 7;
      Specified by:
      getCallerIdBytes in interface CallConversionOrBuilder
      Returns:
      The bytes for callerId.
    • hasCallStartDateTime

      public boolean hasCallStartDateTime()
       The date time at which the call occurred. The timezone must be specified.
       The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm",
       for example, "2019-01-01 12:32:45-08:00".
       
      optional string call_start_date_time = 8;
      Specified by:
      hasCallStartDateTime in interface CallConversionOrBuilder
      Returns:
      Whether the callStartDateTime field is set.
    • getCallStartDateTime

      public String getCallStartDateTime()
       The date time at which the call occurred. The timezone must be specified.
       The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm",
       for example, "2019-01-01 12:32:45-08:00".
       
      optional string call_start_date_time = 8;
      Specified by:
      getCallStartDateTime in interface CallConversionOrBuilder
      Returns:
      The callStartDateTime.
    • getCallStartDateTimeBytes

      public com.google.protobuf.ByteString getCallStartDateTimeBytes()
       The date time at which the call occurred. The timezone must be specified.
       The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm",
       for example, "2019-01-01 12:32:45-08:00".
       
      optional string call_start_date_time = 8;
      Specified by:
      getCallStartDateTimeBytes in interface CallConversionOrBuilder
      Returns:
      The bytes for callStartDateTime.
    • hasConversionAction

      public boolean hasConversionAction()
       Resource name of the conversion action associated with this conversion.
       Note: Although this resource name consists of a customer id and a
       conversion action id, validation will ignore the customer id and use the
       conversion action id as the sole identifier of the conversion action.
       
      optional string conversion_action = 9;
      Specified by:
      hasConversionAction in interface CallConversionOrBuilder
      Returns:
      Whether the conversionAction field is set.
    • getConversionAction

      public String getConversionAction()
       Resource name of the conversion action associated with this conversion.
       Note: Although this resource name consists of a customer id and a
       conversion action id, validation will ignore the customer id and use the
       conversion action id as the sole identifier of the conversion action.
       
      optional string conversion_action = 9;
      Specified by:
      getConversionAction in interface CallConversionOrBuilder
      Returns:
      The conversionAction.
    • getConversionActionBytes

      public com.google.protobuf.ByteString getConversionActionBytes()
       Resource name of the conversion action associated with this conversion.
       Note: Although this resource name consists of a customer id and a
       conversion action id, validation will ignore the customer id and use the
       conversion action id as the sole identifier of the conversion action.
       
      optional string conversion_action = 9;
      Specified by:
      getConversionActionBytes in interface CallConversionOrBuilder
      Returns:
      The bytes for conversionAction.
    • hasConversionDateTime

      public boolean hasConversionDateTime()
       The date time at which the conversion occurred. Must be after the call
       time. The timezone must be specified. The format is
       "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
       
      optional string conversion_date_time = 10;
      Specified by:
      hasConversionDateTime in interface CallConversionOrBuilder
      Returns:
      Whether the conversionDateTime field is set.
    • getConversionDateTime

      public String getConversionDateTime()
       The date time at which the conversion occurred. Must be after the call
       time. The timezone must be specified. The format is
       "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
       
      optional string conversion_date_time = 10;
      Specified by:
      getConversionDateTime in interface CallConversionOrBuilder
      Returns:
      The conversionDateTime.
    • getConversionDateTimeBytes

      public com.google.protobuf.ByteString getConversionDateTimeBytes()
       The date time at which the conversion occurred. Must be after the call
       time. The timezone must be specified. The format is
       "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
       
      optional string conversion_date_time = 10;
      Specified by:
      getConversionDateTimeBytes in interface CallConversionOrBuilder
      Returns:
      The bytes for conversionDateTime.
    • hasConversionValue

      public boolean hasConversionValue()
       The value of the conversion for the advertiser.
       
      optional double conversion_value = 11;
      Specified by:
      hasConversionValue in interface CallConversionOrBuilder
      Returns:
      Whether the conversionValue field is set.
    • getConversionValue

      public double getConversionValue()
       The value of the conversion for the advertiser.
       
      optional double conversion_value = 11;
      Specified by:
      getConversionValue in interface CallConversionOrBuilder
      Returns:
      The conversionValue.
    • hasCurrencyCode

      public boolean hasCurrencyCode()
       Currency associated with the conversion value. This is the ISO 4217
       3-character currency code. For example: USD, EUR.
       
      optional string currency_code = 12;
      Specified by:
      hasCurrencyCode in interface CallConversionOrBuilder
      Returns:
      Whether the currencyCode field is set.
    • getCurrencyCode

      public String getCurrencyCode()
       Currency associated with the conversion value. This is the ISO 4217
       3-character currency code. For example: USD, EUR.
       
      optional string currency_code = 12;
      Specified by:
      getCurrencyCode in interface CallConversionOrBuilder
      Returns:
      The currencyCode.
    • getCurrencyCodeBytes

      public com.google.protobuf.ByteString getCurrencyCodeBytes()
       Currency associated with the conversion value. This is the ISO 4217
       3-character currency code. For example: USD, EUR.
       
      optional string currency_code = 12;
      Specified by:
      getCurrencyCodeBytes in interface CallConversionOrBuilder
      Returns:
      The bytes for currencyCode.
    • getCustomVariablesList

      public List<CustomVariable> getCustomVariablesList()
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 13;
      Specified by:
      getCustomVariablesList in interface CallConversionOrBuilder
    • getCustomVariablesOrBuilderList

      public List<? extends CustomVariableOrBuilder> getCustomVariablesOrBuilderList()
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 13;
      Specified by:
      getCustomVariablesOrBuilderList in interface CallConversionOrBuilder
    • getCustomVariablesCount

      public int getCustomVariablesCount()
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 13;
      Specified by:
      getCustomVariablesCount in interface CallConversionOrBuilder
    • getCustomVariables

      public CustomVariable getCustomVariables(int index)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 13;
      Specified by:
      getCustomVariables in interface CallConversionOrBuilder
    • getCustomVariablesOrBuilder

      public CustomVariableOrBuilder getCustomVariablesOrBuilder(int index)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 13;
      Specified by:
      getCustomVariablesOrBuilder in interface CallConversionOrBuilder
    • hasConsent

      public boolean hasConsent()
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 14;
      Specified by:
      hasConsent in interface CallConversionOrBuilder
      Returns:
      Whether the consent field is set.
    • getConsent

      public Consent getConsent()
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 14;
      Specified by:
      getConsent in interface CallConversionOrBuilder
      Returns:
      The consent.
    • getConsentOrBuilder

      public ConsentOrBuilder getConsentOrBuilder()
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 14;
      Specified by:
      getConsentOrBuilder in interface CallConversionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 CallConversion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static CallConversion.Builder newBuilder()
    • newBuilder

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

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

      protected CallConversion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static CallConversion getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<CallConversion> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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