Send feedback
Class BidiReadObjectRedirectedError.Builder (2.48.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class BidiReadObjectRedirectedError . Builder extends GeneratedMessageV3 . Builder<BidiReadObjectRedirectedError . Builder > implements BidiReadObjectRedirectedErrorOrBuilder
Error proto containing details for a redirected read. This error is only
returned on initial open in case of a redirect.
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. The client can use this for the
subsequent open.
.google.storage.v2.BidiReadHandle read_handle = 1;
clearRoutingToken()
public BidiReadObjectRedirectedError . Builder clearRoutingToken ()
The routing token that should be used when reopening the read stream.
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. The client can use this for the
subsequent open.
.google.storage.v2.BidiReadHandle read_handle = 1;
getReadHandleBuilder()
public BidiReadHandle . Builder getReadHandleBuilder ()
The read handle for the redirected read. The client can use this for the
subsequent open.
.google.storage.v2.BidiReadHandle read_handle = 1;
getReadHandleOrBuilder()
public 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;
getRoutingToken()
public String getRoutingToken ()
The routing token that should be used when reopening the read stream.
optional string routing_token = 2;
Returns
Type
Description
String
The routingToken.
getRoutingTokenBytes()
public ByteString getRoutingTokenBytes ()
The routing token that should be used when reopening the read stream.
optional string routing_token = 2;
Returns
Type
Description
ByteString
The bytes for routingToken.
hasReadHandle()
public 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
Type
Description
boolean
Whether the readHandle field is set.
hasRoutingToken()
public boolean hasRoutingToken ()
The routing token that should be used when reopening the read stream.
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. The client can use this for the
subsequent open.
.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. The client can use this for the
subsequent open.
.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. The client can use this for the
subsequent open.
.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 that should be used when reopening the read stream.
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 that should be used when reopening the read stream.
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]