Class LocalServicesLead.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
com.google.ads.googleads.v18.resources.LocalServicesLead.Builder
- All Implemented Interfaces:
LocalServicesLeadOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LocalServicesLead
public static final class LocalServicesLead.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.Output only.Output only.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()Output only.Output only.Output only.Output only.Output only.Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.clone()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.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.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanhasNote()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanOutput only.mergeCreditDetails(CreditDetails value) Output only.mergeFrom(LocalServicesLead other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCategoryId(String value) Output only.setCategoryIdBytes(com.google.protobuf.ByteString value) Output only.setContactDetails(ContactDetails value) Output only.setContactDetails(ContactDetails.Builder builderForValue) Output only.setCreationDateTime(String value) Output only.setCreationDateTimeBytes(com.google.protobuf.ByteString value) Output only.setCreditDetails(CreditDetails value) Output only.setCreditDetails(CreditDetails.Builder builderForValue) Output only.setId(long value) Output only.setLeadCharged(boolean value) Output only.Output only.setLeadStatusValue(int value) Output only.Output only.setLeadTypeValue(int value) Output only.Output only.setLocaleBytes(com.google.protobuf.ByteString value) Output only.Output only.setNote(Note.Builder builderForValue) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Output only.setResourceNameBytes(com.google.protobuf.ByteString value) Output only.setServiceId(String value) Output only.setServiceIdBytes(com.google.protobuf.ByteString value) Output only.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<LocalServicesLead.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-
setField
public LocalServicesLead.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-
setRepeatedField
public LocalServicesLead.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-
addRepeatedField
public LocalServicesLead.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LocalServicesLead.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-
mergeFrom
public LocalServicesLead.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LocalServicesLead.Builder>- Throws:
IOException
-
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.
-
setResourceName
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) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
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:
- This builder for chaining.
-
setResourceNameBytes
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) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
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.
-
setId
Output only. ID of this Lead.
int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. ID of this Lead.
int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setCategoryId
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];- Parameters:
value- The categoryId to set.- Returns:
- This builder for chaining.
-
clearCategoryId
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:
- This builder for chaining.
-
setCategoryIdBytes
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];- Parameters:
value- The bytes for categoryId to set.- Returns:
- This builder for chaining.
-
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.
-
setServiceId
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];- Parameters:
value- The serviceId to set.- Returns:
- This builder for chaining.
-
clearServiceId
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:
- This builder for chaining.
-
setServiceIdBytes
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];- Parameters:
value- The bytes for serviceId to set.- Returns:
- This builder for chaining.
-
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.
-
setContactDetails
Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setContactDetails
Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeContactDetails
Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearContactDetails
Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getContactDetailsBuilder
Output only. Lead's contact details.
.google.ads.googleads.v18.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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.
-
setLeadTypeValue
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];- Parameters:
value- The enum numeric value on the wire for leadType to set.- Returns:
- This builder for chaining.
-
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.
-
setLeadType
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];- Parameters:
value- The leadType to set.- Returns:
- This builder for chaining.
-
clearLeadType
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:
- This builder for chaining.
-
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.
-
setLeadStatusValue
Output only. Current status of lead.
.google.ads.googleads.v18.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for leadStatus to set.- Returns:
- This builder for chaining.
-
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.
-
setLeadStatus
Output only. Current status of lead.
.google.ads.googleads.v18.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The leadStatus to set.- Returns:
- This builder for chaining.
-
clearLeadStatus
Output only. Current status of lead.
.google.ads.googleads.v18.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setCreationDateTime
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];- Parameters:
value- The creationDateTime to set.- Returns:
- This builder for chaining.
-
clearCreationDateTime
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:
- This builder for chaining.
-
setCreationDateTimeBytes
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];- Parameters:
value- The bytes for creationDateTime to set.- Returns:
- This builder for chaining.
-
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.
-
setLocale
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];- Parameters:
value- The locale to set.- Returns:
- This builder for chaining.
-
clearLocale
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:
- This builder for chaining.
-
setLocaleBytes
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];- Parameters:
value- The bytes for locale to set.- Returns:
- This builder for chaining.
-
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.
-
setNote
Output only. Note added by advertiser for the lead.
optional .google.ads.googleads.v18.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setNote
Output only. Note added by advertiser for the lead.
optional .google.ads.googleads.v18.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeNote
Output only. Note added by advertiser for the lead.
optional .google.ads.googleads.v18.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearNote
Output only. Note added by advertiser for the lead.
optional .google.ads.googleads.v18.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getNoteBuilder
Output only. Note added by advertiser for the lead.
optional .google.ads.googleads.v18.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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.
-
setLeadCharged
Output only. True if the advertiser was charged for the lead.
bool lead_charged = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The leadCharged to set.- Returns:
- This builder for chaining.
-
clearLeadCharged
Output only. True if the advertiser was charged for the lead.
bool lead_charged = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setCreditDetails
Output only. Credit details of the lead.
optional .google.ads.googleads.v18.resources.CreditDetails credit_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreditDetails
Output only. Credit details of the lead.
optional .google.ads.googleads.v18.resources.CreditDetails credit_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreditDetails
Output only. Credit details of the lead.
optional .google.ads.googleads.v18.resources.CreditDetails credit_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreditDetails
Output only. Credit details of the lead.
optional .google.ads.googleads.v18.resources.CreditDetails credit_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreditDetailsBuilder
Output only. Credit details of the lead.
optional .google.ads.googleads.v18.resources.CreditDetails credit_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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
-
setUnknownFields
public final LocalServicesLead.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-
mergeUnknownFields
public final LocalServicesLead.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
-