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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCategoryId()Output only.com.google.protobuf.ByteStringgetCategoryIdBytes()Output only.ContactDetailsgetContactDetails()Output only.ContactDetailsOrBuildergetContactDetailsOrBuilder()Output only.java.lang.StringgetCreationDateTime()Output only.com.google.protobuf.ByteStringgetCreationDateTimeBytes()Output only.longgetId()Output only.booleangetLeadCharged()Output only.LocalServicesLeadStatusEnum.LeadStatusgetLeadStatus()Output only.intgetLeadStatusValue()Output only.LocalServicesLeadTypeEnum.LeadTypegetLeadType()Output only.intgetLeadTypeValue()Output only.java.lang.StringgetLocale()Output only.com.google.protobuf.ByteStringgetLocaleBytes()Output only.NotegetNote()Output only.NoteOrBuildergetNoteOrBuilder()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.java.lang.StringgetServiceId()Output only.com.google.protobuf.ByteStringgetServiceIdBytes()Output only.booleanhasContactDetails()Output only.booleanhasNote()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
java.lang.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
java.lang.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
java.lang.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.v15.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.v15.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.v15.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.v15.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.v15.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.v15.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.v15.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The leadStatus.
-
getCreationDateTime
java.lang.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
java.lang.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.v15.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.v15.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.v15.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.
-
-