Package org.tensorflow.metadata.v0
Interface TensorRepresentation.DefaultValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TensorRepresentation.DefaultValue,TensorRepresentation.DefaultValue.Builder
- Enclosing class:
- TensorRepresentation
public static interface TensorRepresentation.DefaultValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetBytesValue()optional bytes bytes_value = 3;doublegetFloatValue()optional double float_value = 1;longgetIntValue()Note that the data column might be of a shorter integral type.TensorRepresentation.DefaultValue.KindCasegetKindCase()longgetUintValue()uint_value should only be used if the default value can't fit in a int64 (`int_value`).booleanhasBytesValue()optional bytes bytes_value = 3;booleanhasFloatValue()optional double float_value = 1;booleanhasIntValue()Note that the data column might be of a shorter integral type.booleanhasUintValue()uint_value should only be used if the default value can't fit in a int64 (`int_value`).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFloatValue
boolean hasFloatValue()
optional double float_value = 1;- Returns:
- Whether the floatValue field is set.
-
getFloatValue
double getFloatValue()
optional double float_value = 1;- Returns:
- The floatValue.
-
hasIntValue
boolean hasIntValue()
Note that the data column might be of a shorter integral type. It's the user's responsitiblity to make sure the default value fits that type.
optional int64 int_value = 2;- Returns:
- Whether the intValue field is set.
-
getIntValue
long getIntValue()
Note that the data column might be of a shorter integral type. It's the user's responsitiblity to make sure the default value fits that type.
optional int64 int_value = 2;- Returns:
- The intValue.
-
hasBytesValue
boolean hasBytesValue()
optional bytes bytes_value = 3;- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
com.google.protobuf.ByteString getBytesValue()
optional bytes bytes_value = 3;- Returns:
- The bytesValue.
-
hasUintValue
boolean hasUintValue()
uint_value should only be used if the default value can't fit in a int64 (`int_value`).
optional uint64 uint_value = 4;- Returns:
- Whether the uintValue field is set.
-
getUintValue
long getUintValue()
uint_value should only be used if the default value can't fit in a int64 (`int_value`).
optional uint64 uint_value = 4;- Returns:
- The uintValue.
-
getKindCase
TensorRepresentation.DefaultValue.KindCase getKindCase()
-
-