public static final class BidiReadObjectRedirectedError.Builder extends GeneratedMessageV3.Builder<BidiReadObjectRedirectedError.Builder> implements BidiReadObjectRedirectedErrorOrBuilder
Error proto containing details for a redirected read. This error may be
attached as details for an ABORTED response to BidiReadObject.
Protobuf type google.storage.v2.BidiReadObjectRedirectedError
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BidiReadObjectRedirectedError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BidiReadObjectRedirectedError build()
buildPartial()
public BidiReadObjectRedirectedError buildPartial()
clear()
public BidiReadObjectRedirectedError.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BidiReadObjectRedirectedError.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BidiReadObjectRedirectedError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReadHandle()
public BidiReadObjectRedirectedError.Builder clearReadHandle()
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;
clearRoutingToken()
public BidiReadObjectRedirectedError.Builder clearRoutingToken()
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;
clone()
public BidiReadObjectRedirectedError.Builder clone()
Overrides
getDefaultInstanceForType()
public BidiReadObjectRedirectedError getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReadHandle()
public 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;
getReadHandleBuilder()
public BidiReadHandle.Builder getReadHandleBuilder()
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;
getReadHandleOrBuilder()
public 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;
getRoutingToken()
public 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 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 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public BidiReadObjectRedirectedError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BidiReadObjectRedirectedError.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(BidiReadObjectRedirectedError other)
public BidiReadObjectRedirectedError.Builder mergeFrom(BidiReadObjectRedirectedError other)
mergeReadHandle(BidiReadHandle value)
public BidiReadObjectRedirectedError.Builder mergeReadHandle(BidiReadHandle value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BidiReadObjectRedirectedError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BidiReadObjectRedirectedError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReadHandle(BidiReadHandle value)
public BidiReadObjectRedirectedError.Builder setReadHandle(BidiReadHandle value)
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;
setReadHandle(BidiReadHandle.Builder builderForValue)
public BidiReadObjectRedirectedError.Builder setReadHandle(BidiReadHandle.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BidiReadObjectRedirectedError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRoutingToken(String value)
public BidiReadObjectRedirectedError.Builder setRoutingToken(String value)
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;
Parameter |
Name |
Description |
value |
String
The routingToken to set.
|
setRoutingTokenBytes(ByteString value)
public BidiReadObjectRedirectedError.Builder setRoutingTokenBytes(ByteString value)
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for routingToken to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BidiReadObjectRedirectedError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides