Package org.platanios.tensorflow.proto
Interface Struct.StructuredValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Struct.StructuredValue
,Struct.StructuredValue.Builder
- Enclosing class:
- Struct
public static interface Struct.StructuredValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getBoolValue()
Represents a boolean value.Struct.BoundedTensorSpecProto
getBoundedTensorSpecValue()
Represents a value for tf.BoundedTensorSpec.Struct.BoundedTensorSpecProtoOrBuilder
getBoundedTensorSpecValueOrBuilder()
Represents a value for tf.BoundedTensorSpec.Struct.DictValue
getDictValue()
Represents a dict `Value`.Struct.DictValueOrBuilder
getDictValueOrBuilder()
Represents a dict `Value`.double
getFloat64Value()
Represents a double-precision floating-point value (a Python `float`).long
getInt64Value()
Represents a signed integer value, limited to 64 bits.Struct.StructuredValue.KindCase
getKindCase()
Struct.ListValue
getListValue()
Represents a list of `Value`.Struct.ListValueOrBuilder
getListValueOrBuilder()
Represents a list of `Value`.Struct.NamedTupleValue
getNamedTupleValue()
Represents Python's namedtuple.Struct.NamedTupleValueOrBuilder
getNamedTupleValueOrBuilder()
Represents Python's namedtuple.Struct.NoneValue
getNoneValue()
Represents None.Struct.NoneValueOrBuilder
getNoneValueOrBuilder()
Represents None.java.lang.String
getStringValue()
Represents a string of Unicode characters stored in a Python `str`.com.google.protobuf.ByteString
getStringValueBytes()
Represents a string of Unicode characters stored in a Python `str`.DataType
getTensorDtypeValue()
Represents an enum value for dtype.int
getTensorDtypeValueValue()
Represents an enum value for dtype.TensorShapeProto
getTensorShapeValue()
Represents a TensorShape.TensorShapeProtoOrBuilder
getTensorShapeValueOrBuilder()
Represents a TensorShape.Struct.TensorSpecProto
getTensorSpecValue()
Represents a value for tf.TensorSpec.Struct.TensorSpecProtoOrBuilder
getTensorSpecValueOrBuilder()
Represents a value for tf.TensorSpec.Struct.TupleValue
getTupleValue()
Represents a tuple of `Value`.Struct.TupleValueOrBuilder
getTupleValueOrBuilder()
Represents a tuple of `Value`.Struct.TypeSpecProto
getTypeSpecValue()
Represents a value for tf.TypeSpec.Struct.TypeSpecProtoOrBuilder
getTypeSpecValueOrBuilder()
Represents a value for tf.TypeSpec.boolean
hasBoundedTensorSpecValue()
Represents a value for tf.BoundedTensorSpec.boolean
hasDictValue()
Represents a dict `Value`.boolean
hasListValue()
Represents a list of `Value`.boolean
hasNamedTupleValue()
Represents Python's namedtuple.boolean
hasNoneValue()
Represents None.boolean
hasTensorShapeValue()
Represents a TensorShape.boolean
hasTensorSpecValue()
Represents a value for tf.TensorSpec.boolean
hasTupleValue()
Represents a tuple of `Value`.boolean
hasTypeSpecValue()
Represents a value for tf.TypeSpec.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasNoneValue
boolean hasNoneValue()
Represents None.
.org.platanios.tensorflow.proto.NoneValue none_value = 1;
- Returns:
- Whether the noneValue field is set.
-
getNoneValue
Struct.NoneValue getNoneValue()
Represents None.
.org.platanios.tensorflow.proto.NoneValue none_value = 1;
- Returns:
- The noneValue.
-
getNoneValueOrBuilder
Struct.NoneValueOrBuilder getNoneValueOrBuilder()
Represents None.
.org.platanios.tensorflow.proto.NoneValue none_value = 1;
-
getFloat64Value
double getFloat64Value()
Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;
- Returns:
- The float64Value.
-
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.
-
getStringValue
java.lang.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
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;
- Returns:
- The bytes for stringValue.
-
getBoolValue
boolean getBoolValue()
Represents a boolean value.
bool bool_value = 14;
- Returns:
- The boolValue.
-
hasTensorShapeValue
boolean hasTensorShapeValue()
Represents a TensorShape.
.org.platanios.tensorflow.proto.TensorShapeProto tensor_shape_value = 31;
- Returns:
- Whether the tensorShapeValue field is set.
-
getTensorShapeValue
TensorShapeProto getTensorShapeValue()
Represents a TensorShape.
.org.platanios.tensorflow.proto.TensorShapeProto tensor_shape_value = 31;
- Returns:
- The tensorShapeValue.
-
getTensorShapeValueOrBuilder
TensorShapeProtoOrBuilder getTensorShapeValueOrBuilder()
Represents a TensorShape.
.org.platanios.tensorflow.proto.TensorShapeProto tensor_shape_value = 31;
-
getTensorDtypeValueValue
int getTensorDtypeValueValue()
Represents an enum value for dtype.
.org.platanios.tensorflow.proto.DataType tensor_dtype_value = 32;
- Returns:
- The enum numeric value on the wire for tensorDtypeValue.
-
getTensorDtypeValue
DataType getTensorDtypeValue()
Represents an enum value for dtype.
.org.platanios.tensorflow.proto.DataType tensor_dtype_value = 32;
- Returns:
- The tensorDtypeValue.
-
hasTensorSpecValue
boolean hasTensorSpecValue()
Represents a value for tf.TensorSpec.
.org.platanios.tensorflow.proto.TensorSpecProto tensor_spec_value = 33;
- Returns:
- Whether the tensorSpecValue field is set.
-
getTensorSpecValue
Struct.TensorSpecProto getTensorSpecValue()
Represents a value for tf.TensorSpec.
.org.platanios.tensorflow.proto.TensorSpecProto tensor_spec_value = 33;
- Returns:
- The tensorSpecValue.
-
getTensorSpecValueOrBuilder
Struct.TensorSpecProtoOrBuilder getTensorSpecValueOrBuilder()
Represents a value for tf.TensorSpec.
.org.platanios.tensorflow.proto.TensorSpecProto tensor_spec_value = 33;
-
hasTypeSpecValue
boolean hasTypeSpecValue()
Represents a value for tf.TypeSpec.
.org.platanios.tensorflow.proto.TypeSpecProto type_spec_value = 34;
- Returns:
- Whether the typeSpecValue field is set.
-
getTypeSpecValue
Struct.TypeSpecProto getTypeSpecValue()
Represents a value for tf.TypeSpec.
.org.platanios.tensorflow.proto.TypeSpecProto type_spec_value = 34;
- Returns:
- The typeSpecValue.
-
getTypeSpecValueOrBuilder
Struct.TypeSpecProtoOrBuilder getTypeSpecValueOrBuilder()
Represents a value for tf.TypeSpec.
.org.platanios.tensorflow.proto.TypeSpecProto type_spec_value = 34;
-
hasBoundedTensorSpecValue
boolean hasBoundedTensorSpecValue()
Represents a value for tf.BoundedTensorSpec.
.org.platanios.tensorflow.proto.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
- Returns:
- Whether the boundedTensorSpecValue field is set.
-
getBoundedTensorSpecValue
Struct.BoundedTensorSpecProto getBoundedTensorSpecValue()
Represents a value for tf.BoundedTensorSpec.
.org.platanios.tensorflow.proto.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
- Returns:
- The boundedTensorSpecValue.
-
getBoundedTensorSpecValueOrBuilder
Struct.BoundedTensorSpecProtoOrBuilder getBoundedTensorSpecValueOrBuilder()
Represents a value for tf.BoundedTensorSpec.
.org.platanios.tensorflow.proto.BoundedTensorSpecProto bounded_tensor_spec_value = 35;
-
hasListValue
boolean hasListValue()
Represents a list of `Value`.
.org.platanios.tensorflow.proto.ListValue list_value = 51;
- Returns:
- Whether the listValue field is set.
-
getListValue
Struct.ListValue getListValue()
Represents a list of `Value`.
.org.platanios.tensorflow.proto.ListValue list_value = 51;
- Returns:
- The listValue.
-
getListValueOrBuilder
Struct.ListValueOrBuilder getListValueOrBuilder()
Represents a list of `Value`.
.org.platanios.tensorflow.proto.ListValue list_value = 51;
-
hasTupleValue
boolean hasTupleValue()
Represents a tuple of `Value`.
.org.platanios.tensorflow.proto.TupleValue tuple_value = 52;
- Returns:
- Whether the tupleValue field is set.
-
getTupleValue
Struct.TupleValue getTupleValue()
Represents a tuple of `Value`.
.org.platanios.tensorflow.proto.TupleValue tuple_value = 52;
- Returns:
- The tupleValue.
-
getTupleValueOrBuilder
Struct.TupleValueOrBuilder getTupleValueOrBuilder()
Represents a tuple of `Value`.
.org.platanios.tensorflow.proto.TupleValue tuple_value = 52;
-
hasDictValue
boolean hasDictValue()
Represents a dict `Value`.
.org.platanios.tensorflow.proto.DictValue dict_value = 53;
- Returns:
- Whether the dictValue field is set.
-
getDictValue
Struct.DictValue getDictValue()
Represents a dict `Value`.
.org.platanios.tensorflow.proto.DictValue dict_value = 53;
- Returns:
- The dictValue.
-
getDictValueOrBuilder
Struct.DictValueOrBuilder getDictValueOrBuilder()
Represents a dict `Value`.
.org.platanios.tensorflow.proto.DictValue dict_value = 53;
-
hasNamedTupleValue
boolean hasNamedTupleValue()
Represents Python's namedtuple.
.org.platanios.tensorflow.proto.NamedTupleValue named_tuple_value = 54;
- Returns:
- Whether the namedTupleValue field is set.
-
getNamedTupleValue
Struct.NamedTupleValue getNamedTupleValue()
Represents Python's namedtuple.
.org.platanios.tensorflow.proto.NamedTupleValue named_tuple_value = 54;
- Returns:
- The namedTupleValue.
-
getNamedTupleValueOrBuilder
Struct.NamedTupleValueOrBuilder getNamedTupleValueOrBuilder()
Represents Python's namedtuple.
.org.platanios.tensorflow.proto.NamedTupleValue named_tuple_value = 54;
-
getKindCase
Struct.StructuredValue.KindCase getKindCase()
-
-