public static final class FloatDomain.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FloatDomain.Builder> implements FloatDomainOrBuilder
Encodes information for domains of float values. Note that FeatureType could be either INT or BYTES.Protobuf type
tensorflow.metadata.v0.FloatDomain| Modifier and Type | Method and Description |
|---|---|
FloatDomain.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FloatDomain |
build() |
FloatDomain |
buildPartial() |
FloatDomain.Builder |
clear() |
FloatDomain.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FloatDomain.Builder |
clearMax()
optional float max = 4; |
FloatDomain.Builder |
clearMin()
Min and max values of the domain.
|
FloatDomain.Builder |
clearName()
Id of the domain.
|
FloatDomain.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FloatDomain.Builder |
clone() |
FloatDomain |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
float |
getMax()
optional float max = 4; |
float |
getMin()
Min and max values of the domain.
|
String |
getName()
Id of the domain.
|
com.google.protobuf.ByteString |
getNameBytes()
Id of the domain.
|
boolean |
hasMax()
optional float max = 4; |
boolean |
hasMin()
Min and max values of the domain.
|
boolean |
hasName()
Id of the domain.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FloatDomain.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FloatDomain.Builder |
mergeFrom(FloatDomain other) |
FloatDomain.Builder |
mergeFrom(com.google.protobuf.Message other) |
FloatDomain.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FloatDomain.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FloatDomain.Builder |
setMax(float value)
optional float max = 4; |
FloatDomain.Builder |
setMin(float value)
Min and max values of the domain.
|
FloatDomain.Builder |
setName(String value)
Id of the domain.
|
FloatDomain.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Id of the domain.
|
FloatDomain.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FloatDomain.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<FloatDomain.Builder>public FloatDomain.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FloatDomain.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<FloatDomain.Builder>public FloatDomain getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FloatDomain build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FloatDomain buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FloatDomain.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FloatDomain.Builder>public FloatDomain.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<FloatDomain.Builder>public FloatDomain.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FloatDomain.Builder>public FloatDomain.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FloatDomain.Builder>public FloatDomain.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<FloatDomain.Builder>public FloatDomain.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<FloatDomain.Builder>public FloatDomain.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FloatDomain.Builder>public FloatDomain.Builder mergeFrom(FloatDomain other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FloatDomain.Builder>public FloatDomain.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<FloatDomain.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 FloatDomainOrBuilderpublic 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 FloatDomainOrBuilderpublic 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 FloatDomainOrBuilderpublic FloatDomain.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 FloatDomain.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 FloatDomain.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 of the domain.
optional float min = 3;hasMin in interface FloatDomainOrBuilderpublic float getMin()
Min and max values of the domain.
optional float min = 3;getMin in interface FloatDomainOrBuilderpublic FloatDomain.Builder setMin(float value)
Min and max values of the domain.
optional float min = 3;value - The min to set.public FloatDomain.Builder clearMin()
Min and max values of the domain.
optional float min = 3;public boolean hasMax()
optional float max = 4;hasMax in interface FloatDomainOrBuilderpublic float getMax()
optional float max = 4;getMax in interface FloatDomainOrBuilderpublic FloatDomain.Builder setMax(float value)
optional float max = 4;value - The max to set.public FloatDomain.Builder clearMax()
optional float max = 4;public final FloatDomain.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FloatDomain.Builder>public final FloatDomain.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FloatDomain.Builder>Copyright © 2020 Gojek. All rights reserved.