Package tensorflow
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 booleangetBoolValue()Represents a boolean value.Struct.DictValuegetDictValue()Represents a dict `Value`.Struct.DictValueOrBuildergetDictValueOrBuilder()Represents a dict `Value`.doublegetFloat64Value()Represents a double-precision floating-point value (a Python `float`).longgetInt64Value()Represents a signed integer value, limited to 64 bits.Struct.StructuredValue.KindCasegetKindCase()Struct.ListValuegetListValue()Represents a list of `Value`.Struct.ListValueOrBuildergetListValueOrBuilder()Represents a list of `Value`.Struct.NamedTupleValuegetNamedTupleValue()Represents Python's namedtuple.Struct.NamedTupleValueOrBuildergetNamedTupleValueOrBuilder()Represents Python's namedtuple.Struct.NoneValuegetNoneValue()Represents None.Struct.NoneValueOrBuildergetNoneValueOrBuilder()Represents None.java.lang.StringgetStringValue()Represents a string of Unicode characters stored in a Python `str`.com.google.protobuf.ByteStringgetStringValueBytes()Represents a string of Unicode characters stored in a Python `str`.DataTypegetTensorDtypeValue()Represents an enum value for dtype.intgetTensorDtypeValueValue()Represents an enum value for dtype.TensorShapeProtogetTensorShapeValue()Represents a TensorShape.TensorShapeProtoOrBuildergetTensorShapeValueOrBuilder()Represents a TensorShape.Struct.TensorSpecProtogetTensorSpecValue()Represents a value for tf.TensorSpec.Struct.TensorSpecProtoOrBuildergetTensorSpecValueOrBuilder()Represents a value for tf.TensorSpec.Struct.TupleValuegetTupleValue()Represents a tuple of `Value`.Struct.TupleValueOrBuildergetTupleValueOrBuilder()Represents a tuple of `Value`.Struct.TypeSpecProtogetTypeSpecValue()Represents a value for tf.TypeSpec.Struct.TypeSpecProtoOrBuildergetTypeSpecValueOrBuilder()Represents a value for tf.TypeSpec.booleanhasDictValue()Represents a dict `Value`.booleanhasListValue()Represents a list of `Value`.booleanhasNamedTupleValue()Represents Python's namedtuple.booleanhasNoneValue()Represents None.booleanhasTensorShapeValue()Represents a TensorShape.booleanhasTensorSpecValue()Represents a value for tf.TensorSpec.booleanhasTupleValue()Represents a tuple of `Value`.booleanhasTypeSpecValue()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.
.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;
-
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.
.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;
-
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;
-
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;
-
getKindCase
Struct.StructuredValue.KindCase getKindCase()
-
-