Interface BundleMetadataOrBuilder (3.21.4)

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
Type Description
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
Type Description
TimestampOrBuilder

getId()

public abstract String getId()

The ID of the bundle.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The ID of the bundle.

string id = 1;

Returns
Type Description
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
Type Description
long

The totalBytes.

getTotalDocuments()

public abstract int getTotalDocuments()

The number of documents in the bundle.

uint32 total_documents = 4;

Returns
Type Description
int

The totalDocuments.

getVersion()

public abstract int getVersion()

The schema version of the bundle.

uint32 version = 3;

Returns
Type Description
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
Type Description
boolean

Whether the createTime field is set.