public static final class BidiReadObjectResponse.Builder extends GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder> implements BidiReadObjectResponseOrBuilder
Response message for BidiReadObject.
Protobuf type google.storage.v2.BidiReadObjectResponse
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
addAllObjectDataRanges(Iterable<? extends ObjectRangeData> values)
public BidiReadObjectResponse.Builder addAllObjectDataRanges(Iterable<? extends ObjectRangeData> values)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.storage.v2.ObjectRangeData>
|
addObjectDataRanges(ObjectRangeData value)
public BidiReadObjectResponse.Builder addObjectDataRanges(ObjectRangeData value)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
addObjectDataRanges(ObjectRangeData.Builder builderForValue)
public BidiReadObjectResponse.Builder addObjectDataRanges(ObjectRangeData.Builder builderForValue)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
addObjectDataRanges(int index, ObjectRangeData value)
public BidiReadObjectResponse.Builder addObjectDataRanges(int index, ObjectRangeData value)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
addObjectDataRanges(int index, ObjectRangeData.Builder builderForValue)
public BidiReadObjectResponse.Builder addObjectDataRanges(int index, ObjectRangeData.Builder builderForValue)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
addObjectDataRangesBuilder()
public ObjectRangeData.Builder addObjectDataRangesBuilder()
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
addObjectDataRangesBuilder(int index)
public ObjectRangeData.Builder addObjectDataRangesBuilder(int index)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BidiReadObjectResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BidiReadObjectResponse build()
buildPartial()
public BidiReadObjectResponse buildPartial()
clear()
public BidiReadObjectResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BidiReadObjectResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BidiReadObjectResponse.Builder clearMetadata()
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
clearObjectDataRanges()
public BidiReadObjectResponse.Builder clearObjectDataRanges()
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
clearOneof(Descriptors.OneofDescriptor oneof)
public BidiReadObjectResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReadHandle()
public BidiReadObjectResponse.Builder clearReadHandle()
This field will be periodically refreshed, however it may not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
clone()
public BidiReadObjectResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public BidiReadObjectResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Object getMetadata()
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
Returns |
Type |
Description |
Object |
The metadata.
|
public Object.Builder getMetadataBuilder()
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
public ObjectOrBuilder getMetadataOrBuilder()
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
getObjectDataRanges(int index)
public ObjectRangeData getObjectDataRanges(int index)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
Parameter |
Name |
Description |
index |
int
|
getObjectDataRangesBuilder(int index)
public ObjectRangeData.Builder getObjectDataRangesBuilder(int index)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
Parameter |
Name |
Description |
index |
int
|
getObjectDataRangesBuilderList()
public List<ObjectRangeData.Builder> getObjectDataRangesBuilderList()
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
getObjectDataRangesCount()
public int getObjectDataRangesCount()
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
Returns |
Type |
Description |
int |
|
getObjectDataRangesList()
public List<ObjectRangeData> getObjectDataRangesList()
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
getObjectDataRangesOrBuilder(int index)
public ObjectRangeDataOrBuilder getObjectDataRangesOrBuilder(int index)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
Parameter |
Name |
Description |
index |
int
|
getObjectDataRangesOrBuilderList()
public List<? extends ObjectRangeDataOrBuilder> getObjectDataRangesOrBuilderList()
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
Returns |
Type |
Description |
List<? extends com.google.storage.v2.ObjectRangeDataOrBuilder> |
|
getReadHandle()
public BidiReadHandle getReadHandle()
This field will be periodically refreshed, however it may not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
getReadHandleBuilder()
public BidiReadHandle.Builder getReadHandleBuilder()
This field will be periodically refreshed, however it may not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
getReadHandleOrBuilder()
public BidiReadHandleOrBuilder getReadHandleOrBuilder()
This field will be periodically refreshed, however it may not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
public boolean hasMetadata()
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
Returns |
Type |
Description |
boolean |
Whether the metadata field is set.
|
hasReadHandle()
public boolean hasReadHandle()
This field will be periodically refreshed, however it may not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
Returns |
Type |
Description |
boolean |
Whether the readHandle field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public BidiReadObjectResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BidiReadObjectResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(BidiReadObjectResponse other)
public BidiReadObjectResponse.Builder mergeFrom(BidiReadObjectResponse other)
public BidiReadObjectResponse.Builder mergeMetadata(Object value)
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
Parameter |
Name |
Description |
value |
Object
|
mergeReadHandle(BidiReadHandle value)
public BidiReadObjectResponse.Builder mergeReadHandle(BidiReadHandle value)
This field will be periodically refreshed, however it may not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BidiReadObjectResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeObjectDataRanges(int index)
public BidiReadObjectResponse.Builder removeObjectDataRanges(int index)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BidiReadObjectResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BidiReadObjectResponse.Builder setMetadata(Object value)
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
Parameter |
Name |
Description |
value |
Object
|
public BidiReadObjectResponse.Builder setMetadata(Object.Builder builderForValue)
Metadata of the object whose media is being returned.
Only populated in the first response in the stream and not populated when
the stream is opened with a read handle.
.google.storage.v2.Object metadata = 4;
setObjectDataRanges(int index, ObjectRangeData value)
public BidiReadObjectResponse.Builder setObjectDataRanges(int index, ObjectRangeData value)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
setObjectDataRanges(int index, ObjectRangeData.Builder builderForValue)
public BidiReadObjectResponse.Builder setObjectDataRanges(int index, ObjectRangeData.Builder builderForValue)
A portion of the object's data. The service may leave data
empty for any given ReadResponse. This enables the service to inform the
client that the request is still live while it is running an operation to
generate more data.
The service may pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry will have a read_id
set to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
setReadHandle(BidiReadHandle value)
public BidiReadObjectResponse.Builder setReadHandle(BidiReadHandle value)
This field will be periodically refreshed, however it may not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
setReadHandle(BidiReadHandle.Builder builderForValue)
public BidiReadObjectResponse.Builder setReadHandle(BidiReadHandle.Builder builderForValue)
This field will be periodically refreshed, however it may not be set in
every response. It allows the client to more efficiently open subsequent
bidirectional streams to the same object.
.google.storage.v2.BidiReadHandle read_handle = 7;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BidiReadObjectResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BidiReadObjectResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides