SnapshotMetadataRecord

public final class SnapshotMetadataRecord

 This stores the metadata information present in each snapshot record.
 
Protobuf type tensorflow.data.experimental.SnapshotMetadataRecord

Nested Classes

class SnapshotMetadataRecord.Builder
 This stores the metadata information present in each snapshot record. 

Constants

int CREATION_TIMESTAMP_FIELD_NUMBER
int DTYPE_FIELD_NUMBER
int FINALIZED_FIELD_NUMBER
int GRAPH_HASH_FIELD_NUMBER
int NUM_ELEMENTS_FIELD_NUMBER
int RUN_ID_FIELD_NUMBER
int VERSION_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
long
getCreationTimestamp()
 Time when we started creating this snapshot.
static SnapshotMetadataRecord
SnapshotMetadataRecord
final static 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.
int
final com.google.protobuf.UnknownFieldSet
long
getVersion()
 Version of the snapshot data file format.
int
final boolean
static SnapshotMetadataRecord.Builder
static SnapshotMetadataRecord.Builder
SnapshotMetadataRecord.Builder
static SnapshotMetadataRecord
parseDelimitedFrom(InputStream input)
static SnapshotMetadataRecord
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SnapshotMetadataRecord
parseFrom(ByteBuffer data)
static SnapshotMetadataRecord
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SnapshotMetadataRecord
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SnapshotMetadataRecord
parseFrom(com.google.protobuf.CodedInputStream input)
static SnapshotMetadataRecord
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SnapshotMetadataRecord
parseFrom(com.google.protobuf.ByteString data)
static SnapshotMetadataRecord
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SnapshotMetadataRecord
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
SnapshotMetadataRecord.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int CREATION_TIMESTAMP_FIELD_NUMBER

Constant Value: 3

public static final int DTYPE_FIELD_NUMBER

Constant Value: 5

public static final int FINALIZED_FIELD_NUMBER

Constant Value: 1000

public static final int GRAPH_HASH_FIELD_NUMBER

Constant Value: 1

public static final int NUM_ELEMENTS_FIELD_NUMBER

Constant Value: 6

public static final int RUN_ID_FIELD_NUMBER

Constant Value: 2

public static final int VERSION_FIELD_NUMBER

Constant Value: 4

Public Methods

public boolean equals (Object obj)

public long getCreationTimestamp ()

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

public static SnapshotMetadataRecord getDefaultInstance ()

public SnapshotMetadataRecord getDefaultInstanceForType ()

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

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 getParserForType ()

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 int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public long getVersion ()

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

public int hashCode ()

public final boolean isInitialized ()

public static SnapshotMetadataRecord.Builder newBuilder ()

public static SnapshotMetadataRecord.Builder newBuilder (SnapshotMetadataRecord prototype)

public SnapshotMetadataRecord.Builder newBuilderForType ()

public static SnapshotMetadataRecord parseDelimitedFrom (InputStream input)

Throws
IOException

public static SnapshotMetadataRecord parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SnapshotMetadataRecord parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static SnapshotMetadataRecord parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SnapshotMetadataRecord parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static SnapshotMetadataRecord parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static SnapshotMetadataRecord parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static SnapshotMetadataRecord parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static SnapshotMetadataRecord parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SnapshotMetadataRecord parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public SnapshotMetadataRecord.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException