Class LocalServicesLeadConversation

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

    public final class LocalServicesLeadConversation
    extends com.google.protobuf.GeneratedMessageV3
    implements LocalServicesLeadConversationOrBuilder
     Data from Local Services Lead Conversation.
     Contains details of Lead Conversation which is generated when user calls,
     messages or books service from advertiser. These are appended to a Lead.
     More info: https://ads.google.com/local-services-ads
     
    Protobuf type google.ads.googleads.v15.resources.LocalServicesLeadConversation
    See Also:
    Serialized Form
    • Field Detail

      • RESOURCE_NAME_FIELD_NUMBER

        public static final int RESOURCE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONVERSATION_CHANNEL_FIELD_NUMBER

        public static final int CONVERSATION_CHANNEL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARTICIPANT_TYPE_FIELD_NUMBER

        public static final int PARTICIPANT_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EVENT_DATE_TIME_FIELD_NUMBER

        public static final int EVENT_DATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PHONE_CALL_DETAILS_FIELD_NUMBER

        public static final int PHONE_CALL_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MESSAGE_DETAILS_FIELD_NUMBER

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

        public java.lang.String getResourceName()
         Output only. The resource name of the local services lead conversation
         data. Local Services Lead Conversation resource name have the form
        
         `customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Output only. The resource name of the local services lead conversation
         data. Local Services Lead Conversation resource name have the form
        
         `customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The bytes for resourceName.
      • getId

        public long getId()
         Output only. ID of this Lead Conversation.
         
        int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The id.
      • getConversationChannelValue

        public int getConversationChannelValue()
         Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL,
         SMS, etc.
         
        .google.ads.googleads.v15.enums.LocalServicesLeadConversationTypeEnum.ConversationType conversation_channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConversationChannelValue in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The enum numeric value on the wire for conversationChannel.
      • getParticipantTypeValue

        public int getParticipantTypeValue()
         Output only. Type of participant in the lead conversation, ADVERTISER or
         CONSUMER.
         
        .google.ads.googleads.v15.enums.LocalServicesParticipantTypeEnum.ParticipantType participant_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getParticipantTypeValue in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The enum numeric value on the wire for participantType.
      • getLead

        public java.lang.String getLead()
         Output only. Resource name of Lead associated to the Lead Conversation.
         
        string lead = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getLead in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The lead.
      • getLeadBytes

        public com.google.protobuf.ByteString getLeadBytes()
         Output only. Resource name of Lead associated to the Lead Conversation.
         
        string lead = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getLeadBytes in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The bytes for lead.
      • getEventDateTime

        public java.lang.String getEventDateTime()
         Output only. The date time at which lead conversation was created by Local
         Services Ads. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads
         account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01
         14:34:30"
         
        string event_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEventDateTime in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The eventDateTime.
      • getEventDateTimeBytes

        public com.google.protobuf.ByteString getEventDateTimeBytes()
         Output only. The date time at which lead conversation was created by Local
         Services Ads. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads
         account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01
         14:34:30"
         
        string event_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEventDateTimeBytes in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The bytes for eventDateTime.
      • hasPhoneCallDetails

        public boolean hasPhoneCallDetails()
         Output only. Details of phone call conversation in case of PHONE_CALL.
         
        optional .google.ads.googleads.v15.resources.PhoneCallDetails phone_call_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasPhoneCallDetails in interface LocalServicesLeadConversationOrBuilder
        Returns:
        Whether the phoneCallDetails field is set.
      • getPhoneCallDetails

        public PhoneCallDetails getPhoneCallDetails()
         Output only. Details of phone call conversation in case of PHONE_CALL.
         
        optional .google.ads.googleads.v15.resources.PhoneCallDetails phone_call_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPhoneCallDetails in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The phoneCallDetails.
      • hasMessageDetails

        public boolean hasMessageDetails()
         Output only. Details of message conversation in case of EMAIL, MESSAGE or
         SMS.
         
        optional .google.ads.googleads.v15.resources.MessageDetails message_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasMessageDetails in interface LocalServicesLeadConversationOrBuilder
        Returns:
        Whether the messageDetails field is set.
      • getMessageDetails

        public MessageDetails getMessageDetails()
         Output only. Details of message conversation in case of EMAIL, MESSAGE or
         SMS.
         
        optional .google.ads.googleads.v15.resources.MessageDetails message_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMessageDetails in interface LocalServicesLeadConversationOrBuilder
        Returns:
        The messageDetails.
      • 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 LocalServicesLeadConversation parseFrom​(java.nio.ByteBuffer data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static LocalServicesLeadConversation parseFrom​(java.nio.ByteBuffer data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public static LocalServicesLeadConversation parseFrom​(java.io.InputStream input)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

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

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

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

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

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

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

        protected LocalServicesLeadConversation.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

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