Package com.google.storage.v2
Interface BidiReadObjectRedirectedErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BidiReadObjectRedirectedError,BidiReadObjectRedirectedError.Builder
public interface BidiReadObjectRedirectedErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe read handle for the redirected read.The read handle for the redirected read.The routing token the client must use when retrying the read stream.com.google.protobuf.ByteStringThe routing token the client must use when retrying the read stream.booleanThe read handle for the redirected read.booleanThe routing token the client must use when retrying the read stream.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasReadHandle
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:
- Whether the readHandle field is set.
-
getReadHandle
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:
- The readHandle.
-
getReadHandleOrBuilder
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; -
hasRoutingToken
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:
- Whether the routingToken field is set.
-
getRoutingToken
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:
- The routingToken.
-
getRoutingTokenBytes
com.google.protobuf.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:
- The bytes for routingToken.
-