Interface LocalServicesLeadOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LocalServicesLead,LocalServicesLead.Builder
public interface LocalServicesLeadOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.longgetId()Output only.booleanOutput only.Output only.intOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.getNote()Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanhasNote()Output only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
String 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) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
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) = { ... }- Returns:
- The bytes for resourceName.
-
getId
long getId()Output only. ID of this Lead.
int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
getCategoryId
String 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];- Returns:
- The categoryId.
-
getCategoryIdBytes
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];- Returns:
- The bytes for categoryId.
-
getServiceId
String 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];- Returns:
- The serviceId.
-
getServiceIdBytes
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];- Returns:
- The bytes for serviceId.
-
hasContactDetails
boolean hasContactDetails()Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the contactDetails field is set.
-
getContactDetails
ContactDetails getContactDetails()Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The contactDetails.
-
getContactDetailsOrBuilder
ContactDetailsOrBuilder getContactDetailsOrBuilder()Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLeadTypeValue
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];- Returns:
- The enum numeric value on the wire for leadType.
-
getLeadType
LocalServicesLeadTypeEnum.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];- Returns:
- The leadType.
-
getLeadStatusValue
int getLeadStatusValue()Output only. Current status of lead.
.google.ads.googleads.v18.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for leadStatus.
-
getLeadStatus
LocalServicesLeadStatusEnum.LeadStatus getLeadStatus()Output only. Current status of lead.
.google.ads.googleads.v18.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The leadStatus.
-
getCreationDateTime
String 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];- Returns:
- The creationDateTime.
-
getCreationDateTimeBytes
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];- Returns:
- The bytes for creationDateTime.
-
getLocale
String 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];- Returns:
- The locale.
-
getLocaleBytes
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];- Returns:
- The bytes for locale.
-
hasNote
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];- Returns:
- Whether the note field is set.
-
getNote
Note 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];- Returns:
- The note.
-
getNoteOrBuilder
NoteOrBuilder 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]; -
getLeadCharged
boolean getLeadCharged()Output only. True if the advertiser was charged for the lead.
bool lead_charged = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The leadCharged.
-
hasCreditDetails
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];- Returns:
- Whether the creditDetails field is set.
-
getCreditDetails
CreditDetails getCreditDetails()Output only. Credit details of the lead.
optional .google.ads.googleads.v18.resources.CreditDetails credit_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The creditDetails.
-
getCreditDetailsOrBuilder
CreditDetailsOrBuilder getCreditDetailsOrBuilder()Output only. Credit details of the lead.
optional .google.ads.googleads.v18.resources.CreditDetails credit_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-