Class LocalServicesLeadConversation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v15.resources.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 typegoogle.ads.googleads.v15.resources.LocalServicesLeadConversation- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocalServicesLeadConversation.BuilderData from Local Services Lead Conversation.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONVERSATION_CHANNEL_FIELD_NUMBERstatic intEVENT_DATE_TIME_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intLEAD_FIELD_NUMBERstatic intMESSAGE_DETAILS_FIELD_NUMBERstatic intPARTICIPANT_TYPE_FIELD_NUMBERstatic intPHONE_CALL_DETAILS_FIELD_NUMBERstatic intRESOURCE_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)LocalServicesLeadConversationTypeEnum.ConversationTypegetConversationChannel()Output only.intgetConversationChannelValue()Output only.static LocalServicesLeadConversationgetDefaultInstance()LocalServicesLeadConversationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetEventDateTime()Output only.com.google.protobuf.ByteStringgetEventDateTimeBytes()Output only.longgetId()Output only.java.lang.StringgetLead()Output only.com.google.protobuf.ByteStringgetLeadBytes()Output only.MessageDetailsgetMessageDetails()Output only.MessageDetailsOrBuildergetMessageDetailsOrBuilder()Output only.com.google.protobuf.Parser<LocalServicesLeadConversation>getParserForType()LocalServicesParticipantTypeEnum.ParticipantTypegetParticipantType()Output only.intgetParticipantTypeValue()Output only.PhoneCallDetailsgetPhoneCallDetails()Output only.PhoneCallDetailsOrBuildergetPhoneCallDetailsOrBuilder()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.intgetSerializedSize()inthashCode()booleanhasMessageDetails()Output only.booleanhasPhoneCallDetails()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LocalServicesLeadConversation.BuildernewBuilder()static LocalServicesLeadConversation.BuildernewBuilder(LocalServicesLeadConversation prototype)LocalServicesLeadConversation.BuildernewBuilderForType()protected LocalServicesLeadConversation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LocalServicesLeadConversationparseDelimitedFrom(java.io.InputStream input)static LocalServicesLeadConversationparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalServicesLeadConversationparseFrom(byte[] data)static LocalServicesLeadConversationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalServicesLeadConversationparseFrom(com.google.protobuf.ByteString data)static LocalServicesLeadConversationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalServicesLeadConversationparseFrom(com.google.protobuf.CodedInputStream input)static LocalServicesLeadConversationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalServicesLeadConversationparseFrom(java.io.InputStream input)static LocalServicesLeadConversationparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalServicesLeadConversationparseFrom(java.nio.ByteBuffer data)static LocalServicesLeadConversationparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LocalServicesLeadConversation>parser()LocalServicesLeadConversation.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_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
-
LEAD_FIELD_NUMBER
public static final int LEAD_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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.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:
getResourceNamein interfaceLocalServicesLeadConversationOrBuilder- 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:
getResourceNameBytesin interfaceLocalServicesLeadConversationOrBuilder- 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:
getIdin interfaceLocalServicesLeadConversationOrBuilder- 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:
getConversationChannelValuein interfaceLocalServicesLeadConversationOrBuilder- Returns:
- The enum numeric value on the wire for conversationChannel.
-
getConversationChannel
public LocalServicesLeadConversationTypeEnum.ConversationType getConversationChannel()
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:
getConversationChannelin interfaceLocalServicesLeadConversationOrBuilder- Returns:
- The 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:
getParticipantTypeValuein interfaceLocalServicesLeadConversationOrBuilder- Returns:
- The enum numeric value on the wire for participantType.
-
getParticipantType
public LocalServicesParticipantTypeEnum.ParticipantType getParticipantType()
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:
getParticipantTypein interfaceLocalServicesLeadConversationOrBuilder- Returns:
- The 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:
getLeadin interfaceLocalServicesLeadConversationOrBuilder- 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:
getLeadBytesin interfaceLocalServicesLeadConversationOrBuilder- 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:
getEventDateTimein interfaceLocalServicesLeadConversationOrBuilder- 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:
getEventDateTimeBytesin interfaceLocalServicesLeadConversationOrBuilder- 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:
hasPhoneCallDetailsin interfaceLocalServicesLeadConversationOrBuilder- 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:
getPhoneCallDetailsin interfaceLocalServicesLeadConversationOrBuilder- Returns:
- The phoneCallDetails.
-
getPhoneCallDetailsOrBuilder
public PhoneCallDetailsOrBuilder getPhoneCallDetailsOrBuilder()
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:
getPhoneCallDetailsOrBuilderin interfaceLocalServicesLeadConversationOrBuilder
-
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:
hasMessageDetailsin interfaceLocalServicesLeadConversationOrBuilder- 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:
getMessageDetailsin interfaceLocalServicesLeadConversationOrBuilder- Returns:
- The messageDetails.
-
getMessageDetailsOrBuilder
public MessageDetailsOrBuilder getMessageDetailsOrBuilder()
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:
getMessageDetailsOrBuilderin interfaceLocalServicesLeadConversationOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LocalServicesLeadConversation.Builder newBuilder()
-
newBuilder
public static LocalServicesLeadConversation.Builder newBuilder(LocalServicesLeadConversation prototype)
-
toBuilder
public LocalServicesLeadConversation.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalServicesLeadConversation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LocalServicesLeadConversation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-