Interface BundleMetadataOrBuilder (3.11.0)

public interface BundleMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Time at which the documents snapshot is taken for this bundle.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Time at which the documents snapshot is taken for this bundle.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getId()

public abstract String getId()

The ID of the bundle.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The ID of the bundle.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getTotalBytes()

public abstract long getTotalBytes()

The size of the bundle in bytes, excluding this BundleMetadata.

uint64 total_bytes = 5;

Returns
TypeDescription
long

The totalBytes.

getTotalDocuments()

public abstract int getTotalDocuments()

The number of documents in the bundle.

uint32 total_documents = 4;

Returns
TypeDescription
int

The totalDocuments.

getVersion()

public abstract int getVersion()

The schema version of the bundle.

uint32 version = 3;

Returns
TypeDescription
int

The version.

hasCreateTime()

public abstract boolean hasCreateTime()

Time at which the documents snapshot is taken for this bundle.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.