public static final class MetaGraphDef.MetaInfoDef.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder> 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 type
tensorflow.MetaGraphDef.MetaInfoDef| Modifier and Type | Method and Description |
|---|---|
MetaGraphDef.MetaInfoDef.Builder |
addAllTags(java.lang.Iterable<java.lang.String> values)
User supplied tag(s) on the meta_graph and included graph_def.
|
MetaGraphDef.MetaInfoDef.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
MetaGraphDef.MetaInfoDef.Builder |
addTags(java.lang.String value)
User supplied tag(s) on the meta_graph and included graph_def.
|
MetaGraphDef.MetaInfoDef.Builder |
addTagsBytes(com.google.protobuf.ByteString value)
User supplied tag(s) on the meta_graph and included graph_def.
|
MetaGraphDef.MetaInfoDef |
build() |
MetaGraphDef.MetaInfoDef |
buildPartial() |
MetaGraphDef.MetaInfoDef.Builder |
clear() |
MetaGraphDef.MetaInfoDef.Builder |
clearAnyInfo()
A serialized protobuf.
|
MetaGraphDef.MetaInfoDef.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MetaGraphDef.MetaInfoDef.Builder |
clearMetaGraphVersion()
User specified Version string.
|
MetaGraphDef.MetaInfoDef.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MetaGraphDef.MetaInfoDef.Builder |
clearStrippedDefaultAttrs()
A flag to denote whether default-valued attrs have been stripped from
the nodes in this graph_def.
|
MetaGraphDef.MetaInfoDef.Builder |
clearStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def.
|
MetaGraphDef.MetaInfoDef.Builder |
clearTags()
User supplied tag(s) on the meta_graph and included graph_def.
|
MetaGraphDef.MetaInfoDef.Builder |
clearTensorflowGitVersion()
The __git_version__ string of the tensorflow build used to write this
graph.
|
MetaGraphDef.MetaInfoDef.Builder |
clearTensorflowVersion()
The __version__ string of the tensorflow build used to write this graph.
|
MetaGraphDef.MetaInfoDef.Builder |
clone() |
com.google.protobuf.Any |
getAnyInfo()
A serialized protobuf.
|
com.google.protobuf.Any.Builder |
getAnyInfoBuilder()
A serialized protobuf.
|
com.google.protobuf.AnyOrBuilder |
getAnyInfoOrBuilder()
A serialized protobuf.
|
MetaGraphDef.MetaInfoDef |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getMetaGraphVersion()
User specified Version string.
|
com.google.protobuf.ByteString |
getMetaGraphVersionBytes()
User specified Version string.
|
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.
|
OpList.Builder |
getStrippedOpListBuilder()
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.
|
boolean |
hasAnyInfo()
A serialized protobuf.
|
boolean |
hasStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MetaGraphDef.MetaInfoDef.Builder |
mergeAnyInfo(com.google.protobuf.Any value)
A serialized protobuf.
|
MetaGraphDef.MetaInfoDef.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef.MetaInfoDef.Builder |
mergeFrom(com.google.protobuf.Message other) |
MetaGraphDef.MetaInfoDef.Builder |
mergeFrom(MetaGraphDef.MetaInfoDef other) |
MetaGraphDef.MetaInfoDef.Builder |
mergeStrippedOpList(OpList value)
A copy of the OpDefs used by the producer of this graph_def.
|
MetaGraphDef.MetaInfoDef.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MetaGraphDef.MetaInfoDef.Builder |
setAnyInfo(com.google.protobuf.Any.Builder builderForValue)
A serialized protobuf.
|
MetaGraphDef.MetaInfoDef.Builder |
setAnyInfo(com.google.protobuf.Any value)
A serialized protobuf.
|
MetaGraphDef.MetaInfoDef.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
MetaGraphDef.MetaInfoDef.Builder |
setMetaGraphVersion(java.lang.String value)
User specified Version string.
|
MetaGraphDef.MetaInfoDef.Builder |
setMetaGraphVersionBytes(com.google.protobuf.ByteString value)
User specified Version string.
|
MetaGraphDef.MetaInfoDef.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
MetaGraphDef.MetaInfoDef.Builder |
setStrippedDefaultAttrs(boolean value)
A flag to denote whether default-valued attrs have been stripped from
the nodes in this graph_def.
|
MetaGraphDef.MetaInfoDef.Builder |
setStrippedOpList(OpList.Builder builderForValue)
A copy of the OpDefs used by the producer of this graph_def.
|
MetaGraphDef.MetaInfoDef.Builder |
setStrippedOpList(OpList value)
A copy of the OpDefs used by the producer of this graph_def.
|
MetaGraphDef.MetaInfoDef.Builder |
setTags(int index,
java.lang.String value)
User supplied tag(s) on the meta_graph and included graph_def.
|
MetaGraphDef.MetaInfoDef.Builder |
setTensorflowGitVersion(java.lang.String value)
The __git_version__ string of the tensorflow build used to write this
graph.
|
MetaGraphDef.MetaInfoDef.Builder |
setTensorflowGitVersionBytes(com.google.protobuf.ByteString value)
The __git_version__ string of the tensorflow build used to write this
graph.
|
MetaGraphDef.MetaInfoDef.Builder |
setTensorflowVersion(java.lang.String value)
The __version__ string of the tensorflow build used to write this graph.
|
MetaGraphDef.MetaInfoDef.Builder |
setTensorflowVersionBytes(com.google.protobuf.ByteString value)
The __version__ string of the tensorflow build used to write this graph.
|
MetaGraphDef.MetaInfoDef.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MetaGraphDef.MetaInfoDef build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MetaGraphDef.MetaInfoDef buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MetaGraphDef.MetaInfoDef.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder mergeFrom(MetaGraphDef.MetaInfoDef other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetaGraphDef.MetaInfoDef.Builder>java.io.IOExceptionpublic 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;getMetaGraphVersion in interface MetaGraphDef.MetaInfoDefOrBuilderpublic 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;getMetaGraphVersionBytes in interface MetaGraphDef.MetaInfoDefOrBuilderpublic MetaGraphDef.MetaInfoDef.Builder setMetaGraphVersion(java.lang.String value)
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;value - The metaGraphVersion to set.public MetaGraphDef.MetaInfoDef.Builder clearMetaGraphVersion()
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;public MetaGraphDef.MetaInfoDef.Builder setMetaGraphVersionBytes(com.google.protobuf.ByteString value)
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;value - The bytes for metaGraphVersion to set.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.
.tensorflow.OpList stripped_op_list = 2;hasStrippedOpList in interface MetaGraphDef.MetaInfoDefOrBuilderpublic 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.
.tensorflow.OpList stripped_op_list = 2;getStrippedOpList in interface MetaGraphDef.MetaInfoDefOrBuilderpublic MetaGraphDef.MetaInfoDef.Builder setStrippedOpList(OpList value)
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;public MetaGraphDef.MetaInfoDef.Builder setStrippedOpList(OpList.Builder builderForValue)
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;public MetaGraphDef.MetaInfoDef.Builder mergeStrippedOpList(OpList value)
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;public MetaGraphDef.MetaInfoDef.Builder clearStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;public OpList.Builder getStrippedOpListBuilder()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;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.
.tensorflow.OpList stripped_op_list = 2;getStrippedOpListOrBuilder in interface MetaGraphDef.MetaInfoDefOrBuilderpublic boolean hasAnyInfo()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;hasAnyInfo in interface MetaGraphDef.MetaInfoDefOrBuilderpublic com.google.protobuf.Any getAnyInfo()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;getAnyInfo in interface MetaGraphDef.MetaInfoDefOrBuilderpublic MetaGraphDef.MetaInfoDef.Builder setAnyInfo(com.google.protobuf.Any value)
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;public MetaGraphDef.MetaInfoDef.Builder setAnyInfo(com.google.protobuf.Any.Builder builderForValue)
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;public MetaGraphDef.MetaInfoDef.Builder mergeAnyInfo(com.google.protobuf.Any value)
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;public MetaGraphDef.MetaInfoDef.Builder clearAnyInfo()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;public com.google.protobuf.Any.Builder getAnyInfoBuilder()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;public com.google.protobuf.AnyOrBuilder getAnyInfoOrBuilder()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;getAnyInfoOrBuilder in interface MetaGraphDef.MetaInfoDefOrBuilderpublic 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;getTagsList in interface MetaGraphDef.MetaInfoDefOrBuilderpublic 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;getTagsCount in interface MetaGraphDef.MetaInfoDefOrBuilderpublic 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;getTags in interface MetaGraphDef.MetaInfoDefOrBuilderindex - The index of the element to return.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;getTagsBytes in interface MetaGraphDef.MetaInfoDefOrBuilderindex - The index of the value to return.public MetaGraphDef.MetaInfoDef.Builder setTags(int index, java.lang.String value)
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;index - The index to set the value at.value - The tags to set.public MetaGraphDef.MetaInfoDef.Builder addTags(java.lang.String value)
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;value - The tags to add.public MetaGraphDef.MetaInfoDef.Builder addAllTags(java.lang.Iterable<java.lang.String> values)
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;values - The tags to add.public MetaGraphDef.MetaInfoDef.Builder clearTags()
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;public MetaGraphDef.MetaInfoDef.Builder addTagsBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the tags to add.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;getTensorflowVersion in interface MetaGraphDef.MetaInfoDefOrBuilderpublic 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;getTensorflowVersionBytes in interface MetaGraphDef.MetaInfoDefOrBuilderpublic MetaGraphDef.MetaInfoDef.Builder setTensorflowVersion(java.lang.String value)
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;value - The tensorflowVersion to set.public MetaGraphDef.MetaInfoDef.Builder clearTensorflowVersion()
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;public MetaGraphDef.MetaInfoDef.Builder setTensorflowVersionBytes(com.google.protobuf.ByteString value)
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;value - The bytes for tensorflowVersion to set.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;getTensorflowGitVersion in interface MetaGraphDef.MetaInfoDefOrBuilderpublic 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;getTensorflowGitVersionBytes in interface MetaGraphDef.MetaInfoDefOrBuilderpublic MetaGraphDef.MetaInfoDef.Builder setTensorflowGitVersion(java.lang.String value)
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;value - The tensorflowGitVersion to set.public MetaGraphDef.MetaInfoDef.Builder clearTensorflowGitVersion()
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;public MetaGraphDef.MetaInfoDef.Builder setTensorflowGitVersionBytes(com.google.protobuf.ByteString value)
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;value - The bytes for tensorflowGitVersion to set.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;getStrippedDefaultAttrs in interface MetaGraphDef.MetaInfoDefOrBuilderpublic MetaGraphDef.MetaInfoDef.Builder setStrippedDefaultAttrs(boolean value)
A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.
bool stripped_default_attrs = 7;value - The strippedDefaultAttrs to set.public MetaGraphDef.MetaInfoDef.Builder clearStrippedDefaultAttrs()
A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.
bool stripped_default_attrs = 7;public final MetaGraphDef.MetaInfoDef.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public final MetaGraphDef.MetaInfoDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>