Package inference
Interface ModelConfigOuterClass.ModelResponseCacheOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelConfigOuterClass.ModelResponseCache,ModelConfigOuterClass.ModelResponseCache.Builder
- Enclosing class:
ModelConfigOuterClass
public static interface ModelConfigOuterClass.ModelResponseCacheOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
getEnable
boolean getEnable()@@ @@ .. cpp::var:: bool enable @@ @@ Whether or not to use response cache for the model. If True, the @@ responses from the model are cached and when identical request @@ is encountered, instead of going through the model execution, @@ the response from the cache is utilized. By default, response @@ cache is disabled for the models. @@
bool enable = 1;- Returns:
- The enable.
-