Interface ClarificationQuestionOrBuilder (0.13.0)

public interface ClarificationQuestionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClarificationQuestionType()

public abstract ClarificationQuestion.ClarificationQuestionType getClarificationQuestionType()

Optional. The type of clarification question.

.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ClarificationQuestion.ClarificationQuestionType

The clarificationQuestionType.

getClarificationQuestionTypeValue()

public abstract int getClarificationQuestionTypeValue()

Optional. The type of clarification question.

.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for clarificationQuestionType.

getOptions(int index)

public abstract String getOptions(int index)

Required. A list of distinct options for the user to choose from. The number of options is limited to a maximum of 5.

repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The options at the given index.

getOptionsBytes(int index)

public abstract ByteString getOptionsBytes(int index)

Required. A list of distinct options for the user to choose from. The number of options is limited to a maximum of 5.

repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the options at the given index.

getOptionsCount()

public abstract int getOptionsCount()

Required. A list of distinct options for the user to choose from. The number of options is limited to a maximum of 5.

repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of options.

getOptionsList()

public abstract List<String> getOptionsList()

Required. A list of distinct options for the user to choose from. The number of options is limited to a maximum of 5.

repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the options.

getQuestion()

public abstract String getQuestion()

Required. The natural language question to ask the user.

string question = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The question.

getQuestionBytes()

public abstract ByteString getQuestionBytes()

Required. The natural language question to ask the user.

string question = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for question.

getSelectionMode()

public abstract ClarificationQuestion.SelectionMode getSelectionMode()

Required. The selection mode for this question.

.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClarificationQuestion.SelectionMode

The selectionMode.

getSelectionModeValue()

public abstract int getSelectionModeValue()

Required. The selection mode for this question.

.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for selectionMode.