Interface StackdriverLoggingConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StackdriverLoggingConfig, StackdriverLoggingConfig.Builder

@Generated public interface StackdriverLoggingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/).

    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

    • getSamplingRatio

      double getSamplingRatio()
       Specifies the fraction of operations to write to
       [Stackdriver Logging](https://cloud.google.com/logging/docs/).
       This field may contain any value between 0.0 and 1.0, inclusive.
       0.0 is the default and means that no operations are logged.
       
      double sampling_ratio = 1;
      Returns:
      The samplingRatio.