Package org.tensorflow.metadata.v0
Class DatasetConstraints.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
- org.tensorflow.metadata.v0.DatasetConstraints.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,DatasetConstraintsOrBuilder
- Enclosing class:
- DatasetConstraints
public static final class DatasetConstraints.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder> implements DatasetConstraintsOrBuilder
Constraints on the entire dataset.
Protobuf typetensorflow.metadata.v0.DatasetConstraints
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetConstraints.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DatasetConstraintsbuild()DatasetConstraintsbuildPartial()DatasetConstraints.Builderclear()DatasetConstraints.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DatasetConstraints.BuilderclearMinExamplesCount()Minimum number of examples in the dataset.DatasetConstraints.BuilderclearNumExamplesDriftComparator()Tests differences in number of examples between the current data and the previous span.DatasetConstraints.BuilderclearNumExamplesVersionComparator()Tests comparisions in number of examples between the current data and the previous version of that data.DatasetConstraints.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DatasetConstraints.Builderclone()DatasetConstraintsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetMinExamplesCount()Minimum number of examples in the dataset.NumericValueComparatorgetNumExamplesDriftComparator()Tests differences in number of examples between the current data and the previous span.NumericValueComparator.BuildergetNumExamplesDriftComparatorBuilder()Tests differences in number of examples between the current data and the previous span.NumericValueComparatorOrBuildergetNumExamplesDriftComparatorOrBuilder()Tests differences in number of examples between the current data and the previous span.NumericValueComparatorgetNumExamplesVersionComparator()Tests comparisions in number of examples between the current data and the previous version of that data.NumericValueComparator.BuildergetNumExamplesVersionComparatorBuilder()Tests comparisions in number of examples between the current data and the previous version of that data.NumericValueComparatorOrBuildergetNumExamplesVersionComparatorOrBuilder()Tests comparisions in number of examples between the current data and the previous version of that data.booleanhasMinExamplesCount()Minimum number of examples in the dataset.booleanhasNumExamplesDriftComparator()Tests differences in number of examples between the current data and the previous span.booleanhasNumExamplesVersionComparator()Tests comparisions in number of examples between the current data and the previous version of that data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DatasetConstraints.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DatasetConstraints.BuildermergeFrom(com.google.protobuf.Message other)DatasetConstraints.BuildermergeFrom(DatasetConstraints other)DatasetConstraints.BuildermergeNumExamplesDriftComparator(NumericValueComparator value)Tests differences in number of examples between the current data and the previous span.DatasetConstraints.BuildermergeNumExamplesVersionComparator(NumericValueComparator value)Tests comparisions in number of examples between the current data and the previous version of that data.DatasetConstraints.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DatasetConstraints.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DatasetConstraints.BuildersetMinExamplesCount(long value)Minimum number of examples in the dataset.DatasetConstraints.BuildersetNumExamplesDriftComparator(NumericValueComparator value)Tests differences in number of examples between the current data and the previous span.DatasetConstraints.BuildersetNumExamplesDriftComparator(NumericValueComparator.Builder builderForValue)Tests differences in number of examples between the current data and the previous span.DatasetConstraints.BuildersetNumExamplesVersionComparator(NumericValueComparator value)Tests comparisions in number of examples between the current data and the previous version of that data.DatasetConstraints.BuildersetNumExamplesVersionComparator(NumericValueComparator.Builder builderForValue)Tests comparisions in number of examples between the current data and the previous version of that data.DatasetConstraints.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DatasetConstraints.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
clear
public DatasetConstraints.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
getDefaultInstanceForType
public DatasetConstraints getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DatasetConstraints build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DatasetConstraints buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DatasetConstraints.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
setField
public DatasetConstraints.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
clearField
public DatasetConstraints.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
clearOneof
public DatasetConstraints.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
setRepeatedField
public DatasetConstraints.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
addRepeatedField
public DatasetConstraints.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
mergeFrom
public DatasetConstraints.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatasetConstraints.Builder>
-
mergeFrom
public DatasetConstraints.Builder mergeFrom(DatasetConstraints other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
mergeFrom
public DatasetConstraints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatasetConstraints.Builder>- Throws:
IOException
-
hasNumExamplesDriftComparator
public boolean hasNumExamplesDriftComparator()
Tests differences in number of examples between the current data and the previous span.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;- Specified by:
hasNumExamplesDriftComparatorin interfaceDatasetConstraintsOrBuilder- Returns:
- Whether the numExamplesDriftComparator field is set.
-
getNumExamplesDriftComparator
public NumericValueComparator getNumExamplesDriftComparator()
Tests differences in number of examples between the current data and the previous span.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;- Specified by:
getNumExamplesDriftComparatorin interfaceDatasetConstraintsOrBuilder- Returns:
- The numExamplesDriftComparator.
-
setNumExamplesDriftComparator
public DatasetConstraints.Builder setNumExamplesDriftComparator(NumericValueComparator value)
Tests differences in number of examples between the current data and the previous span.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
-
setNumExamplesDriftComparator
public DatasetConstraints.Builder setNumExamplesDriftComparator(NumericValueComparator.Builder builderForValue)
Tests differences in number of examples between the current data and the previous span.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
-
mergeNumExamplesDriftComparator
public DatasetConstraints.Builder mergeNumExamplesDriftComparator(NumericValueComparator value)
Tests differences in number of examples between the current data and the previous span.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
-
clearNumExamplesDriftComparator
public DatasetConstraints.Builder clearNumExamplesDriftComparator()
Tests differences in number of examples between the current data and the previous span.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
-
getNumExamplesDriftComparatorBuilder
public NumericValueComparator.Builder getNumExamplesDriftComparatorBuilder()
Tests differences in number of examples between the current data and the previous span.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
-
getNumExamplesDriftComparatorOrBuilder
public NumericValueComparatorOrBuilder getNumExamplesDriftComparatorOrBuilder()
Tests differences in number of examples between the current data and the previous span.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;- Specified by:
getNumExamplesDriftComparatorOrBuilderin interfaceDatasetConstraintsOrBuilder
-
hasNumExamplesVersionComparator
public boolean hasNumExamplesVersionComparator()
Tests comparisions in number of examples between the current data and the previous version of that data.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;- Specified by:
hasNumExamplesVersionComparatorin interfaceDatasetConstraintsOrBuilder- Returns:
- Whether the numExamplesVersionComparator field is set.
-
getNumExamplesVersionComparator
public NumericValueComparator getNumExamplesVersionComparator()
Tests comparisions in number of examples between the current data and the previous version of that data.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;- Specified by:
getNumExamplesVersionComparatorin interfaceDatasetConstraintsOrBuilder- Returns:
- The numExamplesVersionComparator.
-
setNumExamplesVersionComparator
public DatasetConstraints.Builder setNumExamplesVersionComparator(NumericValueComparator value)
Tests comparisions in number of examples between the current data and the previous version of that data.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
-
setNumExamplesVersionComparator
public DatasetConstraints.Builder setNumExamplesVersionComparator(NumericValueComparator.Builder builderForValue)
Tests comparisions in number of examples between the current data and the previous version of that data.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
-
mergeNumExamplesVersionComparator
public DatasetConstraints.Builder mergeNumExamplesVersionComparator(NumericValueComparator value)
Tests comparisions in number of examples between the current data and the previous version of that data.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
-
clearNumExamplesVersionComparator
public DatasetConstraints.Builder clearNumExamplesVersionComparator()
Tests comparisions in number of examples between the current data and the previous version of that data.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
-
getNumExamplesVersionComparatorBuilder
public NumericValueComparator.Builder getNumExamplesVersionComparatorBuilder()
Tests comparisions in number of examples between the current data and the previous version of that data.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
-
getNumExamplesVersionComparatorOrBuilder
public NumericValueComparatorOrBuilder getNumExamplesVersionComparatorOrBuilder()
Tests comparisions in number of examples between the current data and the previous version of that data.
optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;- Specified by:
getNumExamplesVersionComparatorOrBuilderin interfaceDatasetConstraintsOrBuilder
-
hasMinExamplesCount
public boolean hasMinExamplesCount()
Minimum number of examples in the dataset.
optional int64 min_examples_count = 3;- Specified by:
hasMinExamplesCountin interfaceDatasetConstraintsOrBuilder- Returns:
- Whether the minExamplesCount field is set.
-
getMinExamplesCount
public long getMinExamplesCount()
Minimum number of examples in the dataset.
optional int64 min_examples_count = 3;- Specified by:
getMinExamplesCountin interfaceDatasetConstraintsOrBuilder- Returns:
- The minExamplesCount.
-
setMinExamplesCount
public DatasetConstraints.Builder setMinExamplesCount(long value)
Minimum number of examples in the dataset.
optional int64 min_examples_count = 3;- Parameters:
value- The minExamplesCount to set.- Returns:
- This builder for chaining.
-
clearMinExamplesCount
public DatasetConstraints.Builder clearMinExamplesCount()
Minimum number of examples in the dataset.
optional int64 min_examples_count = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DatasetConstraints.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
mergeUnknownFields
public final DatasetConstraints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DatasetConstraints.Builder>
-
-