Interface AnswerQueryRequest.SafetySpecOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Enable the safety filtering on the answer response.

    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

    • getEnable

      boolean getEnable()
       Enable the safety filtering on the answer response. It is false by
       default.
       
      bool enable = 1;
      Returns:
      The enable.