Class LocalServicesLeadConversation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.LocalServicesLeadConversation
All Implemented Interfaces:
LocalServicesLeadConversationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, 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.v18.resources.LocalServicesLeadConversation
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • CONVERSATION_CHANNEL_FIELD_NUMBER

      public static final int CONVERSATION_CHANNEL_FIELD_NUMBER
      See Also:
    • PARTICIPANT_TYPE_FIELD_NUMBER

      public static final int PARTICIPANT_TYPE_FIELD_NUMBER
      See Also:
    • LEAD_FIELD_NUMBER

      public static final int LEAD_FIELD_NUMBER
      See Also:
    • EVENT_DATE_TIME_FIELD_NUMBER

      public static final int EVENT_DATE_TIME_FIELD_NUMBER
      See Also:
    • PHONE_CALL_DETAILS_FIELD_NUMBER

      public static final int PHONE_CALL_DETAILS_FIELD_NUMBER
      See Also:
    • MESSAGE_DETAILS_FIELD_NUMBER

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

      public 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.v18.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.
    • getConversationChannel

       Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL,
       SMS, etc.
       
      .google.ads.googleads.v18.enums.LocalServicesLeadConversationTypeEnum.ConversationType conversation_channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConversationChannel in interface LocalServicesLeadConversationOrBuilder
      Returns:
      The conversationChannel.
    • getParticipantTypeValue

      public int getParticipantTypeValue()
       Output only. Type of participant in the lead conversation, ADVERTISER or
       CONSUMER.
       
      .google.ads.googleads.v18.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.
    • getParticipantType

       Output only. Type of participant in the lead conversation, ADVERTISER or
       CONSUMER.
       
      .google.ads.googleads.v18.enums.LocalServicesParticipantTypeEnum.ParticipantType participant_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getParticipantType in interface LocalServicesLeadConversationOrBuilder
      Returns:
      The participantType.
    • getLead

      public 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 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.v18.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.v18.resources.PhoneCallDetails phone_call_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPhoneCallDetails in interface LocalServicesLeadConversationOrBuilder
      Returns:
      The phoneCallDetails.
    • getPhoneCallDetailsOrBuilder

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

      public boolean hasMessageDetails()
       Output only. Details of message conversation in case of EMAIL, MESSAGE or
       SMS.
       
      optional .google.ads.googleads.v18.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.v18.resources.MessageDetails message_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessageDetails in interface LocalServicesLeadConversationOrBuilder
      Returns:
      The messageDetails.
    • getMessageDetailsOrBuilder

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

      public static LocalServicesLeadConversation parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

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

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

      public static LocalServicesLeadConversation.Builder newBuilder()
    • newBuilder

    • 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
    • getDefaultInstance

      public static LocalServicesLeadConversation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LocalServicesLeadConversation> parser()
    • 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