Class SavedTensorSlices.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SavedTensorSlices.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SavedTensorSlices.Builder>
org.tensorflow.proto.SavedTensorSlices.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, SavedTensorSlicesOrBuilder
- Enclosing class:
SavedTensorSlices
public static final class SavedTensorSlices.Builder
extends GeneratedMessageV3.Builder<SavedTensorSlices.Builder>
implements SavedTensorSlicesOrBuilder
Each record in a v3 checkpoint file is a serialized SavedTensorSlices message.Protobuf type
tensorflow.SavedTensorSlices-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()This exists in all but the first item of each checkpoint file.This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.clone()getData()This exists in all but the first item of each checkpoint file.This exists in all but the first item of each checkpoint file.This exists in all but the first item of each checkpoint file.static final Descriptors.DescriptorgetMeta()This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.booleanhasData()This exists in all but the first item of each checkpoint file.booleanhasMeta()This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeData(SavedSlice value) This exists in all but the first item of each checkpoint file.mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(SavedTensorSlices other) mergeMeta(SavedTensorSliceMeta value) This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.mergeUnknownFields(UnknownFieldSet unknownFields) setData(SavedSlice value) This exists in all but the first item of each checkpoint file.setData(SavedSlice.Builder builderForValue) This exists in all but the first item of each checkpoint file.setField(Descriptors.FieldDescriptor field, Object value) setMeta(SavedTensorSliceMeta value) This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.setMeta(SavedTensorSliceMeta.Builder builderForValue) This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
setRepeatedField
public SavedTensorSlices.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SavedTensorSlices.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
mergeFrom
public SavedTensorSlices.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SavedTensorSlices.Builder>- Throws:
IOException
-
hasMeta
public boolean hasMeta()This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;- Specified by:
hasMetain interfaceSavedTensorSlicesOrBuilder- Returns:
- Whether the meta field is set.
-
getMeta
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;- Specified by:
getMetain interfaceSavedTensorSlicesOrBuilder- Returns:
- The meta.
-
setMeta
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1; -
setMeta
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1; -
mergeMeta
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1; -
clearMeta
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1; -
getMetaBuilder
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1; -
getMetaOrBuilder
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;- Specified by:
getMetaOrBuilderin interfaceSavedTensorSlicesOrBuilder
-
hasData
public boolean hasData()This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;- Specified by:
hasDatain interfaceSavedTensorSlicesOrBuilder- Returns:
- Whether the data field is set.
-
getData
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;- Specified by:
getDatain interfaceSavedTensorSlicesOrBuilder- Returns:
- The data.
-
setData
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2; -
setData
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2; -
mergeData
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2; -
clearData
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2; -
getDataBuilder
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2; -
getDataOrBuilder
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;- Specified by:
getDataOrBuilderin interfaceSavedTensorSlicesOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<SavedTensorSlices.Builder>
-