Package com.google.storage.v2
Interface BidiWriteObjectRedirectedErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BidiWriteObjectRedirectedError,BidiWriteObjectRedirectedError.Builder
public interface BidiWriteObjectRedirectedErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe generation of the object that triggered the redirect.The routing token that should be used when reopening the write stream.com.google.protobuf.ByteStringThe routing token that should be used when reopening the write stream.Opaque value describing a previous write.Opaque value describing a previous write.booleanThe generation of the object that triggered the redirect.booleanThe routing token that should be used when reopening the write stream.booleanOpaque value describing a previous write.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
-
hasRoutingToken
boolean hasRoutingToken()The routing token that should be used when reopening the write stream.
optional string routing_token = 1;- Returns:
- Whether the routingToken field is set.
-
getRoutingToken
String getRoutingToken()The routing token that should be used when reopening the write stream.
optional string routing_token = 1;- Returns:
- The routingToken.
-
getRoutingTokenBytes
com.google.protobuf.ByteString getRoutingTokenBytes()The routing token that should be used when reopening the write stream.
optional string routing_token = 1;- Returns:
- The bytes for routingToken.
-
hasWriteHandle
boolean hasWriteHandle()Opaque value describing a previous write.
optional .google.storage.v2.BidiWriteHandle write_handle = 2;- Returns:
- Whether the writeHandle field is set.
-
getWriteHandle
BidiWriteHandle getWriteHandle()Opaque value describing a previous write.
optional .google.storage.v2.BidiWriteHandle write_handle = 2;- Returns:
- The writeHandle.
-
getWriteHandleOrBuilder
BidiWriteHandleOrBuilder getWriteHandleOrBuilder()Opaque value describing a previous write.
optional .google.storage.v2.BidiWriteHandle write_handle = 2; -
hasGeneration
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:
- Whether the generation field is set.
-
getGeneration
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:
- The generation.
-