Interface LeadFormSingleChoiceAnswersOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAnswers​(int index)
      List of choices for a single question field.
      com.google.protobuf.ByteString getAnswersBytes​(int index)
      List of choices for a single question field.
      int getAnswersCount()
      List of choices for a single question field.
      java.util.List<java.lang.String> getAnswersList()
      List of choices for a single question field.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getAnswersList

        java.util.List<java.lang.String> 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

        java.lang.String getAnswers​(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 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.