Package tensorflow.serving
Interface LoggingConfigOuterClass.SamplingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LoggingConfigOuterClass.SamplingConfig,LoggingConfigOuterClass.SamplingConfig.Builder
- Enclosing class:
- LoggingConfigOuterClass
public static interface LoggingConfigOuterClass.SamplingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description doublegetSamplingRate()Requests will be logged uniformly at random with this probability.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSamplingRate
double getSamplingRate()Requests will be logged uniformly at random with this probability. Valid range: [0, 1.0].
double sampling_rate = 1;- Returns:
- The samplingRate.
-