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 TypeMethodDescriptionintBitwise OR of above attributesdoubleRequests will be logged uniformly at random with this probability.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
-
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.
-
getAttributes
int getAttributes()Bitwise OR of above attributes
int32 attributes = 2;- Returns:
- The attributes.
-