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 Summary
Modifier and TypeMethodDescriptiongetTypes(int index) Enabled query classification types.intEnabled query classification types.Enabled query classification types.intgetTypesValue(int index) Enabled query classification types.Enabled query classification types.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
-
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
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.
-