public static final class DistributionConstraints.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder> implements DistributionConstraintsOrBuilder
Models constraints on the distribution of a feature's values. TODO(martinz): replace min_domain_mass with max_off_domain (but slowly).Protobuf type
tensorflow.metadata.v0.DistributionConstraints| Modifier and Type | Method and Description |
|---|---|
DistributionConstraints.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DistributionConstraints |
build() |
DistributionConstraints |
buildPartial() |
DistributionConstraints.Builder |
clear() |
DistributionConstraints.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DistributionConstraints.Builder |
clearMinDomainMass()
The minimum fraction (in [0,1]) of values across all examples that
should come from the feature's domain, e.g.:
1.0 => All values must come from the domain.
|
DistributionConstraints.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DistributionConstraints.Builder |
clone() |
DistributionConstraints |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getMinDomainMass()
The minimum fraction (in [0,1]) of values across all examples that
should come from the feature's domain, e.g.:
1.0 => All values must come from the domain.
|
boolean |
hasMinDomainMass()
The minimum fraction (in [0,1]) of values across all examples that
should come from the feature's domain, e.g.:
1.0 => All values must come from the domain.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DistributionConstraints.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DistributionConstraints.Builder |
mergeFrom(DistributionConstraints other) |
DistributionConstraints.Builder |
mergeFrom(com.google.protobuf.Message other) |
DistributionConstraints.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DistributionConstraints.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DistributionConstraints.Builder |
setMinDomainMass(double value)
The minimum fraction (in [0,1]) of values across all examples that
should come from the feature's domain, e.g.:
1.0 => All values must come from the domain.
|
DistributionConstraints.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DistributionConstraints.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public DistributionConstraints.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public DistributionConstraints getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DistributionConstraints build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DistributionConstraints buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DistributionConstraints.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public DistributionConstraints.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public DistributionConstraints.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public DistributionConstraints.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public DistributionConstraints.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public DistributionConstraints.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public DistributionConstraints.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DistributionConstraints.Builder>public DistributionConstraints.Builder mergeFrom(DistributionConstraints other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public DistributionConstraints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DistributionConstraints.Builder>IOExceptionpublic boolean hasMinDomainMass()
The minimum fraction (in [0,1]) of values across all examples that
should come from the feature's domain, e.g.:
1.0 => All values must come from the domain.
.9 => At least 90% of the values must come from the domain.
optional double min_domain_mass = 1 [default = 1];hasMinDomainMass in interface DistributionConstraintsOrBuilderpublic double getMinDomainMass()
The minimum fraction (in [0,1]) of values across all examples that
should come from the feature's domain, e.g.:
1.0 => All values must come from the domain.
.9 => At least 90% of the values must come from the domain.
optional double min_domain_mass = 1 [default = 1];getMinDomainMass in interface DistributionConstraintsOrBuilderpublic DistributionConstraints.Builder setMinDomainMass(double value)
The minimum fraction (in [0,1]) of values across all examples that
should come from the feature's domain, e.g.:
1.0 => All values must come from the domain.
.9 => At least 90% of the values must come from the domain.
optional double min_domain_mass = 1 [default = 1];value - The minDomainMass to set.public DistributionConstraints.Builder clearMinDomainMass()
The minimum fraction (in [0,1]) of values across all examples that
should come from the feature's domain, e.g.:
1.0 => All values must come from the domain.
.9 => At least 90% of the values must come from the domain.
optional double min_domain_mass = 1 [default = 1];public final DistributionConstraints.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>public final DistributionConstraints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DistributionConstraints.Builder>Copyright © 2020 Gojek. All rights reserved.