Enum DataSamplingConfig.DataSamplingBehavior (0.67.0)

public enum DataSamplingConfig.DataSamplingBehavior extends Enum<DataSamplingConfig.DataSamplingBehavior> implements ProtocolMessageEnum

The following enum defines what to sample for a running job.

Protobuf enum google.dataflow.v1beta3.DataSamplingConfig.DataSamplingBehavior

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALWAYS_ON

When given, enables sampling in-flight from all PCollections.

ALWAYS_ON = 2;

ALWAYS_ON_VALUE

When given, enables sampling in-flight from all PCollections.

ALWAYS_ON = 2;

DATA_SAMPLING_BEHAVIOR_UNSPECIFIED

If given, has no effect on sampling behavior. Used as an unknown or unset sentinel value.

DATA_SAMPLING_BEHAVIOR_UNSPECIFIED = 0;

DATA_SAMPLING_BEHAVIOR_UNSPECIFIED_VALUE

If given, has no effect on sampling behavior. Used as an unknown or unset sentinel value.

DATA_SAMPLING_BEHAVIOR_UNSPECIFIED = 0;

DISABLED

When given, disables element sampling. Has same behavior as not setting the behavior.

DISABLED = 1;

DISABLED_VALUE

When given, disables element sampling. Has same behavior as not setting the behavior.

DISABLED = 1;

EXCEPTIONS

When given, enables sampling input elements when a user-defined DoFn causes an exception.

EXCEPTIONS = 3;

EXCEPTIONS_VALUE

When given, enables sampling input elements when a user-defined DoFn causes an exception.

EXCEPTIONS = 3;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()