Package org.tensorflow.metadata.v0
Interface IntDomainOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IntDomain,IntDomain.Builder
public interface IntDomainOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetIsCategorical()If true then the domain encodes categorical values (i.e., ids) rather than ordinal values.longgetMax()optional int64 max = 4;longgetMin()Min and max values for the domain.StringgetName()Id of the domain.com.google.protobuf.ByteStringgetNameBytes()Id of the domain.booleanhasIsCategorical()If true then the domain encodes categorical values (i.e., ids) rather than ordinal values.booleanhasMax()optional int64 max = 4;booleanhasMin()Min and max values for the domain.booleanhasName()Id of the domain.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
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;- Returns:
- Whether the name field is set.
-
getName
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;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
hasMin
boolean hasMin()
Min and max values for the domain.
optional int64 min = 3;- Returns:
- Whether the min field is set.
-
getMin
long getMin()
Min and max values for the domain.
optional int64 min = 3;- Returns:
- The min.
-
hasMax
boolean hasMax()
optional int64 max = 4;- Returns:
- Whether the max field is set.
-
getMax
long getMax()
optional int64 max = 4;- Returns:
- The max.
-
hasIsCategorical
boolean hasIsCategorical()
If true then the domain encodes categorical values (i.e., ids) rather than ordinal values.
optional bool is_categorical = 5;- Returns:
- Whether the isCategorical field is set.
-
getIsCategorical
boolean getIsCategorical()
If true then the domain encodes categorical values (i.e., ids) rather than ordinal values.
optional bool is_categorical = 5;- Returns:
- The isCategorical.
-
-