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 that should be used when reopening the read stream.com.google.protobuf.ByteStringThe routing token that should be used when reopening the read stream.booleanThe read handle for the redirected read.booleanThe routing token that should be used when reopening 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. The client can use this for the subsequent open.
.google.storage.v2.BidiReadHandle read_handle = 1;- Returns:
- Whether the readHandle field is set.
-
getReadHandle
BidiReadHandle getReadHandle()The read handle for the redirected read. The client can use this for the subsequent open.
.google.storage.v2.BidiReadHandle read_handle = 1;- Returns:
- The readHandle.
-
getReadHandleOrBuilder
BidiReadHandleOrBuilder getReadHandleOrBuilder()The read handle for the redirected read. The client can use this for the subsequent open.
.google.storage.v2.BidiReadHandle read_handle = 1; -
hasRoutingToken
boolean hasRoutingToken()The routing token that should be used when reopening the read stream.
optional string routing_token = 2;- Returns:
- Whether the routingToken field is set.
-
getRoutingToken
String getRoutingToken()The routing token that should be used when reopening the read stream.
optional string routing_token = 2;- Returns:
- The routingToken.
-
getRoutingTokenBytes
com.google.protobuf.ByteString getRoutingTokenBytes()The routing token that should be used when reopening the read stream.
optional string routing_token = 2;- Returns:
- The bytes for routingToken.
-