Interface LeadFormSingleChoiceAnswersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LeadFormSingleChoiceAnswers,LeadFormSingleChoiceAnswers.Builder
public interface LeadFormSingleChoiceAnswersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAnswers(int index) List of choices for a single question field.com.google.protobuf.ByteStringgetAnswersBytes(int index) List of choices for a single question field.intList of choices for a single question field.List of choices for a single question field.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
-
getAnswersList
List of choices for a single question field. The order of entries defines UI order. Minimum of 2 answers required and maximum of 12 allowed.
repeated string answers = 1;- Returns:
- A list containing the answers.
-
getAnswersCount
int getAnswersCount()List of choices for a single question field. The order of entries defines UI order. Minimum of 2 answers required and maximum of 12 allowed.
repeated string answers = 1;- Returns:
- The count of answers.
-
getAnswers
List of choices for a single question field. The order of entries defines UI order. Minimum of 2 answers required and maximum of 12 allowed.
repeated string answers = 1;- Parameters:
index- The index of the element to return.- Returns:
- The answers at the given index.
-
getAnswersBytes
com.google.protobuf.ByteString getAnswersBytes(int index) List of choices for a single question field. The order of entries defines UI order. Minimum of 2 answers required and maximum of 12 allowed.
repeated string answers = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the answers at the given index.
-