Class SavedObjectGraphOuterClass.SavedObject
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.SavedObjectGraphOuterClass.SavedObject
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, SavedObjectGraphOuterClass.SavedObjectOrBuilder
- Enclosing class:
SavedObjectGraphOuterClass
public static final class SavedObjectGraphOuterClass.SavedObject
extends GeneratedMessageV3
implements SavedObjectGraphOuterClass.SavedObjectOrBuilder
Protobuf type
tensorflow.SavedObject- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetensorflow.SavedObjectstatic enumNested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
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 intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanStores the functions used to save and restore this object.booleangetAsset().tensorflow.SavedAsset asset = 5;.tensorflow.SavedAsset asset = 5;.tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;.tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;.tensorflow.CapturedTensor captured_tensor = 12;.tensorflow.CapturedTensor captured_tensor = 12;getChildren(int index) Objects which this object depends on: named edges in the dependency graph.intObjects which this object depends on: named edges in the dependency graph.Objects which this object depends on: named edges in the dependency graph.getChildrenOrBuilder(int index) Objects which this object depends on: named edges in the dependency graph.List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder> Objects which this object depends on: named edges in the dependency graph..tensorflow.SavedConstant constant = 9;.tensorflow.SavedConstant constant = 9;getDependencies(int index) Ordered list of dependencies that must be loaded before this object.intOrdered list of dependencies that must be loaded before this object.Ordered list of dependencies that must be loaded before this object.getDependenciesOrBuilder(int index) Ordered list of dependencies that must be loaded before this object.List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder> Ordered list of dependencies that must be loaded before this object.static final Descriptors.Descriptor.tensorflow.SavedFunction function = 6;.tensorflow.SavedFunction function = 6;The name of the registered class of the form "{package}.The name of the registered class of the form "{package}.String name of the registered saver.String name of the registered saver..tensorflow.SavedResource resource = 10;.tensorflow.SavedResource resource = 10;Deprecated.intStores the functions used to save and restore this object.Stores the functions used to save and restore this object.getSaveableObjectsOrDefault(String key, SavedObjectGraphOuterClass.SaveableObject defaultValue) Stores the functions used to save and restore this object.Stores the functions used to save and restore this object.intThe user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.The user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.getSlotVariables(int index) Slot variables owned by this object.intSlot variables owned by this object.Slot variables owned by this object.getSlotVariablesOrBuilder(int index) Slot variables owned by this object.List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SlotVariableReferenceOrBuilder> Slot variables owned by this object.final UnknownFieldSet.tensorflow.SavedUserObject user_object = 4;.tensorflow.SavedUserObject user_object = 4;.tensorflow.SavedVariable variable = 7;.tensorflow.SavedVariable variable = 7;booleanhasAsset().tensorflow.SavedAsset asset = 5;boolean.tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;boolean.tensorflow.CapturedTensor captured_tensor = 12;boolean.tensorflow.SavedConstant constant = 9;boolean.tensorflow.SavedFunction function = 6;inthashCode()boolean.tensorflow.SavedResource resource = 10;booleanThe user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.boolean.tensorflow.SavedUserObject user_object = 4;boolean.tensorflow.SavedVariable variable = 7;protected GeneratedMessageV3.FieldAccessorTableprotected MapFieldinternalGetMapField(int number) final booleannewBuilder(SavedObjectGraphOuterClass.SavedObject prototype) protected ObjectparseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) parseFrom(ByteString data) parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) parseFrom(CodedInputStream input) parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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 AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
CHILDREN_FIELD_NUMBER
public static final int CHILDREN_FIELD_NUMBER- See Also:
-
DEPENDENCIES_FIELD_NUMBER
public static final int DEPENDENCIES_FIELD_NUMBER- See Also:
-
SLOT_VARIABLES_FIELD_NUMBER
public static final int SLOT_VARIABLES_FIELD_NUMBER- See Also:
-
USER_OBJECT_FIELD_NUMBER
public static final int USER_OBJECT_FIELD_NUMBER- See Also:
-
ASSET_FIELD_NUMBER
public static final int ASSET_FIELD_NUMBER- See Also:
-
FUNCTION_FIELD_NUMBER
public static final int FUNCTION_FIELD_NUMBER- See Also:
-
VARIABLE_FIELD_NUMBER
public static final int VARIABLE_FIELD_NUMBER- See Also:
-
BARE_CONCRETE_FUNCTION_FIELD_NUMBER
public static final int BARE_CONCRETE_FUNCTION_FIELD_NUMBER- See Also:
-
CONSTANT_FIELD_NUMBER
public static final int CONSTANT_FIELD_NUMBER- See Also:
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER- See Also:
-
CAPTURED_TENSOR_FIELD_NUMBER
public static final int CAPTURED_TENSOR_FIELD_NUMBER- See Also:
-
SAVEABLE_OBJECTS_FIELD_NUMBER
public static final int SAVEABLE_OBJECTS_FIELD_NUMBER- See Also:
-
REGISTERED_NAME_FIELD_NUMBER
public static final int REGISTERED_NAME_FIELD_NUMBER- See Also:
-
SERIALIZED_USER_PROTO_FIELD_NUMBER
public static final int SERIALIZED_USER_PROTO_FIELD_NUMBER- See Also:
-
REGISTERED_SAVER_FIELD_NUMBER
public static final int REGISTERED_SAVER_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetMapField
- Overrides:
internalGetMapFieldin classGeneratedMessageV3
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getKindCase
- Specified by:
getKindCasein interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getChildrenList
public List<TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReference> getChildrenList()Objects which this object depends on: named edges in the dependency graph. Note: All kinds of SavedObject may have children, except "constant" and "captured_tensor".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;- Specified by:
getChildrenListin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getChildrenOrBuilderList
public List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder> getChildrenOrBuilderList()Objects which this object depends on: named edges in the dependency graph. Note: All kinds of SavedObject may have children, except "constant" and "captured_tensor".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;- Specified by:
getChildrenOrBuilderListin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getChildrenCount
public int getChildrenCount()Objects which this object depends on: named edges in the dependency graph. Note: All kinds of SavedObject may have children, except "constant" and "captured_tensor".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;- Specified by:
getChildrenCountin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getChildren
public TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReference getChildren(int index) Objects which this object depends on: named edges in the dependency graph. Note: All kinds of SavedObject may have children, except "constant" and "captured_tensor".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;- Specified by:
getChildrenin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getChildrenOrBuilder
public TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder getChildrenOrBuilder(int index) Objects which this object depends on: named edges in the dependency graph. Note: All kinds of SavedObject may have children, except "constant" and "captured_tensor".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;- Specified by:
getChildrenOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getDependenciesList
public List<TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReference> getDependenciesList()Ordered list of dependencies that must be loaded before this object. SavedModel loads with the bottom-up approach, by first creating all objects (in the order defined by the dependencies), then connecting the edges.
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference dependencies = 15;- Specified by:
getDependenciesListin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getDependenciesOrBuilderList
public List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder> getDependenciesOrBuilderList()Ordered list of dependencies that must be loaded before this object. SavedModel loads with the bottom-up approach, by first creating all objects (in the order defined by the dependencies), then connecting the edges.
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference dependencies = 15;- Specified by:
getDependenciesOrBuilderListin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getDependenciesCount
public int getDependenciesCount()Ordered list of dependencies that must be loaded before this object. SavedModel loads with the bottom-up approach, by first creating all objects (in the order defined by the dependencies), then connecting the edges.
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference dependencies = 15;- Specified by:
getDependenciesCountin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getDependencies
public TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReference getDependencies(int index) Ordered list of dependencies that must be loaded before this object. SavedModel loads with the bottom-up approach, by first creating all objects (in the order defined by the dependencies), then connecting the edges.
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference dependencies = 15;- Specified by:
getDependenciesin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getDependenciesOrBuilder
public TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder getDependenciesOrBuilder(int index) Ordered list of dependencies that must be loaded before this object. SavedModel loads with the bottom-up approach, by first creating all objects (in the order defined by the dependencies), then connecting the edges.
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference dependencies = 15;- Specified by:
getDependenciesOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getSlotVariablesList
public List<TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SlotVariableReference> getSlotVariablesList()Slot variables owned by this object. This describes the three-way (optimizer, variable, slot variable) relationship; none of the three depend on the others directly. Note: currently only valid if kind == "user_object".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;- Specified by:
getSlotVariablesListin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getSlotVariablesOrBuilderList
public List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SlotVariableReferenceOrBuilder> getSlotVariablesOrBuilderList()Slot variables owned by this object. This describes the three-way (optimizer, variable, slot variable) relationship; none of the three depend on the others directly. Note: currently only valid if kind == "user_object".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;- Specified by:
getSlotVariablesOrBuilderListin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getSlotVariablesCount
public int getSlotVariablesCount()Slot variables owned by this object. This describes the three-way (optimizer, variable, slot variable) relationship; none of the three depend on the others directly. Note: currently only valid if kind == "user_object".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;- Specified by:
getSlotVariablesCountin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getSlotVariables
public TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SlotVariableReference getSlotVariables(int index) Slot variables owned by this object. This describes the three-way (optimizer, variable, slot variable) relationship; none of the three depend on the others directly. Note: currently only valid if kind == "user_object".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;- Specified by:
getSlotVariablesin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getSlotVariablesOrBuilder
public TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SlotVariableReferenceOrBuilder getSlotVariablesOrBuilder(int index) Slot variables owned by this object. This describes the three-way (optimizer, variable, slot variable) relationship; none of the three depend on the others directly. Note: currently only valid if kind == "user_object".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;- Specified by:
getSlotVariablesOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
hasUserObject
public boolean hasUserObject().tensorflow.SavedUserObject user_object = 4;- Specified by:
hasUserObjectin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- Whether the userObject field is set.
-
getUserObject
.tensorflow.SavedUserObject user_object = 4;- Specified by:
getUserObjectin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The userObject.
-
getUserObjectOrBuilder
.tensorflow.SavedUserObject user_object = 4;- Specified by:
getUserObjectOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
hasAsset
public boolean hasAsset().tensorflow.SavedAsset asset = 5;- Specified by:
hasAssetin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- Whether the asset field is set.
-
getAsset
.tensorflow.SavedAsset asset = 5;- Specified by:
getAssetin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The asset.
-
getAssetOrBuilder
.tensorflow.SavedAsset asset = 5;- Specified by:
getAssetOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
hasFunction
public boolean hasFunction().tensorflow.SavedFunction function = 6;- Specified by:
hasFunctionin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- Whether the function field is set.
-
getFunction
.tensorflow.SavedFunction function = 6;- Specified by:
getFunctionin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The function.
-
getFunctionOrBuilder
.tensorflow.SavedFunction function = 6;- Specified by:
getFunctionOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
hasVariable
public boolean hasVariable().tensorflow.SavedVariable variable = 7;- Specified by:
hasVariablein interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- Whether the variable field is set.
-
getVariable
.tensorflow.SavedVariable variable = 7;- Specified by:
getVariablein interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The variable.
-
getVariableOrBuilder
.tensorflow.SavedVariable variable = 7;- Specified by:
getVariableOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
hasBareConcreteFunction
public boolean hasBareConcreteFunction().tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;- Specified by:
hasBareConcreteFunctionin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- Whether the bareConcreteFunction field is set.
-
getBareConcreteFunction
.tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;- Specified by:
getBareConcreteFunctionin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The bareConcreteFunction.
-
getBareConcreteFunctionOrBuilder
public SavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder getBareConcreteFunctionOrBuilder().tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;- Specified by:
getBareConcreteFunctionOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
hasConstant
public boolean hasConstant().tensorflow.SavedConstant constant = 9;- Specified by:
hasConstantin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- Whether the constant field is set.
-
getConstant
.tensorflow.SavedConstant constant = 9;- Specified by:
getConstantin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The constant.
-
getConstantOrBuilder
.tensorflow.SavedConstant constant = 9;- Specified by:
getConstantOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
hasResource
public boolean hasResource().tensorflow.SavedResource resource = 10;- Specified by:
hasResourcein interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
.tensorflow.SavedResource resource = 10;- Specified by:
getResourcein interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The resource.
-
getResourceOrBuilder
.tensorflow.SavedResource resource = 10;- Specified by:
getResourceOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
hasCapturedTensor
public boolean hasCapturedTensor().tensorflow.CapturedTensor captured_tensor = 12;- Specified by:
hasCapturedTensorin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- Whether the capturedTensor field is set.
-
getCapturedTensor
.tensorflow.CapturedTensor captured_tensor = 12;- Specified by:
getCapturedTensorin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The capturedTensor.
-
getCapturedTensorOrBuilder
.tensorflow.CapturedTensor captured_tensor = 12;- Specified by:
getCapturedTensorOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getSaveableObjectsCount
public int getSaveableObjectsCount()Description copied from interface:SavedObjectGraphOuterClass.SavedObjectOrBuilderStores the functions used to save and restore this object. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject. See the comment below for the difference between SaveableObject and registered savers.
map<string, .tensorflow.SaveableObject> saveable_objects = 11;- Specified by:
getSaveableObjectsCountin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
containsSaveableObjects
Stores the functions used to save and restore this object. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject. See the comment below for the difference between SaveableObject and registered savers.
map<string, .tensorflow.SaveableObject> saveable_objects = 11;- Specified by:
containsSaveableObjectsin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getSaveableObjects
Deprecated.UsegetSaveableObjectsMap()instead.- Specified by:
getSaveableObjectsin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getSaveableObjectsMap
Stores the functions used to save and restore this object. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject. See the comment below for the difference between SaveableObject and registered savers.
map<string, .tensorflow.SaveableObject> saveable_objects = 11;- Specified by:
getSaveableObjectsMapin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getSaveableObjectsOrDefault
public SavedObjectGraphOuterClass.SaveableObject getSaveableObjectsOrDefault(String key, SavedObjectGraphOuterClass.SaveableObject defaultValue) Stores the functions used to save and restore this object. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject. See the comment below for the difference between SaveableObject and registered savers.
map<string, .tensorflow.SaveableObject> saveable_objects = 11;- Specified by:
getSaveableObjectsOrDefaultin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getSaveableObjectsOrThrow
Stores the functions used to save and restore this object. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject. See the comment below for the difference between SaveableObject and registered savers.
map<string, .tensorflow.SaveableObject> saveable_objects = 11;- Specified by:
getSaveableObjectsOrThrowin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getRegisteredName
The name of the registered class of the form "{package}.{class_name}". This field is used to search for the registered class at loading time.string registered_name = 13;- Specified by:
getRegisteredNamein interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The registeredName.
-
getRegisteredNameBytes
The name of the registered class of the form "{package}.{class_name}". This field is used to search for the registered class at loading time.string registered_name = 13;- Specified by:
getRegisteredNameBytesin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The bytes for registeredName.
-
hasSerializedUserProto
public boolean hasSerializedUserProto()The user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.
.google.protobuf.Any serialized_user_proto = 14;- Specified by:
hasSerializedUserProtoin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- Whether the serializedUserProto field is set.
-
getSerializedUserProto
The user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.
.google.protobuf.Any serialized_user_proto = 14;- Specified by:
getSerializedUserProtoin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The serializedUserProto.
-
getSerializedUserProtoOrBuilder
The user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.
.google.protobuf.Any serialized_user_proto = 14;- Specified by:
getSerializedUserProtoOrBuilderin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder
-
getRegisteredSaver
String name of the registered saver. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject.
string registered_saver = 16;- Specified by:
getRegisteredSaverin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The registeredSaver.
-
getRegisteredSaverBytes
String name of the registered saver. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject.
string registered_saver = 16;- Specified by:
getRegisteredSaverBytesin interfaceSavedObjectGraphOuterClass.SavedObjectOrBuilder- Returns:
- The bytes for registeredSaver.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
public static SavedObjectGraphOuterClass.SavedObject parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static SavedObjectGraphOuterClass.SavedObject parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static SavedObjectGraphOuterClass.SavedObject parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static SavedObjectGraphOuterClass.SavedObject parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static SavedObjectGraphOuterClass.SavedObject parseFrom(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static SavedObjectGraphOuterClass.SavedObject parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static SavedObjectGraphOuterClass.SavedObject parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SavedObjectGraphOuterClass.SavedObject parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SavedObjectGraphOuterClass.SavedObject parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SavedObjectGraphOuterClass.SavedObject parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SavedObjectGraphOuterClass.SavedObject parseFrom(CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SavedObjectGraphOuterClass.SavedObject parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
public static SavedObjectGraphOuterClass.SavedObject.Builder newBuilder(SavedObjectGraphOuterClass.SavedObject prototype) -
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected SavedObjectGraphOuterClass.SavedObject.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-