Interface WriteObjectResponseOrBuilder (2.19.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
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 WriteObjectResponse.WriteStatusCase getWriteStatusCase()
Returns
Type Description
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
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.