Package org.platanios.tensorflow.proto
Class MetaGraphDef.MetaInfoDef
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.platanios.tensorflow.proto.MetaGraphDef.MetaInfoDef
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,MetaGraphDef.MetaInfoDefOrBuilder
- Enclosing class:
- MetaGraphDef
public static final class MetaGraphDef.MetaInfoDef extends com.google.protobuf.GeneratedMessageV3 implements MetaGraphDef.MetaInfoDefOrBuilder
Meta information regarding the graph to be exported. To be used by users of this protocol buffer to encode information regarding their meta graph.
Protobuf typeorg.platanios.tensorflow.proto.MetaGraphDef.MetaInfoDef
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetaGraphDef.MetaInfoDef.Builder
Meta information regarding the graph to be exported.-
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
ANY_INFO_FIELD_NUMBER
static int
FUNCTION_ALIASES_FIELD_NUMBER
static int
META_GRAPH_VERSION_FIELD_NUMBER
static int
STRIPPED_DEFAULT_ATTRS_FIELD_NUMBER
static int
STRIPPED_OP_LIST_FIELD_NUMBER
static int
TAGS_FIELD_NUMBER
static int
TENSORFLOW_GIT_VERSION_FIELD_NUMBER
static int
TENSORFLOW_VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsFunctionAliases(java.lang.String key)
FunctionDef name to aliases mapping.boolean
equals(java.lang.Object obj)
Any
getAnyInfo()
A serialized protobuf.AnyOrBuilder
getAnyInfoOrBuilder()
A serialized protobuf.static MetaGraphDef.MetaInfoDef
getDefaultInstance()
MetaGraphDef.MetaInfoDef
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
java.util.Map<java.lang.String,java.lang.String>
getFunctionAliases()
Deprecated.int
getFunctionAliasesCount()
FunctionDef name to aliases mapping.java.util.Map<java.lang.String,java.lang.String>
getFunctionAliasesMap()
FunctionDef name to aliases mapping.java.lang.String
getFunctionAliasesOrDefault(java.lang.String key, java.lang.String defaultValue)
FunctionDef name to aliases mapping.java.lang.String
getFunctionAliasesOrThrow(java.lang.String key)
FunctionDef name to aliases mapping.java.lang.String
getMetaGraphVersion()
User specified Version string.com.google.protobuf.ByteString
getMetaGraphVersionBytes()
User specified Version string.com.google.protobuf.Parser<MetaGraphDef.MetaInfoDef>
getParserForType()
int
getSerializedSize()
boolean
getStrippedDefaultAttrs()
A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.OpList
getStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def.OpListOrBuilder
getStrippedOpListOrBuilder()
A copy of the OpDefs used by the producer of this graph_def.java.lang.String
getTags(int index)
User supplied tag(s) on the meta_graph and included graph_def.com.google.protobuf.ByteString
getTagsBytes(int index)
User supplied tag(s) on the meta_graph and included graph_def.int
getTagsCount()
User supplied tag(s) on the meta_graph and included graph_def.com.google.protobuf.ProtocolStringList
getTagsList()
User supplied tag(s) on the meta_graph and included graph_def.java.lang.String
getTensorflowGitVersion()
The __git_version__ string of the tensorflow build used to write this graph.com.google.protobuf.ByteString
getTensorflowGitVersionBytes()
The __git_version__ string of the tensorflow build used to write this graph.java.lang.String
getTensorflowVersion()
The __version__ string of the tensorflow build used to write this graph.com.google.protobuf.ByteString
getTensorflowVersionBytes()
The __version__ string of the tensorflow build used to write this graph.com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasAnyInfo()
A serialized protobuf.int
hashCode()
boolean
hasStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static MetaGraphDef.MetaInfoDef.Builder
newBuilder()
static MetaGraphDef.MetaInfoDef.Builder
newBuilder(MetaGraphDef.MetaInfoDef prototype)
MetaGraphDef.MetaInfoDef.Builder
newBuilderForType()
protected MetaGraphDef.MetaInfoDef.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MetaGraphDef.MetaInfoDef
parseDelimitedFrom(java.io.InputStream input)
static MetaGraphDef.MetaInfoDef
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef.MetaInfoDef
parseFrom(byte[] data)
static MetaGraphDef.MetaInfoDef
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef.MetaInfoDef
parseFrom(com.google.protobuf.ByteString data)
static MetaGraphDef.MetaInfoDef
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef.MetaInfoDef
parseFrom(com.google.protobuf.CodedInputStream input)
static MetaGraphDef.MetaInfoDef
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef.MetaInfoDef
parseFrom(java.io.InputStream input)
static MetaGraphDef.MetaInfoDef
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MetaGraphDef.MetaInfoDef
parseFrom(java.nio.ByteBuffer data)
static MetaGraphDef.MetaInfoDef
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MetaGraphDef.MetaInfoDef>
parser()
MetaGraphDef.MetaInfoDef.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_GRAPH_VERSION_FIELD_NUMBER
public static final int META_GRAPH_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRIPPED_OP_LIST_FIELD_NUMBER
public static final int STRIPPED_OP_LIST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANY_INFO_FIELD_NUMBER
public static final int ANY_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TENSORFLOW_VERSION_FIELD_NUMBER
public static final int TENSORFLOW_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TENSORFLOW_GIT_VERSION_FIELD_NUMBER
public static final int TENSORFLOW_GIT_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRIPPED_DEFAULT_ATTRS_FIELD_NUMBER
public static final int STRIPPED_DEFAULT_ATTRS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FUNCTION_ALIASES_FIELD_NUMBER
public static final int FUNCTION_ALIASES_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
-
getMetaGraphVersion
public java.lang.String getMetaGraphVersion()
User specified Version string. Can be the name of the model and revision, steps this model has been trained to, etc.
string meta_graph_version = 1;
- Specified by:
getMetaGraphVersion
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- The metaGraphVersion.
-
getMetaGraphVersionBytes
public com.google.protobuf.ByteString getMetaGraphVersionBytes()
User specified Version string. Can be the name of the model and revision, steps this model has been trained to, etc.
string meta_graph_version = 1;
- Specified by:
getMetaGraphVersionBytes
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- The bytes for metaGraphVersion.
-
hasStrippedOpList
public boolean hasStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.org.platanios.tensorflow.proto.OpList stripped_op_list = 2;
- Specified by:
hasStrippedOpList
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- Whether the strippedOpList field is set.
-
getStrippedOpList
public OpList getStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.org.platanios.tensorflow.proto.OpList stripped_op_list = 2;
- Specified by:
getStrippedOpList
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- The strippedOpList.
-
getStrippedOpListOrBuilder
public OpListOrBuilder getStrippedOpListOrBuilder()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.org.platanios.tensorflow.proto.OpList stripped_op_list = 2;
- Specified by:
getStrippedOpListOrBuilder
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
-
hasAnyInfo
public boolean hasAnyInfo()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.org.platanios.tensorflow.proto.google.Any any_info = 3;
- Specified by:
hasAnyInfo
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- Whether the anyInfo field is set.
-
getAnyInfo
public Any getAnyInfo()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.org.platanios.tensorflow.proto.google.Any any_info = 3;
- Specified by:
getAnyInfo
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- The anyInfo.
-
getAnyInfoOrBuilder
public AnyOrBuilder getAnyInfoOrBuilder()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.org.platanios.tensorflow.proto.google.Any any_info = 3;
- Specified by:
getAnyInfoOrBuilder
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;
- Specified by:
getTagsList
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;
- Specified by:
getTagsCount
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- The count of tags.
-
getTags
public java.lang.String getTags(int index)
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;
- Specified by:
getTags
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index)
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;
- Specified by:
getTagsBytes
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getTensorflowVersion
public java.lang.String getTensorflowVersion()
The __version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_version = 5;
- Specified by:
getTensorflowVersion
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- The tensorflowVersion.
-
getTensorflowVersionBytes
public com.google.protobuf.ByteString getTensorflowVersionBytes()
The __version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_version = 5;
- Specified by:
getTensorflowVersionBytes
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- The bytes for tensorflowVersion.
-
getTensorflowGitVersion
public java.lang.String getTensorflowGitVersion()
The __git_version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_git_version = 6;
- Specified by:
getTensorflowGitVersion
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- The tensorflowGitVersion.
-
getTensorflowGitVersionBytes
public com.google.protobuf.ByteString getTensorflowGitVersionBytes()
The __git_version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_git_version = 6;
- Specified by:
getTensorflowGitVersionBytes
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- The bytes for tensorflowGitVersion.
-
getStrippedDefaultAttrs
public boolean getStrippedDefaultAttrs()
A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.
bool stripped_default_attrs = 7;
- Specified by:
getStrippedDefaultAttrs
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
- Returns:
- The strippedDefaultAttrs.
-
getFunctionAliasesCount
public int getFunctionAliasesCount()
Description copied from interface:MetaGraphDef.MetaInfoDefOrBuilder
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
- Specified by:
getFunctionAliasesCount
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
-
containsFunctionAliases
public boolean containsFunctionAliases(java.lang.String key)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
- Specified by:
containsFunctionAliases
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
-
getFunctionAliases
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getFunctionAliases()
Deprecated.UsegetFunctionAliasesMap()
instead.- Specified by:
getFunctionAliases
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
-
getFunctionAliasesMap
public java.util.Map<java.lang.String,java.lang.String> getFunctionAliasesMap()
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
- Specified by:
getFunctionAliasesMap
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
-
getFunctionAliasesOrDefault
public java.lang.String getFunctionAliasesOrDefault(java.lang.String key, java.lang.String defaultValue)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
- Specified by:
getFunctionAliasesOrDefault
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
-
getFunctionAliasesOrThrow
public java.lang.String getFunctionAliasesOrThrow(java.lang.String key)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
- Specified by:
getFunctionAliasesOrThrow
in interfaceMetaGraphDef.MetaInfoDefOrBuilder
-
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.MetaInfoDef parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef.MetaInfoDef parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef.MetaInfoDef parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef.MetaInfoDef 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.MetaInfoDef parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef.MetaInfoDef parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetaGraphDef.MetaInfoDef parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MetaGraphDef.MetaInfoDef parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MetaGraphDef.MetaInfoDef parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MetaGraphDef.MetaInfoDef parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MetaGraphDef.MetaInfoDef parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MetaGraphDef.MetaInfoDef parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public MetaGraphDef.MetaInfoDef.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MetaGraphDef.MetaInfoDef.Builder newBuilder()
-
newBuilder
public static MetaGraphDef.MetaInfoDef.Builder newBuilder(MetaGraphDef.MetaInfoDef prototype)
-
toBuilder
public MetaGraphDef.MetaInfoDef.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MetaGraphDef.MetaInfoDef.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MetaGraphDef.MetaInfoDef getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MetaGraphDef.MetaInfoDef> parser()
-
getParserForType
public com.google.protobuf.Parser<MetaGraphDef.MetaInfoDef> 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.MetaInfoDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-