Interface Struct.StructuredValueOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
Struct.StructuredValue, Struct.StructuredValue.Builder
Enclosing class:
Struct

public static interface Struct.StructuredValueOrBuilder extends MessageOrBuilder
  • Method Details

    • hasNoneValue

      boolean hasNoneValue()
      Represents None.
      
      .tensorflow.NoneValue none_value = 1;
      Returns:
      Whether the noneValue field is set.
    • getNoneValue

      Struct.NoneValue getNoneValue()
      Represents None.
      
      .tensorflow.NoneValue none_value = 1;
      Returns:
      The noneValue.
    • getNoneValueOrBuilder

      Struct.NoneValueOrBuilder getNoneValueOrBuilder()
      Represents None.
      
      .tensorflow.NoneValue none_value = 1;
    • hasFloat64Value

      boolean hasFloat64Value()
      Represents a double-precision floating-point value (a Python `float`).
      
      double float64_value = 11;
      Returns:
      Whether the float64Value field is set.
    • getFloat64Value

      double getFloat64Value()
      Represents a double-precision floating-point value (a Python `float`).
      
      double float64_value = 11;
      Returns:
      The float64Value.
    • hasInt64Value

      boolean hasInt64Value()
      Represents a signed integer value, limited to 64 bits.
      Larger values from Python's arbitrary-precision integers are unsupported.
      
      sint64 int64_value = 12;
      Returns:
      Whether the int64Value field is set.
    • getInt64Value

      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;
      Returns:
      The int64Value.
    • hasStringValue

      boolean hasStringValue()
      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;
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      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;
      Returns:
      The stringValue.
    • getStringValueBytes

      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;
      Returns:
      The bytes for stringValue.
    • hasBoolValue

      boolean hasBoolValue()
      Represents a boolean value.
      
      bool bool_value = 14;
      Returns:
      Whether the boolValue field is set.
    • getBoolValue

      boolean getBoolValue()
      Represents a boolean value.
      
      bool bool_value = 14;
      Returns:
      The boolValue.
    • hasTensorShapeValue

      boolean hasTensorShapeValue()
      Represents a TensorShape.
      
      .tensorflow.TensorShapeProto tensor_shape_value = 31;
      Returns:
      Whether the tensorShapeValue field is set.
    • getTensorShapeValue

      TensorShapeProto getTensorShapeValue()
      Represents a TensorShape.
      
      .tensorflow.TensorShapeProto tensor_shape_value = 31;
      Returns:
      The tensorShapeValue.
    • getTensorShapeValueOrBuilder

      TensorShapeProtoOrBuilder getTensorShapeValueOrBuilder()
      Represents a TensorShape.
      
      .tensorflow.TensorShapeProto tensor_shape_value = 31;
    • hasTensorDtypeValue

      boolean hasTensorDtypeValue()
      Represents an enum value for dtype.
      
      .tensorflow.DataType tensor_dtype_value = 32;
      Returns:
      Whether the tensorDtypeValue field is set.
    • getTensorDtypeValueValue

      int getTensorDtypeValueValue()
      Represents an enum value for dtype.
      
      .tensorflow.DataType tensor_dtype_value = 32;
      Returns:
      The enum numeric value on the wire for tensorDtypeValue.
    • getTensorDtypeValue

      DataType getTensorDtypeValue()
      Represents an enum value for dtype.
      
      .tensorflow.DataType tensor_dtype_value = 32;
      Returns:
      The tensorDtypeValue.
    • hasTensorSpecValue

      boolean hasTensorSpecValue()
      Represents a value for tf.TensorSpec.
      
      .tensorflow.TensorSpecProto tensor_spec_value = 33;
      Returns:
      Whether the tensorSpecValue field is set.
    • getTensorSpecValue

      Struct.TensorSpecProto getTensorSpecValue()
      Represents a value for tf.TensorSpec.
      
      .tensorflow.TensorSpecProto tensor_spec_value = 33;
      Returns:
      The tensorSpecValue.
    • getTensorSpecValueOrBuilder

      Struct.TensorSpecProtoOrBuilder getTensorSpecValueOrBuilder()
      Represents a value for tf.TensorSpec.
      
      .tensorflow.TensorSpecProto tensor_spec_value = 33;
    • hasTypeSpecValue

      boolean hasTypeSpecValue()
      Represents a value for tf.TypeSpec.
      
      .tensorflow.TypeSpecProto type_spec_value = 34;
      Returns:
      Whether the typeSpecValue field is set.
    • getTypeSpecValue

      Struct.TypeSpecProto getTypeSpecValue()
      Represents a value for tf.TypeSpec.
      
      .tensorflow.TypeSpecProto type_spec_value = 34;
      Returns:
      The typeSpecValue.
    • getTypeSpecValueOrBuilder

      Struct.TypeSpecProtoOrBuilder getTypeSpecValueOrBuilder()
      Represents a value for tf.TypeSpec.
      
      .tensorflow.TypeSpecProto type_spec_value = 34;
    • hasBoundedTensorSpecValue

      boolean hasBoundedTensorSpecValue()
      Represents a value for tf.BoundedTensorSpec.
      
      .tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
      Returns:
      Whether the boundedTensorSpecValue field is set.
    • getBoundedTensorSpecValue

      Struct.BoundedTensorSpecProto getBoundedTensorSpecValue()
      Represents a value for tf.BoundedTensorSpec.
      
      .tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
      Returns:
      The boundedTensorSpecValue.
    • getBoundedTensorSpecValueOrBuilder

      Struct.BoundedTensorSpecProtoOrBuilder getBoundedTensorSpecValueOrBuilder()
      Represents a value for tf.BoundedTensorSpec.
      
      .tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
    • hasListValue

      boolean hasListValue()
      Represents a list of `Value`.
      
      .tensorflow.ListValue list_value = 51;
      Returns:
      Whether the listValue field is set.
    • getListValue

      Struct.ListValue getListValue()
      Represents a list of `Value`.
      
      .tensorflow.ListValue list_value = 51;
      Returns:
      The listValue.
    • getListValueOrBuilder

      Struct.ListValueOrBuilder getListValueOrBuilder()
      Represents a list of `Value`.
      
      .tensorflow.ListValue list_value = 51;
    • hasTupleValue

      boolean hasTupleValue()
      Represents a tuple of `Value`.
      
      .tensorflow.TupleValue tuple_value = 52;
      Returns:
      Whether the tupleValue field is set.
    • getTupleValue

      Struct.TupleValue getTupleValue()
      Represents a tuple of `Value`.
      
      .tensorflow.TupleValue tuple_value = 52;
      Returns:
      The tupleValue.
    • getTupleValueOrBuilder

      Struct.TupleValueOrBuilder getTupleValueOrBuilder()
      Represents a tuple of `Value`.
      
      .tensorflow.TupleValue tuple_value = 52;
    • hasDictValue

      boolean hasDictValue()
      Represents a dict `Value`.
      
      .tensorflow.DictValue dict_value = 53;
      Returns:
      Whether the dictValue field is set.
    • getDictValue

      Struct.DictValue getDictValue()
      Represents a dict `Value`.
      
      .tensorflow.DictValue dict_value = 53;
      Returns:
      The dictValue.
    • getDictValueOrBuilder

      Struct.DictValueOrBuilder getDictValueOrBuilder()
      Represents a dict `Value`.
      
      .tensorflow.DictValue dict_value = 53;
    • hasNamedTupleValue

      boolean hasNamedTupleValue()
      Represents Python's namedtuple.
      
      .tensorflow.NamedTupleValue named_tuple_value = 54;
      Returns:
      Whether the namedTupleValue field is set.
    • getNamedTupleValue

      Struct.NamedTupleValue getNamedTupleValue()
      Represents Python's namedtuple.
      
      .tensorflow.NamedTupleValue named_tuple_value = 54;
      Returns:
      The namedTupleValue.
    • getNamedTupleValueOrBuilder

      Struct.NamedTupleValueOrBuilder getNamedTupleValueOrBuilder()
      Represents Python's namedtuple.
      
      .tensorflow.NamedTupleValue named_tuple_value = 54;
    • hasTensorValue

      boolean hasTensorValue()
      Represents a value for tf.Tensor.
      
      .tensorflow.TensorProto tensor_value = 55;
      Returns:
      Whether the tensorValue field is set.
    • getTensorValue

      TensorProto getTensorValue()
      Represents a value for tf.Tensor.
      
      .tensorflow.TensorProto tensor_value = 55;
      Returns:
      The tensorValue.
    • getTensorValueOrBuilder

      TensorProtoOrBuilder getTensorValueOrBuilder()
      Represents a value for tf.Tensor.
      
      .tensorflow.TensorProto tensor_value = 55;
    • hasNumpyValue

      boolean hasNumpyValue()
      Represents a value for np.ndarray.
      
      .tensorflow.TensorProto numpy_value = 56;
      Returns:
      Whether the numpyValue field is set.
    • getNumpyValue

      TensorProto getNumpyValue()
      Represents a value for np.ndarray.
      
      .tensorflow.TensorProto numpy_value = 56;
      Returns:
      The numpyValue.
    • getNumpyValueOrBuilder

      TensorProtoOrBuilder getNumpyValueOrBuilder()
      Represents a value for np.ndarray.
      
      .tensorflow.TensorProto numpy_value = 56;
    • getKindCase