Interface WriteObjectResponseOrBuilder (2.34.0)

public interface WriteObjectResponseOrBuilder 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. 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 WriteObjectResponse.WriteStatusCase getWriteStatusCase()
Returns
TypeDescription
WriteObjectResponse.WriteStatusCase

hasPersistedSize()

public abstract boolean hasPersistedSize()

The total number of bytes that have been processed for the given object from all WriteObject calls. 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.