public interface DataSamplingConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBehaviors(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.DataSamplingBehavior |
The behaviors at the given index. |
getBehaviorsCount()
public abstract 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 | |
---|---|
Type | Description |
int |
The count of behaviors. |
getBehaviorsList()
public abstract List<DataSamplingConfig.DataSamplingBehavior> 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 | |
---|---|
Type | Description |
List<DataSamplingBehavior> |
A list containing the behaviors. |
getBehaviorsValue(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of behaviors at the given index. |
getBehaviorsValueList()
public abstract 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 | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for behaviors. |