public static final class IntDomain.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IntDomain.Builder> implements IntDomainOrBuilder
Encodes information for domains of integer values. Note that FeatureType could be either INT or BYTES.Protobuf type
tensorflow.metadata.v0.IntDomain| Modifier and Type | Method and Description |
|---|---|
IntDomain.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IntDomain |
build() |
IntDomain |
buildPartial() |
IntDomain.Builder |
clear() |
IntDomain.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
IntDomain.Builder |
clearIsCategorical()
If true then the domain encodes categorical values (i.e., ids) rather than
ordinal values.
|
IntDomain.Builder |
clearMax()
optional int64 max = 4; |
IntDomain.Builder |
clearMin()
Min and max values for the domain.
|
IntDomain.Builder |
clearName()
Id of the domain.
|
IntDomain.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
IntDomain.Builder |
clone() |
IntDomain |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIsCategorical()
If true then the domain encodes categorical values (i.e., ids) rather than
ordinal values.
|
long |
getMax()
optional int64 max = 4; |
long |
getMin()
Min and max values for the domain.
|
String |
getName()
Id of the domain.
|
com.google.protobuf.ByteString |
getNameBytes()
Id of the domain.
|
boolean |
hasIsCategorical()
If true then the domain encodes categorical values (i.e., ids) rather than
ordinal values.
|
boolean |
hasMax()
optional int64 max = 4; |
boolean |
hasMin()
Min and max values for the domain.
|
boolean |
hasName()
Id of the domain.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
IntDomain.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
IntDomain.Builder |
mergeFrom(IntDomain other) |
IntDomain.Builder |
mergeFrom(com.google.protobuf.Message other) |
IntDomain.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
IntDomain.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IntDomain.Builder |
setIsCategorical(boolean value)
If true then the domain encodes categorical values (i.e., ids) rather than
ordinal values.
|
IntDomain.Builder |
setMax(long value)
optional int64 max = 4; |
IntDomain.Builder |
setMin(long value)
Min and max values for the domain.
|
IntDomain.Builder |
setName(String value)
Id of the domain.
|
IntDomain.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Id of the domain.
|
IntDomain.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
IntDomain.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<IntDomain.Builder>public IntDomain.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<IntDomain.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<IntDomain.Builder>public IntDomain getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IntDomain build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IntDomain buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IntDomain.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<IntDomain.Builder>public IntDomain.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<IntDomain.Builder>public IntDomain.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<IntDomain.Builder>public IntDomain.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IntDomain.Builder>public IntDomain.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<IntDomain.Builder>public IntDomain.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<IntDomain.Builder>public IntDomain.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IntDomain.Builder>public IntDomain.Builder mergeFrom(IntDomain other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IntDomain.Builder>public IntDomain.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<IntDomain.Builder>IOExceptionpublic boolean hasName()
Id of the domain. Required if the domain is defined at the schema level. If so, then the name must be unique within the schema.
optional string name = 1;hasName in interface IntDomainOrBuilderpublic String getName()
Id of the domain. Required if the domain is defined at the schema level. If so, then the name must be unique within the schema.
optional string name = 1;getName in interface IntDomainOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Id of the domain. Required if the domain is defined at the schema level. If so, then the name must be unique within the schema.
optional string name = 1;getNameBytes in interface IntDomainOrBuilderpublic IntDomain.Builder setName(String value)
Id of the domain. Required if the domain is defined at the schema level. If so, then the name must be unique within the schema.
optional string name = 1;value - The name to set.public IntDomain.Builder clearName()
Id of the domain. Required if the domain is defined at the schema level. If so, then the name must be unique within the schema.
optional string name = 1;public IntDomain.Builder setNameBytes(com.google.protobuf.ByteString value)
Id of the domain. Required if the domain is defined at the schema level. If so, then the name must be unique within the schema.
optional string name = 1;value - The bytes for name to set.public boolean hasMin()
Min and max values for the domain.
optional int64 min = 3;hasMin in interface IntDomainOrBuilderpublic long getMin()
Min and max values for the domain.
optional int64 min = 3;getMin in interface IntDomainOrBuilderpublic IntDomain.Builder setMin(long value)
Min and max values for the domain.
optional int64 min = 3;value - The min to set.public IntDomain.Builder clearMin()
Min and max values for the domain.
optional int64 min = 3;public boolean hasMax()
optional int64 max = 4;hasMax in interface IntDomainOrBuilderpublic long getMax()
optional int64 max = 4;getMax in interface IntDomainOrBuilderpublic IntDomain.Builder setMax(long value)
optional int64 max = 4;value - The max to set.public IntDomain.Builder clearMax()
optional int64 max = 4;public boolean hasIsCategorical()
If true then the domain encodes categorical values (i.e., ids) rather than ordinal values.
optional bool is_categorical = 5;hasIsCategorical in interface IntDomainOrBuilderpublic boolean getIsCategorical()
If true then the domain encodes categorical values (i.e., ids) rather than ordinal values.
optional bool is_categorical = 5;getIsCategorical in interface IntDomainOrBuilderpublic IntDomain.Builder setIsCategorical(boolean value)
If true then the domain encodes categorical values (i.e., ids) rather than ordinal values.
optional bool is_categorical = 5;value - The isCategorical to set.public IntDomain.Builder clearIsCategorical()
If true then the domain encodes categorical values (i.e., ids) rather than ordinal values.
optional bool is_categorical = 5;public final IntDomain.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IntDomain.Builder>public final IntDomain.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IntDomain.Builder>Copyright © 2020 Gojek. All rights reserved.