Interface QueryWriteStatusResponseOrBuilder (2.17.1)

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
TypeDescription
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
TypeDescription
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
TypeDescription
ObjectOrBuilder

getWriteStatusCase()

public abstract QueryWriteStatusResponse.WriteStatusCase getWriteStatusCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the resource field is set.