public static final class SavedSliceMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder> implements SavedSliceMetaOrBuilder
Metadata describing the set of slices of the same tensor saved in a checkpoint file.Protobuf type
tensorflow.SavedSliceMeta
Modifier and Type | Method and Description |
---|---|
SavedSliceMeta.Builder |
addAllSlice(Iterable<? extends TensorSliceProto> values)
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SavedSliceMeta.Builder |
addSlice(int index,
TensorSliceProto.Builder builderForValue)
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
addSlice(int index,
TensorSliceProto value)
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
addSlice(TensorSliceProto.Builder builderForValue)
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
addSlice(TensorSliceProto value)
Explicit list of slices saved in the checkpoint file.
|
TensorSliceProto.Builder |
addSliceBuilder()
Explicit list of slices saved in the checkpoint file.
|
TensorSliceProto.Builder |
addSliceBuilder(int index)
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta |
build() |
SavedSliceMeta |
buildPartial() |
SavedSliceMeta.Builder |
clear() |
SavedSliceMeta.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SavedSliceMeta.Builder |
clearName()
Name of the tensor.
|
SavedSliceMeta.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SavedSliceMeta.Builder |
clearShape()
Shape of the tensor
|
SavedSliceMeta.Builder |
clearSlice()
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
clearType()
Type of the tensor
|
SavedSliceMeta.Builder |
clone() |
SavedSliceMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name of the tensor.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the tensor.
|
TensorShapeProto |
getShape()
Shape of the tensor
|
TensorShapeProto.Builder |
getShapeBuilder()
Shape of the tensor
|
TensorShapeProtoOrBuilder |
getShapeOrBuilder()
Shape of the tensor
|
TensorSliceProto |
getSlice(int index)
Explicit list of slices saved in the checkpoint file.
|
TensorSliceProto.Builder |
getSliceBuilder(int index)
Explicit list of slices saved in the checkpoint file.
|
List<TensorSliceProto.Builder> |
getSliceBuilderList()
Explicit list of slices saved in the checkpoint file.
|
int |
getSliceCount()
Explicit list of slices saved in the checkpoint file.
|
List<TensorSliceProto> |
getSliceList()
Explicit list of slices saved in the checkpoint file.
|
TensorSliceProtoOrBuilder |
getSliceOrBuilder(int index)
Explicit list of slices saved in the checkpoint file.
|
List<? extends TensorSliceProtoOrBuilder> |
getSliceOrBuilderList()
Explicit list of slices saved in the checkpoint file.
|
DataType |
getType()
Type of the tensor
|
int |
getTypeValue()
Type of the tensor
|
boolean |
hasShape()
Shape of the tensor
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SavedSliceMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedSliceMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
SavedSliceMeta.Builder |
mergeFrom(SavedSliceMeta other) |
SavedSliceMeta.Builder |
mergeShape(TensorShapeProto value)
Shape of the tensor
|
SavedSliceMeta.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SavedSliceMeta.Builder |
removeSlice(int index)
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SavedSliceMeta.Builder |
setName(String value)
Name of the tensor.
|
SavedSliceMeta.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the tensor.
|
SavedSliceMeta.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SavedSliceMeta.Builder |
setShape(TensorShapeProto.Builder builderForValue)
Shape of the tensor
|
SavedSliceMeta.Builder |
setShape(TensorShapeProto value)
Shape of the tensor
|
SavedSliceMeta.Builder |
setSlice(int index,
TensorSliceProto.Builder builderForValue)
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
setSlice(int index,
TensorSliceProto value)
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
setType(DataType value)
Type of the tensor
|
SavedSliceMeta.Builder |
setTypeValue(int value)
Type of the tensor
|
SavedSliceMeta.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public SavedSliceMeta.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public SavedSliceMeta getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SavedSliceMeta build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SavedSliceMeta buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SavedSliceMeta.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public SavedSliceMeta.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public SavedSliceMeta.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public SavedSliceMeta.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public SavedSliceMeta.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public SavedSliceMeta.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public SavedSliceMeta.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SavedSliceMeta.Builder>
public SavedSliceMeta.Builder mergeFrom(SavedSliceMeta other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public SavedSliceMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SavedSliceMeta.Builder>
IOException
public String getName()
Name of the tensor.
string name = 1;
getName
in interface SavedSliceMetaOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Name of the tensor.
string name = 1;
getNameBytes
in interface SavedSliceMetaOrBuilder
public SavedSliceMeta.Builder setName(String value)
Name of the tensor.
string name = 1;
public SavedSliceMeta.Builder clearName()
Name of the tensor.
string name = 1;
public SavedSliceMeta.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the tensor.
string name = 1;
public boolean hasShape()
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
hasShape
in interface SavedSliceMetaOrBuilder
public TensorShapeProto getShape()
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
getShape
in interface SavedSliceMetaOrBuilder
public SavedSliceMeta.Builder setShape(TensorShapeProto value)
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
public SavedSliceMeta.Builder setShape(TensorShapeProto.Builder builderForValue)
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
public SavedSliceMeta.Builder mergeShape(TensorShapeProto value)
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
public SavedSliceMeta.Builder clearShape()
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
public TensorShapeProto.Builder getShapeBuilder()
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
public TensorShapeProtoOrBuilder getShapeOrBuilder()
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;
getShapeOrBuilder
in interface SavedSliceMetaOrBuilder
public int getTypeValue()
Type of the tensor
.tensorflow.DataType type = 3;
getTypeValue
in interface SavedSliceMetaOrBuilder
public SavedSliceMeta.Builder setTypeValue(int value)
Type of the tensor
.tensorflow.DataType type = 3;
public DataType getType()
Type of the tensor
.tensorflow.DataType type = 3;
getType
in interface SavedSliceMetaOrBuilder
public SavedSliceMeta.Builder setType(DataType value)
Type of the tensor
.tensorflow.DataType type = 3;
public SavedSliceMeta.Builder clearType()
Type of the tensor
.tensorflow.DataType type = 3;
public List<TensorSliceProto> getSliceList()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
getSliceList
in interface SavedSliceMetaOrBuilder
public int getSliceCount()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
getSliceCount
in interface SavedSliceMetaOrBuilder
public TensorSliceProto getSlice(int index)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
getSlice
in interface SavedSliceMetaOrBuilder
public SavedSliceMeta.Builder setSlice(int index, TensorSliceProto value)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public SavedSliceMeta.Builder setSlice(int index, TensorSliceProto.Builder builderForValue)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public SavedSliceMeta.Builder addSlice(TensorSliceProto value)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public SavedSliceMeta.Builder addSlice(int index, TensorSliceProto value)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public SavedSliceMeta.Builder addSlice(TensorSliceProto.Builder builderForValue)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public SavedSliceMeta.Builder addSlice(int index, TensorSliceProto.Builder builderForValue)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public SavedSliceMeta.Builder addAllSlice(Iterable<? extends TensorSliceProto> values)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public SavedSliceMeta.Builder clearSlice()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public SavedSliceMeta.Builder removeSlice(int index)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public TensorSliceProto.Builder getSliceBuilder(int index)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public TensorSliceProtoOrBuilder getSliceOrBuilder(int index)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
getSliceOrBuilder
in interface SavedSliceMetaOrBuilder
public List<? extends TensorSliceProtoOrBuilder> getSliceOrBuilderList()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
getSliceOrBuilderList
in interface SavedSliceMetaOrBuilder
public TensorSliceProto.Builder addSliceBuilder()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public TensorSliceProto.Builder addSliceBuilder(int index)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public List<TensorSliceProto.Builder> getSliceBuilderList()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;
public final SavedSliceMeta.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
public final SavedSliceMeta.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>
Copyright © 2015–2018. All rights reserved.