Interface DataSamplingConfigOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getBehaviors(int index)
    List of given sampling behaviors to enable.
    int
    List of given sampling behaviors to enable.
    List of given sampling behaviors to enable.
    int
    getBehaviorsValue(int index)
    List of given sampling behaviors to enable.
    List of given sampling behaviors to enable.

    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

    • getBehaviorsList

       List of given sampling behaviors to enable. For example, specifying
       behaviors = [ALWAYS_ON] samples in-flight elements but does not sample
       exceptions. Can be used to specify multiple behaviors like,
       behaviors = [ALWAYS_ON, EXCEPTIONS] for specifying periodic sampling and
       exception sampling.
      
       If DISABLED is in the list, then sampling will be disabled and ignore the
       other given behaviors.
      
       Ordering does not matter.
       
      repeated .google.dataflow.v1beta3.DataSamplingConfig.DataSamplingBehavior behaviors = 1;
      Returns:
      A list containing the behaviors.
    • getBehaviorsCount

      int getBehaviorsCount()
       List of given sampling behaviors to enable. For example, specifying
       behaviors = [ALWAYS_ON] samples in-flight elements but does not sample
       exceptions. Can be used to specify multiple behaviors like,
       behaviors = [ALWAYS_ON, EXCEPTIONS] for specifying periodic sampling and
       exception sampling.
      
       If DISABLED is in the list, then sampling will be disabled and ignore the
       other given behaviors.
      
       Ordering does not matter.
       
      repeated .google.dataflow.v1beta3.DataSamplingConfig.DataSamplingBehavior behaviors = 1;
      Returns:
      The count of behaviors.
    • getBehaviors

      DataSamplingConfig.DataSamplingBehavior getBehaviors(int index)
       List of given sampling behaviors to enable. For example, specifying
       behaviors = [ALWAYS_ON] samples in-flight elements but does not sample
       exceptions. Can be used to specify multiple behaviors like,
       behaviors = [ALWAYS_ON, EXCEPTIONS] for specifying periodic sampling and
       exception sampling.
      
       If DISABLED is in the list, then sampling will be disabled and ignore the
       other given behaviors.
      
       Ordering does not matter.
       
      repeated .google.dataflow.v1beta3.DataSamplingConfig.DataSamplingBehavior behaviors = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The behaviors at the given index.
    • getBehaviorsValueList

      List<Integer> getBehaviorsValueList()
       List of given sampling behaviors to enable. For example, specifying
       behaviors = [ALWAYS_ON] samples in-flight elements but does not sample
       exceptions. Can be used to specify multiple behaviors like,
       behaviors = [ALWAYS_ON, EXCEPTIONS] for specifying periodic sampling and
       exception sampling.
      
       If DISABLED is in the list, then sampling will be disabled and ignore the
       other given behaviors.
      
       Ordering does not matter.
       
      repeated .google.dataflow.v1beta3.DataSamplingConfig.DataSamplingBehavior behaviors = 1;
      Returns:
      A list containing the enum numeric values on the wire for behaviors.
    • getBehaviorsValue

      int getBehaviorsValue(int index)
       List of given sampling behaviors to enable. For example, specifying
       behaviors = [ALWAYS_ON] samples in-flight elements but does not sample
       exceptions. Can be used to specify multiple behaviors like,
       behaviors = [ALWAYS_ON, EXCEPTIONS] for specifying periodic sampling and
       exception sampling.
      
       If DISABLED is in the list, then sampling will be disabled and ignore the
       other given behaviors.
      
       Ordering does not matter.
       
      repeated .google.dataflow.v1beta3.DataSamplingConfig.DataSamplingBehavior behaviors = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of behaviors at the given index.