Interface LeadFormCustomQuestionFieldOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LeadFormCustomQuestionField
,LeadFormCustomQuestionField.Builder
public interface LeadFormCustomQuestionFieldOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LeadFormCustomQuestionField.AnswersCase
getAnswersCase()
java.lang.String
getCustomQuestionText()
The exact custom question field text (for example, "What kind of vehicle do you have?").com.google.protobuf.ByteString
getCustomQuestionTextBytes()
The exact custom question field text (for example, "What kind of vehicle do you have?").boolean
getHasLocationAnswer()
Answer configuration for location question.LeadFormSingleChoiceAnswers
getSingleChoiceAnswers()
Answer configuration for a single choice question.LeadFormSingleChoiceAnswersOrBuilder
getSingleChoiceAnswersOrBuilder()
Answer configuration for a single choice question.boolean
hasHasLocationAnswer()
Answer configuration for location question.boolean
hasSingleChoiceAnswers()
Answer configuration for a single choice question.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCustomQuestionText
java.lang.String getCustomQuestionText()
The exact custom question field text (for example, "What kind of vehicle do you have?").
string custom_question_text = 1;
- Returns:
- The customQuestionText.
-
getCustomQuestionTextBytes
com.google.protobuf.ByteString getCustomQuestionTextBytes()
The exact custom question field text (for example, "What kind of vehicle do you have?").
string custom_question_text = 1;
- Returns:
- The bytes for customQuestionText.
-
hasSingleChoiceAnswers
boolean hasSingleChoiceAnswers()
Answer configuration for a single choice question. Minimum of 2 answers and maximum of 12 allowed.
.google.ads.googleads.v14.common.LeadFormSingleChoiceAnswers single_choice_answers = 2;
- Returns:
- Whether the singleChoiceAnswers field is set.
-
getSingleChoiceAnswers
LeadFormSingleChoiceAnswers getSingleChoiceAnswers()
Answer configuration for a single choice question. Minimum of 2 answers and maximum of 12 allowed.
.google.ads.googleads.v14.common.LeadFormSingleChoiceAnswers single_choice_answers = 2;
- Returns:
- The singleChoiceAnswers.
-
getSingleChoiceAnswersOrBuilder
LeadFormSingleChoiceAnswersOrBuilder getSingleChoiceAnswersOrBuilder()
Answer configuration for a single choice question. Minimum of 2 answers and maximum of 12 allowed.
.google.ads.googleads.v14.common.LeadFormSingleChoiceAnswers single_choice_answers = 2;
-
hasHasLocationAnswer
boolean hasHasLocationAnswer()
Answer configuration for location question. If true, campaign/account level location data (state, city, business name etc) will be rendered on the Lead Form. Starting V13.1, has_location_answer can only be set for "What is your preferred dealership?" question, for advertisers with Location Assets setup at campaign/account level.
bool has_location_answer = 3;
- Returns:
- Whether the hasLocationAnswer field is set.
-
getHasLocationAnswer
boolean getHasLocationAnswer()
Answer configuration for location question. If true, campaign/account level location data (state, city, business name etc) will be rendered on the Lead Form. Starting V13.1, has_location_answer can only be set for "What is your preferred dealership?" question, for advertisers with Location Assets setup at campaign/account level.
bool has_location_answer = 3;
- Returns:
- The hasLocationAnswer.
-
getAnswersCase
LeadFormCustomQuestionField.AnswersCase getAnswersCase()
-
-