Class CallConversion

  • All Implemented Interfaces:
    CallConversionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class CallConversion
    extends com.google.protobuf.GeneratedMessageV3
    implements CallConversionOrBuilder
     A call conversion.
     
    Protobuf type google.ads.googleads.v10.services.CallConversion
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CallConversion.Builder
      A call conversion.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Detail

      • CALL_START_DATE_TIME_FIELD_NUMBER

        public static final int CALL_START_DATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONVERSION_ACTION_FIELD_NUMBER

        public static final int CONVERSION_ACTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONVERSION_DATE_TIME_FIELD_NUMBER

        public static final int CONVERSION_DATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONVERSION_VALUE_FIELD_NUMBER

        public static final int CONVERSION_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CURRENCY_CODE_FIELD_NUMBER

        public static final int CURRENCY_CODE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CUSTOM_VARIABLES_FIELD_NUMBER

        public static final int CUSTOM_VARIABLES_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields 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. e.g. "+16502531234".
         
        optional string caller_id = 7;
        Specified by:
        hasCallerId in interface CallConversionOrBuilder
        Returns:
        Whether the callerId field is set.
      • getCallerId

        public java.lang.String getCallerId()
         The caller id from which this call was placed. Caller id is expected to be
         in E.164 format with preceding '+' sign. e.g. "+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. e.g. "+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",
         e.g. "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 java.lang.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",
         e.g. "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",
         e.g. "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 java.lang.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", e.g. "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 java.lang.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", e.g. "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", e.g. "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 java.lang.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 java.util.List<CustomVariable> getCustomVariablesList()
         The custom variables associated with this conversion.
         
        repeated .google.ads.googleads.v10.services.CustomVariable custom_variables = 13;
        Specified by:
        getCustomVariablesList in interface CallConversionOrBuilder
      • getCustomVariablesCount

        public int getCustomVariablesCount()
         The custom variables associated with this conversion.
         
        repeated .google.ads.googleads.v10.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.v10.services.CustomVariable custom_variables = 13;
        Specified by:
        getCustomVariables 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CallConversion parseFrom​(java.nio.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​(java.io.InputStream input)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static CallConversion parseDelimitedFrom​(java.io.InputStream input)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

        public CallConversion.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • 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