Package org.platanios.tensorflow.proto
Class MetaGraphDef
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.platanios.tensorflow.proto.MetaGraphDef
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,MetaGraphDefOrBuilder
public final class MetaGraphDef extends com.google.protobuf.GeneratedMessageV3 implements MetaGraphDefOrBuilder
NOTE: This protocol buffer is evolving, and will go through revisions in the coming months. Protocol buffer containing the following which are necessary to restart training, run inference. It can be used to serialize/de-serialize memory objects necessary for running computation in a graph when crossing the process boundary. It can be used for long term storage of graphs, cross-language execution of graphs, etc. MetaInfoDef GraphDef SaverDef CollectionDef TensorInfo SignatureDef
Protobuf typeorg.platanios.tensorflow.proto.MetaGraphDef
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetaGraphDef.Builder
NOTE: This protocol buffer is evolving, and will go through revisions in the coming months.static class
MetaGraphDef.MetaInfoDef
Meta information regarding the graph to be exported.static interface
MetaGraphDef.MetaInfoDefOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ASSET_FILE_DEF_FIELD_NUMBER
static int
COLLECTION_DEF_FIELD_NUMBER
static int
GRAPH_DEF_FIELD_NUMBER
static int
META_INFO_DEF_FIELD_NUMBER
static int
OBJECT_GRAPH_DEF_FIELD_NUMBER
static int
SAVER_DEF_FIELD_NUMBER
static int
SIGNATURE_DEF_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsCollectionDef(java.lang.String key)
collection_def: Map from collection name to collections.boolean
containsSignatureDef(java.lang.String key)
signature_def: Map from user supplied key for a signature to a single SignatureDef.boolean
equals(java.lang.Object obj)
AssetFileDef
getAssetFileDef(int index)
Asset file def to be used with the defined graph.int
getAssetFileDefCount()
Asset file def to be used with the defined graph.java.util.List<AssetFileDef>
getAssetFileDefList()
Asset file def to be used with the defined graph.AssetFileDefOrBuilder
getAssetFileDefOrBuilder(int index)
Asset file def to be used with the defined graph.java.util.List<? extends AssetFileDefOrBuilder>
getAssetFileDefOrBuilderList()
Asset file def to be used with the defined graph.java.util.Map<java.lang.String,CollectionDef>
getCollectionDef()
Deprecated.int
getCollectionDefCount()
collection_def: Map from collection name to collections.java.util.Map<java.lang.String,CollectionDef>
getCollectionDefMap()
collection_def: Map from collection name to collections.CollectionDef
getCollectionDefOrDefault(java.lang.String key, CollectionDef defaultValue)
collection_def: Map from collection name to collections.CollectionDef
getCollectionDefOrThrow(java.lang.String key)
collection_def: Map from collection name to collections.static MetaGraphDef
getDefaultInstance()
MetaGraphDef
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
GraphDef
getGraphDef()
GraphDef.GraphDefOrBuilder
getGraphDefOrBuilder()
GraphDef.MetaGraphDef.MetaInfoDef
getMetaInfoDef()
.org.platanios.tensorflow.proto.MetaGraphDef.MetaInfoDef meta_info_def = 1;
MetaGraphDef.MetaInfoDefOrBuilder
getMetaInfoDefOrBuilder()
.org.platanios.tensorflow.proto.MetaGraphDef.MetaInfoDef meta_info_def = 1;
SavedObjectGraphOuterClass.SavedObjectGraph
getObjectGraphDef()
Extra information about the structure of functions and stateful objects.SavedObjectGraphOuterClass.SavedObjectGraphOrBuilder
getObjectGraphDefOrBuilder()
Extra information about the structure of functions and stateful objects.com.google.protobuf.Parser<MetaGraphDef>
getParserForType()
SaverDef
getSaverDef()
SaverDef.SaverDefOrBuilder
getSaverDefOrBuilder()
SaverDef.int
getSerializedSize()
java.util.Map<java.lang.String,SignatureDef>
getSignatureDef()
Deprecated.int
getSignatureDefCount()
signature_def: Map from user supplied key for a signature to a single SignatureDef.java.util.Map<java.lang.String,SignatureDef>
getSignatureDefMap()
signature_def: Map from user supplied key for a signature to a single SignatureDef.SignatureDef
getSignatureDefOrDefault(java.lang.String key, SignatureDef defaultValue)
signature_def: Map from user supplied key for a signature to a single SignatureDef.SignatureDef
getSignatureDefOrThrow(java.lang.String key)
signature_def: Map from user supplied key for a signature to a single SignatureDef.com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasGraphDef()
GraphDef.int
hashCode()
boolean
hasMetaInfoDef()
.org.platanios.tensorflow.proto.MetaGraphDef.MetaInfoDef meta_info_def = 1;
boolean
hasObjectGraphDef()
Extra information about the structure of functions and stateful objects.boolean
hasSaverDef()
SaverDef.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static MetaGraphDef.Builder
newBuilder()
static MetaGraphDef.Builder
newBuilder(MetaGraphDef prototype)
MetaGraphDef.Builder
newBuilderForType()
protected MetaGraphDef.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MetaGraphDef
parseDelimitedFrom(java.io.InputStream input)
static MetaGraphDef
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef
parseFrom(byte[] data)
static MetaGraphDef
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef
parseFrom(com.google.protobuf.ByteString data)
static MetaGraphDef
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef
parseFrom(com.google.protobuf.CodedInputStream input)
static MetaGraphDef
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef
parseFrom(java.io.InputStream input)
static MetaGraphDef
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef
parseFrom(java.nio.ByteBuffer data)
static MetaGraphDef
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MetaGraphDef>
parser()
MetaGraphDef.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
META_INFO_DEF_FIELD_NUMBER
public static final int META_INFO_DEF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GRAPH_DEF_FIELD_NUMBER
public static final int GRAPH_DEF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAVER_DEF_FIELD_NUMBER
public static final int SAVER_DEF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLECTION_DEF_FIELD_NUMBER
public static final int COLLECTION_DEF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SIGNATURE_DEF_FIELD_NUMBER
public static final int SIGNATURE_DEF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_FILE_DEF_FIELD_NUMBER
public static final int ASSET_FILE_DEF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBJECT_GRAPH_DEF_FIELD_NUMBER
public static final int OBJECT_GRAPH_DEF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasMetaInfoDef
public boolean hasMetaInfoDef()
.org.platanios.tensorflow.proto.MetaGraphDef.MetaInfoDef meta_info_def = 1;
- Specified by:
hasMetaInfoDef
in interfaceMetaGraphDefOrBuilder
- Returns:
- Whether the metaInfoDef field is set.
-
getMetaInfoDef
public MetaGraphDef.MetaInfoDef getMetaInfoDef()
.org.platanios.tensorflow.proto.MetaGraphDef.MetaInfoDef meta_info_def = 1;
- Specified by:
getMetaInfoDef
in interfaceMetaGraphDefOrBuilder
- Returns:
- The metaInfoDef.
-
getMetaInfoDefOrBuilder
public MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder()
.org.platanios.tensorflow.proto.MetaGraphDef.MetaInfoDef meta_info_def = 1;
- Specified by:
getMetaInfoDefOrBuilder
in interfaceMetaGraphDefOrBuilder
-
hasGraphDef
public boolean hasGraphDef()
GraphDef.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
- Specified by:
hasGraphDef
in interfaceMetaGraphDefOrBuilder
- Returns:
- Whether the graphDef field is set.
-
getGraphDef
public GraphDef getGraphDef()
GraphDef.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
- Specified by:
getGraphDef
in interfaceMetaGraphDefOrBuilder
- Returns:
- The graphDef.
-
getGraphDefOrBuilder
public GraphDefOrBuilder getGraphDefOrBuilder()
GraphDef.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
- Specified by:
getGraphDefOrBuilder
in interfaceMetaGraphDefOrBuilder
-
hasSaverDef
public boolean hasSaverDef()
SaverDef.
.org.platanios.tensorflow.proto.SaverDef saver_def = 3;
- Specified by:
hasSaverDef
in interfaceMetaGraphDefOrBuilder
- Returns:
- Whether the saverDef field is set.
-
getSaverDef
public SaverDef getSaverDef()
SaverDef.
.org.platanios.tensorflow.proto.SaverDef saver_def = 3;
- Specified by:
getSaverDef
in interfaceMetaGraphDefOrBuilder
- Returns:
- The saverDef.
-
getSaverDefOrBuilder
public SaverDefOrBuilder getSaverDefOrBuilder()
SaverDef.
.org.platanios.tensorflow.proto.SaverDef saver_def = 3;
- Specified by:
getSaverDefOrBuilder
in interfaceMetaGraphDefOrBuilder
-
getCollectionDefCount
public int getCollectionDefCount()
Description copied from interface:MetaGraphDefOrBuilder
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .org.platanios.tensorflow.proto.CollectionDef> collection_def = 4;
- Specified by:
getCollectionDefCount
in interfaceMetaGraphDefOrBuilder
-
containsCollectionDef
public boolean containsCollectionDef(java.lang.String key)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .org.platanios.tensorflow.proto.CollectionDef> collection_def = 4;
- Specified by:
containsCollectionDef
in interfaceMetaGraphDefOrBuilder
-
getCollectionDef
@Deprecated public java.util.Map<java.lang.String,CollectionDef> getCollectionDef()
Deprecated.UsegetCollectionDefMap()
instead.- Specified by:
getCollectionDef
in interfaceMetaGraphDefOrBuilder
-
getCollectionDefMap
public java.util.Map<java.lang.String,CollectionDef> getCollectionDefMap()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .org.platanios.tensorflow.proto.CollectionDef> collection_def = 4;
- Specified by:
getCollectionDefMap
in interfaceMetaGraphDefOrBuilder
-
getCollectionDefOrDefault
public CollectionDef getCollectionDefOrDefault(java.lang.String key, CollectionDef defaultValue)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .org.platanios.tensorflow.proto.CollectionDef> collection_def = 4;
- Specified by:
getCollectionDefOrDefault
in interfaceMetaGraphDefOrBuilder
-
getCollectionDefOrThrow
public CollectionDef getCollectionDefOrThrow(java.lang.String key)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .org.platanios.tensorflow.proto.CollectionDef> collection_def = 4;
- Specified by:
getCollectionDefOrThrow
in interfaceMetaGraphDefOrBuilder
-
getSignatureDefCount
public int getSignatureDefCount()
Description copied from interface:MetaGraphDefOrBuilder
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .org.platanios.tensorflow.proto.SignatureDef> signature_def = 5;
- Specified by:
getSignatureDefCount
in interfaceMetaGraphDefOrBuilder
-
containsSignatureDef
public boolean containsSignatureDef(java.lang.String key)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .org.platanios.tensorflow.proto.SignatureDef> signature_def = 5;
- Specified by:
containsSignatureDef
in interfaceMetaGraphDefOrBuilder
-
getSignatureDef
@Deprecated public java.util.Map<java.lang.String,SignatureDef> getSignatureDef()
Deprecated.UsegetSignatureDefMap()
instead.- Specified by:
getSignatureDef
in interfaceMetaGraphDefOrBuilder
-
getSignatureDefMap
public java.util.Map<java.lang.String,SignatureDef> getSignatureDefMap()
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .org.platanios.tensorflow.proto.SignatureDef> signature_def = 5;
- Specified by:
getSignatureDefMap
in interfaceMetaGraphDefOrBuilder
-
getSignatureDefOrDefault
public SignatureDef getSignatureDefOrDefault(java.lang.String key, SignatureDef defaultValue)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .org.platanios.tensorflow.proto.SignatureDef> signature_def = 5;
- Specified by:
getSignatureDefOrDefault
in interfaceMetaGraphDefOrBuilder
-
getSignatureDefOrThrow
public SignatureDef getSignatureDefOrThrow(java.lang.String key)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .org.platanios.tensorflow.proto.SignatureDef> signature_def = 5;
- Specified by:
getSignatureDefOrThrow
in interfaceMetaGraphDefOrBuilder
-
getAssetFileDefList
public java.util.List<AssetFileDef> getAssetFileDefList()
Asset file def to be used with the defined graph.
repeated .org.platanios.tensorflow.proto.AssetFileDef asset_file_def = 6;
- Specified by:
getAssetFileDefList
in interfaceMetaGraphDefOrBuilder
-
getAssetFileDefOrBuilderList
public java.util.List<? extends AssetFileDefOrBuilder> getAssetFileDefOrBuilderList()
Asset file def to be used with the defined graph.
repeated .org.platanios.tensorflow.proto.AssetFileDef asset_file_def = 6;
- Specified by:
getAssetFileDefOrBuilderList
in interfaceMetaGraphDefOrBuilder
-
getAssetFileDefCount
public int getAssetFileDefCount()
Asset file def to be used with the defined graph.
repeated .org.platanios.tensorflow.proto.AssetFileDef asset_file_def = 6;
- Specified by:
getAssetFileDefCount
in interfaceMetaGraphDefOrBuilder
-
getAssetFileDef
public AssetFileDef getAssetFileDef(int index)
Asset file def to be used with the defined graph.
repeated .org.platanios.tensorflow.proto.AssetFileDef asset_file_def = 6;
- Specified by:
getAssetFileDef
in interfaceMetaGraphDefOrBuilder
-
getAssetFileDefOrBuilder
public AssetFileDefOrBuilder getAssetFileDefOrBuilder(int index)
Asset file def to be used with the defined graph.
repeated .org.platanios.tensorflow.proto.AssetFileDef asset_file_def = 6;
- Specified by:
getAssetFileDefOrBuilder
in interfaceMetaGraphDefOrBuilder
-
hasObjectGraphDef
public boolean hasObjectGraphDef()
Extra information about the structure of functions and stateful objects.
.org.platanios.tensorflow.proto.SavedObjectGraph object_graph_def = 7;
- Specified by:
hasObjectGraphDef
in interfaceMetaGraphDefOrBuilder
- Returns:
- Whether the objectGraphDef field is set.
-
getObjectGraphDef
public SavedObjectGraphOuterClass.SavedObjectGraph getObjectGraphDef()
Extra information about the structure of functions and stateful objects.
.org.platanios.tensorflow.proto.SavedObjectGraph object_graph_def = 7;
- Specified by:
getObjectGraphDef
in interfaceMetaGraphDefOrBuilder
- Returns:
- The objectGraphDef.
-
getObjectGraphDefOrBuilder
public SavedObjectGraphOuterClass.SavedObjectGraphOrBuilder getObjectGraphDefOrBuilder()
Extra information about the structure of functions and stateful objects.
.org.platanios.tensorflow.proto.SavedObjectGraph object_graph_def = 7;
- Specified by:
getObjectGraphDefOrBuilder
in interfaceMetaGraphDefOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MetaGraphDef parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MetaGraphDef parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MetaGraphDef parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MetaGraphDef parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MetaGraphDef parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MetaGraphDef parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public MetaGraphDef.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MetaGraphDef.Builder newBuilder()
-
newBuilder
public static MetaGraphDef.Builder newBuilder(MetaGraphDef prototype)
-
toBuilder
public MetaGraphDef.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MetaGraphDef.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MetaGraphDef getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MetaGraphDef> parser()
-
getParserForType
public com.google.protobuf.Parser<MetaGraphDef> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MetaGraphDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-