Class LocalServicesLead
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.LocalServicesLead
- All Implemented Interfaces:
LocalServicesLeadOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class LocalServicesLead
extends com.google.protobuf.GeneratedMessageV3
implements LocalServicesLeadOrBuilder
Data from Local Services Lead. Contains details of Lead which is generated when user calls, messages or books service from advertiser. More info: https://ads.google.com/local-services-adsProtobuf type
google.ads.googleads.v18.resources.LocalServicesLead- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classData from Local Services Lead.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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.static LocalServicesLeadstatic final com.google.protobuf.Descriptors.DescriptorlonggetId()Output only.booleanOutput only.Output only.intOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.getNote()Output only.Output only.com.google.protobuf.Parser<LocalServicesLead>Output only.com.google.protobuf.ByteStringOutput only.intOutput only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.inthashCode()booleanhasNote()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic LocalServicesLead.Builderstatic LocalServicesLead.BuildernewBuilder(LocalServicesLead prototype) protected LocalServicesLead.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static LocalServicesLeadparseDelimitedFrom(InputStream input) static LocalServicesLeadparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalServicesLeadparseFrom(byte[] data) static LocalServicesLeadparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalServicesLeadparseFrom(com.google.protobuf.ByteString data) static LocalServicesLeadparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalServicesLeadparseFrom(com.google.protobuf.CodedInputStream input) static LocalServicesLeadparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalServicesLeadparseFrom(InputStream input) static LocalServicesLeadparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalServicesLeadparseFrom(ByteBuffer data) static LocalServicesLeadparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LocalServicesLead>parser()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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
-
CATEGORY_ID_FIELD_NUMBER
public static final int CATEGORY_ID_FIELD_NUMBER- See Also:
-
SERVICE_ID_FIELD_NUMBER
public static final int SERVICE_ID_FIELD_NUMBER- See Also:
-
CONTACT_DETAILS_FIELD_NUMBER
public static final int CONTACT_DETAILS_FIELD_NUMBER- See Also:
-
LEAD_TYPE_FIELD_NUMBER
public static final int LEAD_TYPE_FIELD_NUMBER- See Also:
-
LEAD_STATUS_FIELD_NUMBER
public static final int LEAD_STATUS_FIELD_NUMBER- See Also:
-
CREATION_DATE_TIME_FIELD_NUMBER
public static final int CREATION_DATE_TIME_FIELD_NUMBER- See Also:
-
LOCALE_FIELD_NUMBER
public static final int LOCALE_FIELD_NUMBER- See Also:
-
NOTE_FIELD_NUMBER
public static final int NOTE_FIELD_NUMBER- See Also:
-
LEAD_CHARGED_FIELD_NUMBER
public static final int LEAD_CHARGED_FIELD_NUMBER- See Also:
-
CREDIT_DETAILS_FIELD_NUMBER
public static final int CREDIT_DETAILS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- 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
Output only. The resource name of the local services lead data. Local Services Lead resource name have the form `customers/{customer_id}/localServicesLead/{local_services_lead_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceLocalServicesLeadOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the local services lead data. Local Services Lead resource name have the form `customers/{customer_id}/localServicesLead/{local_services_lead_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceLocalServicesLeadOrBuilder- Returns:
- The bytes for resourceName.
-
getId
public long getId()Output only. ID of this Lead.
int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceLocalServicesLeadOrBuilder- Returns:
- The id.
-
getCategoryId
Output only. Service category of the lead. For example: `xcat:service_area_business_hvac`, `xcat:service_area_business_real_estate_agent`, etc. For more details see: https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
string category_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryIdin interfaceLocalServicesLeadOrBuilder- Returns:
- The categoryId.
-
getCategoryIdBytes
public com.google.protobuf.ByteString getCategoryIdBytes()Output only. Service category of the lead. For example: `xcat:service_area_business_hvac`, `xcat:service_area_business_real_estate_agent`, etc. For more details see: https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
string category_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryIdBytesin interfaceLocalServicesLeadOrBuilder- Returns:
- The bytes for categoryId.
-
getServiceId
Output only. Service for the category. For example: `buyer_agent`, `seller_agent` for the category of `xcat:service_area_business_real_estate_agent`.
string service_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceIdin interfaceLocalServicesLeadOrBuilder- Returns:
- The serviceId.
-
getServiceIdBytes
public com.google.protobuf.ByteString getServiceIdBytes()Output only. Service for the category. For example: `buyer_agent`, `seller_agent` for the category of `xcat:service_area_business_real_estate_agent`.
string service_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceIdBytesin interfaceLocalServicesLeadOrBuilder- Returns:
- The bytes for serviceId.
-
hasContactDetails
public boolean hasContactDetails()Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasContactDetailsin interfaceLocalServicesLeadOrBuilder- Returns:
- Whether the contactDetails field is set.
-
getContactDetails
Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getContactDetailsin interfaceLocalServicesLeadOrBuilder- Returns:
- The contactDetails.
-
getContactDetailsOrBuilder
Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getContactDetailsOrBuilderin interfaceLocalServicesLeadOrBuilder
-
getLeadTypeValue
public int getLeadTypeValue()Output only. Type of Local Services lead: phone, message, booking, etc.
.google.ads.googleads.v18.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLeadTypeValuein interfaceLocalServicesLeadOrBuilder- Returns:
- The enum numeric value on the wire for leadType.
-
getLeadType
Output only. Type of Local Services lead: phone, message, booking, etc.
.google.ads.googleads.v18.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLeadTypein interfaceLocalServicesLeadOrBuilder- Returns:
- The leadType.
-
getLeadStatusValue
public int getLeadStatusValue()Output only. Current status of lead.
.google.ads.googleads.v18.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLeadStatusValuein interfaceLocalServicesLeadOrBuilder- Returns:
- The enum numeric value on the wire for leadStatus.
-
getLeadStatus
Output only. Current status of lead.
.google.ads.googleads.v18.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLeadStatusin interfaceLocalServicesLeadOrBuilder- Returns:
- The leadStatus.
-
getCreationDateTime
Output only. The date time at which lead 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 creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationDateTimein interfaceLocalServicesLeadOrBuilder- Returns:
- The creationDateTime.
-
getCreationDateTimeBytes
public com.google.protobuf.ByteString getCreationDateTimeBytes()Output only. The date time at which lead 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 creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationDateTimeBytesin interfaceLocalServicesLeadOrBuilder- Returns:
- The bytes for creationDateTime.
-
getLocale
Output only. Language used by the Local Services provider linked to lead. See https://developers.google.com/google-ads/api/data/codes-formats#locales
string locale = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocalein interfaceLocalServicesLeadOrBuilder- Returns:
- The locale.
-
getLocaleBytes
public com.google.protobuf.ByteString getLocaleBytes()Output only. Language used by the Local Services provider linked to lead. See https://developers.google.com/google-ads/api/data/codes-formats#locales
string locale = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocaleBytesin interfaceLocalServicesLeadOrBuilder- Returns:
- The bytes for locale.
-
hasNote
public boolean hasNote()Output only. Note added by advertiser for the lead.
optional .google.ads.googleads.v18.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasNotein interfaceLocalServicesLeadOrBuilder- Returns:
- Whether the note field is set.
-
getNote
Output only. Note added by advertiser for the lead.
optional .google.ads.googleads.v18.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNotein interfaceLocalServicesLeadOrBuilder- Returns:
- The note.
-
getNoteOrBuilder
Output only. Note added by advertiser for the lead.
optional .google.ads.googleads.v18.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNoteOrBuilderin interfaceLocalServicesLeadOrBuilder
-
getLeadCharged
public boolean getLeadCharged()Output only. True if the advertiser was charged for the lead.
bool lead_charged = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLeadChargedin interfaceLocalServicesLeadOrBuilder- Returns:
- The leadCharged.
-
hasCreditDetails
public boolean hasCreditDetails()Output only. Credit details of the lead.
optional .google.ads.googleads.v18.resources.CreditDetails credit_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreditDetailsin interfaceLocalServicesLeadOrBuilder- Returns:
- Whether the creditDetails field is set.
-
getCreditDetails
Output only. Credit details of the lead.
optional .google.ads.googleads.v18.resources.CreditDetails credit_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreditDetailsin interfaceLocalServicesLeadOrBuilder- Returns:
- The creditDetails.
-
getCreditDetailsOrBuilder
Output only. Credit details of the lead.
optional .google.ads.googleads.v18.resources.CreditDetails credit_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreditDetailsOrBuilderin interfaceLocalServicesLeadOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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 LocalServicesLead parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalServicesLead parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalServicesLead parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalServicesLead parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalServicesLead parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalServicesLead parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LocalServicesLead parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LocalServicesLead parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LocalServicesLead parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LocalServicesLead parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalServicesLead.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-