Interface QueryWriteStatusResponseOrBuilder (2.1.10)

public interface QueryWriteStatusResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPersistedSize()

public abstract long getPersistedSize()

The total number of bytes that have been processed for the given object from all WriteObject calls. This is the correct value for the 'write_offset' field to use when resuming the WriteObject operation. Only set if the upload has not finalized.

int64 persisted_size = 1;

Returns
Type Description
long

The persistedSize.

getResource()

public abstract Object getResource()

A resource containing the metadata for the uploaded object. Only set if the upload has finalized.

.google.storage.v2.Object resource = 2;

Returns
Type Description
Object

The resource.

getResourceOrBuilder()

public abstract ObjectOrBuilder getResourceOrBuilder()

A resource containing the metadata for the uploaded object. Only set if the upload has finalized.

.google.storage.v2.Object resource = 2;

Returns
Type Description
ObjectOrBuilder

getWriteStatusCase()

public abstract QueryWriteStatusResponse.WriteStatusCase getWriteStatusCase()
Returns
Type Description
QueryWriteStatusResponse.WriteStatusCase

hasPersistedSize()

public abstract boolean hasPersistedSize()

The total number of bytes that have been processed for the given object from all WriteObject calls. This is the correct value for the 'write_offset' field to use when resuming the WriteObject operation. Only set if the upload has not finalized.

int64 persisted_size = 1;

Returns
Type Description
boolean

Whether the persistedSize field is set.

hasResource()

public abstract boolean hasResource()

A resource containing the metadata for the uploaded object. Only set if the upload has finalized.

.google.storage.v2.Object resource = 2;

Returns
Type Description
boolean

Whether the resource field is set.