public static final class
SnapshotMetadataRecord.Builder
This stores the metadata information present in each snapshot record.Protobuf type
tensorflow.data.experimental.SnapshotMetadataRecord
Public Methods
SnapshotMetadataRecord.Builder |
addAllDtype(Iterable<? extends DataType> values)
A list of tensor dtype corresponding to each element of the snapshot. |
SnapshotMetadataRecord.Builder |
addAllDtypeValue(Iterable<Integer> values)
A list of tensor dtype corresponding to each element of the snapshot. |
SnapshotMetadataRecord.Builder | |
SnapshotMetadataRecord.Builder |
addDtypeValue(int value)
A list of tensor dtype corresponding to each element of the snapshot. |
SnapshotMetadataRecord.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SnapshotMetadataRecord |
build()
|
SnapshotMetadataRecord | |
SnapshotMetadataRecord.Builder |
clear()
|
SnapshotMetadataRecord.Builder |
clearCreationTimestamp()
Time when we started creating this snapshot. |
SnapshotMetadataRecord.Builder |
clearDtype()
A list of tensor dtype corresponding to each element of the snapshot. |
SnapshotMetadataRecord.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
SnapshotMetadataRecord.Builder |
clearFinalized()
bool finalized = 1000;
|
SnapshotMetadataRecord.Builder |
clearGraphHash()
Stores the fingerprint of the graph that describes the dataset that is snapshotted. |
SnapshotMetadataRecord.Builder |
clearNumElements()
The number of elements in the snapshot. |
SnapshotMetadataRecord.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
SnapshotMetadataRecord.Builder |
clearRunId()
Run ID that this snapshot corresponds to. |
SnapshotMetadataRecord.Builder |
clearVersion()
Version of the snapshot data file format. |
SnapshotMetadataRecord.Builder |
clone()
|
long |
getCreationTimestamp()
Time when we started creating this snapshot. |
SnapshotMetadataRecord | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
DataType |
getDtype(int index)
A list of tensor dtype corresponding to each element of the snapshot. |
int |
getDtypeCount()
A list of tensor dtype corresponding to each element of the snapshot. |
List<DataType> |
getDtypeList()
A list of tensor dtype corresponding to each element of the snapshot. |
int |
getDtypeValue(int index)
A list of tensor dtype corresponding to each element of the snapshot. |
List<Integer> |
getDtypeValueList()
A list of tensor dtype corresponding to each element of the snapshot. |
boolean |
getFinalized()
bool finalized = 1000;
|
String |
getGraphHash()
Stores the fingerprint of the graph that describes the dataset that is snapshotted. |
com.google.protobuf.ByteString |
getGraphHashBytes()
Stores the fingerprint of the graph that describes the dataset that is snapshotted. |
long |
getNumElements()
The number of elements in the snapshot. |
String |
getRunId()
Run ID that this snapshot corresponds to. |
com.google.protobuf.ByteString |
getRunIdBytes()
Run ID that this snapshot corresponds to. |
long |
getVersion()
Version of the snapshot data file format. |
final boolean | |
SnapshotMetadataRecord.Builder |
mergeFrom(com.google.protobuf.Message other)
|
SnapshotMetadataRecord.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
final SnapshotMetadataRecord.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
SnapshotMetadataRecord.Builder |
setCreationTimestamp(long value)
Time when we started creating this snapshot. |
SnapshotMetadataRecord.Builder | |
SnapshotMetadataRecord.Builder |
setDtypeValue(int index, int value)
A list of tensor dtype corresponding to each element of the snapshot. |
SnapshotMetadataRecord.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SnapshotMetadataRecord.Builder |
setFinalized(boolean value)
bool finalized = 1000;
|
SnapshotMetadataRecord.Builder |
setGraphHash(String value)
Stores the fingerprint of the graph that describes the dataset that is snapshotted. |
SnapshotMetadataRecord.Builder |
setGraphHashBytes(com.google.protobuf.ByteString value)
Stores the fingerprint of the graph that describes the dataset that is snapshotted. |
SnapshotMetadataRecord.Builder |
setNumElements(long value)
The number of elements in the snapshot. |
SnapshotMetadataRecord.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
SnapshotMetadataRecord.Builder |
setRunId(String value)
Run ID that this snapshot corresponds to. |
SnapshotMetadataRecord.Builder |
setRunIdBytes(com.google.protobuf.ByteString value)
Run ID that this snapshot corresponds to. |
final SnapshotMetadataRecord.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
SnapshotMetadataRecord.Builder |
setVersion(long value)
Version of the snapshot data file format. |
Inherited Methods
Public Methods
public SnapshotMetadataRecord.Builder addAllDtype (Iterable<? extends DataType> values)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;
public SnapshotMetadataRecord.Builder addAllDtypeValue (Iterable<Integer> values)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;
public SnapshotMetadataRecord.Builder addDtype (DataType value)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;
public SnapshotMetadataRecord.Builder addDtypeValue (int value)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;