Package tensorflow
Class Struct.StructuredValue
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
tensorflow.Struct.StructuredValue
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Struct.StructuredValueOrBuilder
- Enclosing class:
Struct
public static final class Struct.StructuredValue
extends com.google.protobuf.GeneratedMessageV3
implements Struct.StructuredValueOrBuilder
`StructuredValue` represents a dynamically typed value representing various
data structures that are inspired by Python data structures typically used in
TensorFlow functions as inputs and outputs.
For example when saving a Layer there may be a `training` argument. If the
user passes a boolean True/False, that switches between two concrete
TensorFlow functions. In order to switch between them in the same way after
loading the SavedModel, we need to represent "True" and "False".
A more advanced example might be a function which takes a list of
dictionaries mapping from strings to Tensors. In order to map from
user-specified arguments `[{"a": tf.constant(1.)}, {"q": tf.constant(3.)}]`
after load to the right saved TensorFlow function, we need to represent the
nested structure and the strings, recording that we have a trace for anything
matching `[{"a": tf.TensorSpec(None, tf.float32)}, {"q": tf.TensorSpec([],
tf.float64)}]` as an example.
Likewise functions may return nested structures of Tensors, for example
returning a dictionary mapping from strings to Tensors. In order for the
loaded function to return the same structure we need to serialize it.
This is an ergonomic aid for working with loaded SavedModels, not a promise
to serialize all possible function signatures. For example we do not expect
to pickle generic Python objects, and ideally we'd stay language-agnostic.
Protobuf type tensorflow.StructuredValue- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class`StructuredValue` represents a dynamically typed value representing various data structures that are inspired by Python data structures typically used in TensorFlow functions as inputs and outputs.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanRepresents a boolean value.Represents a value for tf.BoundedTensorSpec.Represents a value for tf.BoundedTensorSpec.static Struct.StructuredValuestatic final com.google.protobuf.Descriptors.DescriptorRepresents a dict `Value`.Represents a dict `Value`.doubleRepresents a double-precision floating-point value (a Python `float`).longRepresents a signed integer value, limited to 64 bits.Represents a list of `Value`.Represents a list of `Value`.Represents Python's namedtuple.Represents Python's namedtuple.Represents None.Represents None.Represents a value for np.ndarray.Represents a value for np.ndarray.com.google.protobuf.Parser<Struct.StructuredValue> intRepresents a string of Unicode characters stored in a Python `str`.com.google.protobuf.ByteStringRepresents a string of Unicode characters stored in a Python `str`.Represents an enum value for dtype.intRepresents an enum value for dtype.Represents a TensorShape.Represents a TensorShape.Represents a value for tf.TensorSpec.Represents a value for tf.TensorSpec.Represents a value for tf.Tensor.Represents a value for tf.Tensor.Represents a tuple of `Value`.Represents a tuple of `Value`.Represents a value for tf.TypeSpec.Represents a value for tf.TypeSpec.booleanRepresents a boolean value.booleanRepresents a value for tf.BoundedTensorSpec.booleanRepresents a dict `Value`.booleanRepresents a double-precision floating-point value (a Python `float`).inthashCode()booleanRepresents a signed integer value, limited to 64 bits.booleanRepresents a list of `Value`.booleanRepresents Python's namedtuple.booleanRepresents None.booleanRepresents a value for np.ndarray.booleanRepresents a string of Unicode characters stored in a Python `str`.booleanRepresents an enum value for dtype.booleanRepresents a TensorShape.booleanRepresents a value for tf.TensorSpec.booleanRepresents a value for tf.Tensor.booleanRepresents a tuple of `Value`.booleanRepresents a value for tf.TypeSpec.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Struct.StructuredValue prototype) protected Struct.StructuredValue.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Struct.StructuredValueparseDelimitedFrom(InputStream input) static Struct.StructuredValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Struct.StructuredValueparseFrom(byte[] data) static Struct.StructuredValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Struct.StructuredValueparseFrom(com.google.protobuf.ByteString data) static Struct.StructuredValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Struct.StructuredValueparseFrom(com.google.protobuf.CodedInputStream input) static Struct.StructuredValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Struct.StructuredValueparseFrom(InputStream input) static Struct.StructuredValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Struct.StructuredValueparseFrom(ByteBuffer data) static Struct.StructuredValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Struct.StructuredValue> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NONE_VALUE_FIELD_NUMBER
public static final int NONE_VALUE_FIELD_NUMBER- See Also:
-
FLOAT64_VALUE_FIELD_NUMBER
public static final int FLOAT64_VALUE_FIELD_NUMBER- See Also:
-
INT64_VALUE_FIELD_NUMBER
public static final int INT64_VALUE_FIELD_NUMBER- See Also:
-
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER- See Also:
-
BOOL_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER- See Also:
-
TENSOR_SHAPE_VALUE_FIELD_NUMBER
public static final int TENSOR_SHAPE_VALUE_FIELD_NUMBER- See Also:
-
TENSOR_DTYPE_VALUE_FIELD_NUMBER
public static final int TENSOR_DTYPE_VALUE_FIELD_NUMBER- See Also:
-
TENSOR_SPEC_VALUE_FIELD_NUMBER
public static final int TENSOR_SPEC_VALUE_FIELD_NUMBER- See Also:
-
TYPE_SPEC_VALUE_FIELD_NUMBER
public static final int TYPE_SPEC_VALUE_FIELD_NUMBER- See Also:
-
BOUNDED_TENSOR_SPEC_VALUE_FIELD_NUMBER
public static final int BOUNDED_TENSOR_SPEC_VALUE_FIELD_NUMBER- See Also:
-
LIST_VALUE_FIELD_NUMBER
public static final int LIST_VALUE_FIELD_NUMBER- See Also:
-
TUPLE_VALUE_FIELD_NUMBER
public static final int TUPLE_VALUE_FIELD_NUMBER- See Also:
-
DICT_VALUE_FIELD_NUMBER
public static final int DICT_VALUE_FIELD_NUMBER- See Also:
-
NAMED_TUPLE_VALUE_FIELD_NUMBER
public static final int NAMED_TUPLE_VALUE_FIELD_NUMBER- See Also:
-
TENSOR_VALUE_FIELD_NUMBER
public static final int TENSOR_VALUE_FIELD_NUMBER- See Also:
-
NUMPY_VALUE_FIELD_NUMBER
public static final int NUMPY_VALUE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getKindCase
- Specified by:
getKindCasein interfaceStruct.StructuredValueOrBuilder
-
hasNoneValue
public boolean hasNoneValue()Represents None.
.tensorflow.NoneValue none_value = 1;- Specified by:
hasNoneValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the noneValue field is set.
-
getNoneValue
Represents None.
.tensorflow.NoneValue none_value = 1;- Specified by:
getNoneValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The noneValue.
-
getNoneValueOrBuilder
Represents None.
.tensorflow.NoneValue none_value = 1;- Specified by:
getNoneValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
hasFloat64Value
public boolean hasFloat64Value()Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;- Specified by:
hasFloat64Valuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the float64Value field is set.
-
getFloat64Value
public double getFloat64Value()Represents a double-precision floating-point value (a Python `float`).
double float64_value = 11;- Specified by:
getFloat64Valuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The float64Value.
-
hasInt64Value
public 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;- Specified by:
hasInt64Valuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the int64Value field is set.
-
getInt64Value
public 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;- Specified by:
getInt64Valuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The int64Value.
-
hasStringValue
public 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;- Specified by:
hasStringValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
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;- Specified by:
getStringValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public 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;- Specified by:
getStringValueBytesin interfaceStruct.StructuredValueOrBuilder- Returns:
- The bytes for stringValue.
-
hasBoolValue
public boolean hasBoolValue()Represents a boolean value.
bool bool_value = 14;- Specified by:
hasBoolValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()Represents a boolean value.
bool bool_value = 14;- Specified by:
getBoolValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The boolValue.
-
hasTensorShapeValue
public boolean hasTensorShapeValue()Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;- Specified by:
hasTensorShapeValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the tensorShapeValue field is set.
-
getTensorShapeValue
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;- Specified by:
getTensorShapeValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The tensorShapeValue.
-
getTensorShapeValueOrBuilder
Represents a TensorShape.
.tensorflow.TensorShapeProto tensor_shape_value = 31;- Specified by:
getTensorShapeValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
hasTensorDtypeValue
public boolean hasTensorDtypeValue()Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;- Specified by:
hasTensorDtypeValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the tensorDtypeValue field is set.
-
getTensorDtypeValueValue
public int getTensorDtypeValueValue()Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;- Specified by:
getTensorDtypeValueValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The enum numeric value on the wire for tensorDtypeValue.
-
getTensorDtypeValue
Represents an enum value for dtype.
.tensorflow.DataType tensor_dtype_value = 32;- Specified by:
getTensorDtypeValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The tensorDtypeValue.
-
hasTensorSpecValue
public boolean hasTensorSpecValue()Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;- Specified by:
hasTensorSpecValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the tensorSpecValue field is set.
-
getTensorSpecValue
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;- Specified by:
getTensorSpecValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The tensorSpecValue.
-
getTensorSpecValueOrBuilder
Represents a value for tf.TensorSpec.
.tensorflow.TensorSpecProto tensor_spec_value = 33;- Specified by:
getTensorSpecValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
hasTypeSpecValue
public boolean hasTypeSpecValue()Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;- Specified by:
hasTypeSpecValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the typeSpecValue field is set.
-
getTypeSpecValue
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;- Specified by:
getTypeSpecValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The typeSpecValue.
-
getTypeSpecValueOrBuilder
Represents a value for tf.TypeSpec.
.tensorflow.TypeSpecProto type_spec_value = 34;- Specified by:
getTypeSpecValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
hasBoundedTensorSpecValue
public boolean hasBoundedTensorSpecValue()Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;- Specified by:
hasBoundedTensorSpecValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the boundedTensorSpecValue field is set.
-
getBoundedTensorSpecValue
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;- Specified by:
getBoundedTensorSpecValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The boundedTensorSpecValue.
-
getBoundedTensorSpecValueOrBuilder
Represents a value for tf.BoundedTensorSpec.
.tensorflow.BoundedTensorSpecProto bounded_tensor_spec_value = 35;- Specified by:
getBoundedTensorSpecValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
hasListValue
public boolean hasListValue()Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;- Specified by:
hasListValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the listValue field is set.
-
getListValue
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;- Specified by:
getListValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The listValue.
-
getListValueOrBuilder
Represents a list of `Value`.
.tensorflow.ListValue list_value = 51;- Specified by:
getListValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
hasTupleValue
public boolean hasTupleValue()Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;- Specified by:
hasTupleValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the tupleValue field is set.
-
getTupleValue
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;- Specified by:
getTupleValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The tupleValue.
-
getTupleValueOrBuilder
Represents a tuple of `Value`.
.tensorflow.TupleValue tuple_value = 52;- Specified by:
getTupleValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
hasDictValue
public boolean hasDictValue()Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;- Specified by:
hasDictValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the dictValue field is set.
-
getDictValue
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;- Specified by:
getDictValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The dictValue.
-
getDictValueOrBuilder
Represents a dict `Value`.
.tensorflow.DictValue dict_value = 53;- Specified by:
getDictValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
hasNamedTupleValue
public boolean hasNamedTupleValue()Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;- Specified by:
hasNamedTupleValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the namedTupleValue field is set.
-
getNamedTupleValue
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;- Specified by:
getNamedTupleValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The namedTupleValue.
-
getNamedTupleValueOrBuilder
Represents Python's namedtuple.
.tensorflow.NamedTupleValue named_tuple_value = 54;- Specified by:
getNamedTupleValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
hasTensorValue
public boolean hasTensorValue()Represents a value for tf.Tensor.
.tensorflow.TensorProto tensor_value = 55;- Specified by:
hasTensorValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the tensorValue field is set.
-
getTensorValue
Represents a value for tf.Tensor.
.tensorflow.TensorProto tensor_value = 55;- Specified by:
getTensorValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The tensorValue.
-
getTensorValueOrBuilder
Represents a value for tf.Tensor.
.tensorflow.TensorProto tensor_value = 55;- Specified by:
getTensorValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
hasNumpyValue
public boolean hasNumpyValue()Represents a value for np.ndarray.
.tensorflow.TensorProto numpy_value = 56;- Specified by:
hasNumpyValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- Whether the numpyValue field is set.
-
getNumpyValue
Represents a value for np.ndarray.
.tensorflow.TensorProto numpy_value = 56;- Specified by:
getNumpyValuein interfaceStruct.StructuredValueOrBuilder- Returns:
- The numpyValue.
-
getNumpyValueOrBuilder
Represents a value for np.ndarray.
.tensorflow.TensorProto numpy_value = 56;- Specified by:
getNumpyValueOrBuilderin interfaceStruct.StructuredValueOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Struct.StructuredValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Struct.StructuredValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Struct.StructuredValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Struct.StructuredValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Struct.StructuredValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Struct.StructuredValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Struct.StructuredValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Struct.StructuredValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Struct.StructuredValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Struct.StructuredValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Struct.StructuredValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-