SnapshotMetadataRecord.Builder

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
addDtype(DataType value)
 A list of tensor dtype corresponding to each element of the snapshot.
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
setDtype(int index, DataType value)
 A list of tensor dtype corresponding to each element of the snapshot.
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;

public SnapshotMetadataRecord.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public SnapshotMetadataRecord build ()

public SnapshotMetadataRecord buildPartial ()

public SnapshotMetadataRecord.Builder clearCreationTimestamp ()

 Time when we started creating this snapshot.
 
int64 creation_timestamp = 3;

public SnapshotMetadataRecord.Builder clearDtype ()

 A list of tensor dtype corresponding to each element of the snapshot.
 
repeated .tensorflow.DataType dtype = 5;

public SnapshotMetadataRecord.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public SnapshotMetadataRecord.Builder clearFinalized ()

bool finalized = 1000;

public SnapshotMetadataRecord.Builder clearGraphHash ()

 Stores the fingerprint of the graph that describes the dataset that is
 snapshotted.
 
string graph_hash = 1;

public SnapshotMetadataRecord.Builder clearNumElements ()

 The number of elements in the snapshot.
 
int64 num_elements = 6;

public SnapshotMetadataRecord.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public SnapshotMetadataRecord.Builder clearRunId ()

 Run ID that this snapshot corresponds to.
 
string run_id = 2;

public SnapshotMetadataRecord.Builder clearVersion ()

 Version of the snapshot data file format.
 
int64 version = 4;

public long getCreationTimestamp ()

 Time when we started creating this snapshot.
 
int64 creation_timestamp = 3;

public SnapshotMetadataRecord getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public DataType getDtype (int index)

 A list of tensor dtype corresponding to each element of the snapshot.
 
repeated .tensorflow.DataType dtype = 5;

public int getDtypeCount ()

 A list of tensor dtype corresponding to each element of the snapshot.
 
repeated .tensorflow.DataType dtype = 5;

public List<DataType> getDtypeList ()

 A list of tensor dtype corresponding to each element of the snapshot.
 
repeated .tensorflow.DataType dtype = 5;

public int getDtypeValue (int index)

 A list of tensor dtype corresponding to each element of the snapshot.
 
repeated .tensorflow.DataType dtype = 5;

public List<Integer> getDtypeValueList ()

 A list of tensor dtype corresponding to each element of the snapshot.
 
repeated .tensorflow.DataType dtype = 5;

public boolean getFinalized ()

bool finalized = 1000;

public String getGraphHash ()

 Stores the fingerprint of the graph that describes the dataset that is
 snapshotted.
 
string graph_hash = 1;

public com.google.protobuf.ByteString getGraphHashBytes ()

 Stores the fingerprint of the graph that describes the dataset that is
 snapshotted.
 
string graph_hash = 1;

public long getNumElements ()

 The number of elements in the snapshot.
 
int64 num_elements = 6;

public String getRunId ()

 Run ID that this snapshot corresponds to.
 
string run_id = 2;

public com.google.protobuf.ByteString getRunIdBytes ()

 Run ID that this snapshot corresponds to.
 
string run_id = 2;

public long getVersion ()

 Version of the snapshot data file format.
 
int64 version = 4;

public final boolean isInitialized ()

public SnapshotMetadataRecord.Builder mergeFrom (com.google.protobuf.Message other)

public SnapshotMetadataRecord.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public final SnapshotMetadataRecord.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SnapshotMetadataRecord.Builder setCreationTimestamp (long value)

 Time when we started creating this snapshot.
 
int64 creation_timestamp = 3;

public SnapshotMetadataRecord.Builder setDtype (int index, DataType value)

 A list of tensor dtype corresponding to each element of the snapshot.
 
repeated .tensorflow.DataType dtype = 5;

public SnapshotMetadataRecord.Builder setDtypeValue (int index, int value)

 A list of tensor dtype corresponding to each element of the snapshot.
 
repeated .tensorflow.DataType dtype = 5;

public SnapshotMetadataRecord.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public SnapshotMetadataRecord.Builder setFinalized (boolean value)

bool finalized = 1000;

public SnapshotMetadataRecord.Builder setGraphHash (String value)

 Stores the fingerprint of the graph that describes the dataset that is
 snapshotted.
 
string graph_hash = 1;

public SnapshotMetadataRecord.Builder setGraphHashBytes (com.google.protobuf.ByteString value)

 Stores the fingerprint of the graph that describes the dataset that is
 snapshotted.
 
string graph_hash = 1;

public SnapshotMetadataRecord.Builder setNumElements (long value)

 The number of elements in the snapshot.
 
int64 num_elements = 6;

public SnapshotMetadataRecord.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public SnapshotMetadataRecord.Builder setRunId (String value)

 Run ID that this snapshot corresponds to.
 
string run_id = 2;

public SnapshotMetadataRecord.Builder setRunIdBytes (com.google.protobuf.ByteString value)

 Run ID that this snapshot corresponds to.
 
string run_id = 2;

public final SnapshotMetadataRecord.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SnapshotMetadataRecord.Builder setVersion (long value)

 Version of the snapshot data file format.
 
int64 version = 4;