Interface BidiWriteObjectRedirectedErrorOrBuilder (2.48.1)

public interface BidiWriteObjectRedirectedErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGeneration()

public abstract long getGeneration()

The generation of the object that triggered the redirect. Note that if this error was returned as part of an appendable object create, this object generation is now successfully created and append_object_spec should be used when reconnecting.

optional int64 generation = 3;

Returns
Type Description
long

The generation.

getRoutingToken()

public abstract String getRoutingToken()

The routing token that should be used when reopening the write stream.

optional string routing_token = 1;

Returns
Type Description
String

The routingToken.

getRoutingTokenBytes()

public abstract ByteString getRoutingTokenBytes()

The routing token that should be used when reopening the write stream.

optional string routing_token = 1;

Returns
Type Description
ByteString

The bytes for routingToken.

getWriteHandle()

public abstract BidiWriteHandle getWriteHandle()

Opaque value describing a previous write.

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

Returns
Type Description
BidiWriteHandle

The writeHandle.

getWriteHandleOrBuilder()

public abstract BidiWriteHandleOrBuilder getWriteHandleOrBuilder()

Opaque value describing a previous write.

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

Returns
Type Description
BidiWriteHandleOrBuilder

hasGeneration()

public abstract boolean hasGeneration()

The generation of the object that triggered the redirect. Note that if this error was returned as part of an appendable object create, this object generation is now successfully created and append_object_spec should be used when reconnecting.

optional int64 generation = 3;

Returns
Type Description
boolean

Whether the generation field is set.

hasRoutingToken()

public abstract boolean hasRoutingToken()

The routing token that should be used when reopening the write stream.

optional string routing_token = 1;

Returns
Type Description
boolean

Whether the routingToken field is set.

hasWriteHandle()

public abstract boolean hasWriteHandle()

Opaque value describing a previous write.

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

Returns
Type Description
boolean

Whether the writeHandle field is set.