public interface
StructuredValueOrBuilder
Known Indirect Subclasses |
Public Methods
abstract boolean |
getBoolValue()
Represents a boolean value. |
abstract BoundedTensorSpecProto |
getBoundedTensorSpecValue()
Represents a value for tf.BoundedTensorSpec. |
abstract BoundedTensorSpecProtoOrBuilder |
getBoundedTensorSpecValueOrBuilder()
Represents a value for tf.BoundedTensorSpec. |
abstract DictValue |
getDictValue()
Represents a dict `Value`. |
abstract DictValueOrBuilder |
getDictValueOrBuilder()
Represents a dict `Value`. |
abstract double |
getFloat64Value()
Represents a double-precision floating-point value (a Python `float`). |
abstract long |
getInt64Value()
Represents a signed integer value, limited to 64 bits. |
abstract StructuredValue.KindCase | |
abstract ListValue |
getListValue()
Represents a list of `Value`. |
abstract ListValueOrBuilder |
getListValueOrBuilder()
Represents a list of `Value`. |
abstract NamedTupleValue |
getNamedTupleValue()
Represents Python's namedtuple. |
abstract NamedTupleValueOrBuilder |
getNamedTupleValueOrBuilder()
Represents Python's namedtuple. |
abstract NoneValue |
getNoneValue()
Represents None. |
abstract NoneValueOrBuilder |
getNoneValueOrBuilder()
Represents None. |
abstract String |
getStringValue()
Represents a string of Unicode characters stored in a Python `str`. |
abstract com.google.protobuf.ByteString |
getStringValueBytes()
Represents a string of Unicode characters stored in a Python `str`. |
abstract DataType |
getTensorDtypeValue()
Represents an enum value for dtype. |
abstract int |
getTensorDtypeValueValue()
Represents an enum value for dtype. |
abstract TensorShapeProto |
getTensorShapeValue()
Represents a TensorShape. |
abstract TensorShapeProtoOrBuilder |
getTensorShapeValueOrBuilder()
Represents a TensorShape. |
abstract TensorSpecProto |
getTensorSpecValue()
Represents a value for tf.TensorSpec. |
abstract TensorSpecProtoOrBuilder |
getTensorSpecValueOrBuilder()
Represents a value for tf.TensorSpec. |
abstract TupleValue |
getTupleValue()
Represents a tuple of `Value`. |
abstract TupleValueOrBuilder |
getTupleValueOrBuilder()
Represents a tuple of `Value`. |
abstract TypeSpecProto |
getTypeSpecValue()
Represents a value for tf.TypeSpec. |
abstract TypeSpecProtoOrBuilder |
getTypeSpecValueOrBuilder()
Represents a value for tf.TypeSpec. |
abstract boolean |
hasBoundedTensorSpecValue()
Represents a value for tf.BoundedTensorSpec. |
abstract boolean |
hasDictValue()
Represents a dict `Value`. |
abstract boolean |
hasListValue()
Represents a list of `Value`. |
abstract boolean |
hasNamedTupleValue()
Represents Python's namedtuple. |
abstract boolean |
hasNoneValue()
Represents None. |
abstract boolean |
hasTensorShapeValue()
Represents a TensorShape. |
abstract boolean |
hasTensorSpecValue()
Represents a value for tf.TensorSpec. |
abstract boolean |
hasTupleValue()
Represents a tuple of `Value`. |
abstract boolean |
hasTypeSpecValue()
Represents a value for tf.TypeSpec. |
Public Methods
public abstract boolean getBoolValue ()
Represents a boolean value.
bool bool_value = 14;
public abstract BoundedTensorSpecProto getBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public abstract BoundedTensorSpecProtoOrBuilder getBoundedTensorSpecValueOrBuilder ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public abstract DictValue getDictValue ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public abstract DictValueOrBuilder getDictValueOrBuilder ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public abstract double getFloat64Value ()
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
public abstract long getInt64Value ()
Represents a signed integer value, limited to 64 bits. Larger values from Python's arbitrary-precision integers are unsupported.
sint64 int64_value = 12;
public abstract ListValue getListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public abstract ListValueOrBuilder getListValueOrBuilder ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public abstract NamedTupleValue getNamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public abstract NamedTupleValueOrBuilder getNamedTupleValueOrBuilder ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public abstract NoneValueOrBuilder getNoneValueOrBuilder ()
Represents None.
.tensorflow.NoneValue none_value = 1;
public abstract String getStringValue ()
Represents a string of Unicode characters stored in a Python `str`. In Python 3, this is exactly what type `str` is. In Python 2, this is the UTF-8 encoding of the characters. For strings with ASCII characters only (as often used in TensorFlow code) there is effectively no difference between the language versions. The obsolescent `unicode` type of Python 2 is not supported here.
string string_value = 13;
public abstract com.google.protobuf.ByteString getStringValueBytes ()
Represents a string of Unicode characters stored in a Python `str`. In Python 3, this is exactly what type `str` is. In Python 2, this is the UTF-8 encoding of the characters. For strings with ASCII characters only (as often used in TensorFlow code) there is effectively no difference between the language versions. The obsolescent `unicode` type of Python 2 is not supported here.
string string_value = 13;
public abstract DataType getTensorDtypeValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
public abstract int getTensorDtypeValueValue ()
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;
public abstract TensorShapeProto getTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public abstract TensorShapeProtoOrBuilder getTensorShapeValueOrBuilder ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public abstract TensorSpecProto getTensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public abstract TensorSpecProtoOrBuilder getTensorSpecValueOrBuilder ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public abstract TupleValue getTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public abstract TupleValueOrBuilder getTupleValueOrBuilder ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public abstract TypeSpecProto getTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public abstract TypeSpecProtoOrBuilder getTypeSpecValueOrBuilder ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;
public abstract boolean hasBoundedTensorSpecValue ()
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
public abstract boolean hasDictValue ()
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;
public abstract boolean hasListValue ()
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;
public abstract boolean hasNamedTupleValue ()
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;
public abstract boolean hasNoneValue ()
Represents None.
.tensorflow.NoneValue none_value = 1;
public abstract boolean hasTensorShapeValue ()
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;
public abstract boolean hasTensorSpecValue ()
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;
public abstract boolean hasTupleValue ()
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;
public abstract boolean hasTypeSpecValue ()
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;