Interface BidiWriteObjectResponseOrBuilder (2.48.1)

public interface BidiWriteObjectResponseOrBuilder 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

getWriteHandle()

public abstract BidiWriteHandle getWriteHandle()

An optional write handle that will periodically be present in response messages. Clients should save it for later use in establishing a new stream if a connection is interrupted.

optional .google.storage.v2.BidiWriteHandle write_handle = 3;

Returns
Type Description
BidiWriteHandle

The writeHandle.

getWriteHandleOrBuilder()

public abstract BidiWriteHandleOrBuilder getWriteHandleOrBuilder()

An optional write handle that will periodically be present in response messages. Clients should save it for later use in establishing a new stream if a connection is interrupted.

optional .google.storage.v2.BidiWriteHandle write_handle = 3;

Returns
Type Description
BidiWriteHandleOrBuilder

getWriteStatusCase()

public abstract BidiWriteObjectResponse.WriteStatusCase getWriteStatusCase()
Returns
Type Description
BidiWriteObjectResponse.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.

hasWriteHandle()

public abstract boolean hasWriteHandle()

An optional write handle that will periodically be present in response messages. Clients should save it for later use in establishing a new stream if a connection is interrupted.

optional .google.storage.v2.BidiWriteHandle write_handle = 3;

Returns
Type Description
boolean

Whether the writeHandle field is set.