- 0.67.0 (latest)
- 0.66.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.5.0
public static final class DataSamplingConfig.Builder extends GeneratedMessageV3.Builder<DataSamplingConfig.Builder> implements DataSamplingConfigOrBuilder
Configuration options for sampling elements.
Protobuf type google.dataflow.v1beta3.DataSamplingConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataSamplingConfig.BuilderImplements
DataSamplingConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllBehaviors(Iterable<? extends DataSamplingConfig.DataSamplingBehavior> values)
public DataSamplingConfig.Builder addAllBehaviors(Iterable<? extends DataSamplingConfig.DataSamplingBehavior> values)
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 |
values |
Iterable<? extends com.google.dataflow.v1beta3.DataSamplingConfig.DataSamplingBehavior> The behaviors to add. |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
This builder for chaining. |
addAllBehaviorsValue(Iterable<Integer> values)
public DataSamplingConfig.Builder addAllBehaviorsValue(Iterable<Integer> values)
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 |
values |
Iterable<Integer> The enum numeric values on the wire for behaviors to add. |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
This builder for chaining. |
addBehaviors(DataSamplingConfig.DataSamplingBehavior value)
public DataSamplingConfig.Builder addBehaviors(DataSamplingConfig.DataSamplingBehavior value)
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 |
value |
DataSamplingConfig.DataSamplingBehavior The behaviors to add. |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
This builder for chaining. |
addBehaviorsValue(int value)
public DataSamplingConfig.Builder addBehaviorsValue(int value)
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 |
value |
int The enum numeric value on the wire for behaviors to add. |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataSamplingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
build()
public DataSamplingConfig build()
Returns | |
---|---|
Type | Description |
DataSamplingConfig |
buildPartial()
public DataSamplingConfig buildPartial()
Returns | |
---|---|
Type | Description |
DataSamplingConfig |
clear()
public DataSamplingConfig.Builder clear()
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
clearBehaviors()
public DataSamplingConfig.Builder clearBehaviors()
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 |
DataSamplingConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataSamplingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataSamplingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
clone()
public DataSamplingConfig.Builder clone()
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
getBehaviors(int index)
public 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 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 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 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 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. |
getDefaultInstanceForType()
public DataSamplingConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DataSamplingConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DataSamplingConfig other)
public DataSamplingConfig.Builder mergeFrom(DataSamplingConfig other)
Parameter | |
---|---|
Name | Description |
other |
DataSamplingConfig |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataSamplingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DataSamplingConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataSamplingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
setBehaviors(int index, DataSamplingConfig.DataSamplingBehavior value)
public DataSamplingConfig.Builder setBehaviors(int index, DataSamplingConfig.DataSamplingBehavior value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
DataSamplingConfig.DataSamplingBehavior The behaviors to set. |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
This builder for chaining. |
setBehaviorsValue(int index, int value)
public DataSamplingConfig.Builder setBehaviorsValue(int index, int value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for behaviors to set. |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataSamplingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataSamplingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataSamplingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataSamplingConfig.Builder |