Interface AnswerQueryRequest.GroundingSpecOrBuilder

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

public static interface AnswerQueryRequest.GroundingSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    int
    Optional.
    boolean
    Optional.

    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 Details

    • getIncludeGroundingSupports

      boolean getIncludeGroundingSupports()
       Optional. Specifies whether to include grounding_supports in the answer.
       The default value is `false`.
      
       When this field is set to `true`, returned answer will have
       `grounding_score` and will contain GroundingSupports for each claim.
       
      bool include_grounding_supports = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The includeGroundingSupports.
    • getFilteringLevelValue

      int getFilteringLevelValue()
       Optional. Specifies whether to enable the filtering based on grounding
       score and at what level.
       
      .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.GroundingSpec.FilteringLevel filtering_level = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for filteringLevel.
    • getFilteringLevel

       Optional. Specifies whether to enable the filtering based on grounding
       score and at what level.
       
      .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.GroundingSpec.FilteringLevel filtering_level = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The filteringLevel.