Interface AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpecOrBuilder (0.51.0)

public static interface AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTypes(int index)

public abstract AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type getTypes(int index)

Enabled query classification types.

repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type

The types at the given index.

getTypesCount()

public abstract int getTypesCount()

Enabled query classification types.

repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1;

Returns
Type Description
int

The count of types.

getTypesList()

public abstract List<AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type> getTypesList()

Enabled query classification types.

repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1;

Returns
Type Description
List<Type>

A list containing the types.

getTypesValue(int index)

public abstract int getTypesValue(int index)

Enabled query classification types.

repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of types at the given index.

getTypesValueList()

public abstract List<Integer> getTypesValueList()

Enabled query classification types.

repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for types.