Interface BidiReadObjectRedirectedErrorOrBuilder (2.54.0)

public interface BidiReadObjectRedirectedErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReadHandle()

public abstract BidiReadHandle getReadHandle()

The read handle for the redirected read. If set, the client may use this in the BidiReadObjectSpec when retrying the read stream.

.google.storage.v2.BidiReadHandle read_handle = 1;

Returns
Type Description
BidiReadHandle

The readHandle.

getReadHandleOrBuilder()

public abstract BidiReadHandleOrBuilder getReadHandleOrBuilder()

The read handle for the redirected read. If set, the client may use this in the BidiReadObjectSpec when retrying the read stream.

.google.storage.v2.BidiReadHandle read_handle = 1;

Returns
Type Description
BidiReadHandleOrBuilder

getRoutingToken()

public abstract String getRoutingToken()

The routing token the client must use when retrying the read stream. This value must be provided in the header x-goog-request-params, with key routing_token and this string verbatim as the value.

optional string routing_token = 2;

Returns
Type Description
String

The routingToken.

getRoutingTokenBytes()

public abstract ByteString getRoutingTokenBytes()

The routing token the client must use when retrying the read stream. This value must be provided in the header x-goog-request-params, with key routing_token and this string verbatim as the value.

optional string routing_token = 2;

Returns
Type Description
ByteString

The bytes for routingToken.

hasReadHandle()

public abstract boolean hasReadHandle()

The read handle for the redirected read. If set, the client may use this in the BidiReadObjectSpec when retrying the read stream.

.google.storage.v2.BidiReadHandle read_handle = 1;

Returns
Type Description
boolean

Whether the readHandle field is set.

hasRoutingToken()

public abstract boolean hasRoutingToken()

The routing token the client must use when retrying the read stream. This value must be provided in the header x-goog-request-params, with key routing_token and this string verbatim as the value.

optional string routing_token = 2;

Returns
Type Description
boolean

Whether the routingToken field is set.