Interface AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec, AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Builder
Enclosing class:
AnswerQueryRequest.QueryUnderstandingSpec

public static interface AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getTypesList

       Enabled query classification types.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1;
      Returns:
      A list containing the types.
    • getTypesCount

      int getTypesCount()
       Enabled query classification types.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1;
      Returns:
      The count of types.
    • getTypes

       Enabled query classification types.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The types at the given index.
    • getTypesValueList

      List<Integer> getTypesValueList()
       Enabled query classification types.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1;
      Returns:
      A list containing the enum numeric values on the wire for types.
    • getTypesValue

      int getTypesValue(int index)
       Enabled query classification types.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of types at the given index.