- 2.63.0 (latest)
- 2.62.1
- 2.60.0
- 2.59.0
- 2.58.1
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.3
- 2.52.3
- 2.50.0
- 2.49.0
- 2.48.2
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static final class BidiReadObjectResponse.Builder extends GeneratedMessage.Builder<BidiReadObjectResponse.Builder> implements BidiReadObjectResponseOrBuilderResponse message for BidiReadObject.
Protobuf type google.storage.v2.BidiReadObjectResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BidiReadObjectResponse.BuilderImplements
BidiReadObjectResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllObjectDataRanges(Iterable<? extends ObjectRangeData> values)
public BidiReadObjectResponse.Builder addAllObjectDataRanges(Iterable<? extends ObjectRangeData> values) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is 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> |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
addObjectDataRanges(ObjectRangeData value)
public BidiReadObjectResponse.Builder addObjectDataRanges(ObjectRangeData value) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ObjectRangeData |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
addObjectDataRanges(ObjectRangeData.Builder builderForValue)
public BidiReadObjectResponse.Builder addObjectDataRanges(ObjectRangeData.Builder builderForValue) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ObjectRangeData.Builder |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
addObjectDataRanges(int index, ObjectRangeData value)
public BidiReadObjectResponse.Builder addObjectDataRanges(int index, ObjectRangeData value) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ObjectRangeData |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
addObjectDataRanges(int index, ObjectRangeData.Builder builderForValue)
public BidiReadObjectResponse.Builder addObjectDataRanges(int index, ObjectRangeData.Builder builderForValue) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ObjectRangeData.Builder |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
addObjectDataRangesBuilder()
public ObjectRangeData.Builder addObjectDataRangesBuilder() A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Returns | |
|---|---|
| Type | Description |
ObjectRangeData.Builder |
|
addObjectDataRangesBuilder(int index)
public ObjectRangeData.Builder addObjectDataRangesBuilder(int index) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is 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 |
| Returns | |
|---|---|
| Type | Description |
ObjectRangeData.Builder |
|
build()
public BidiReadObjectResponse build()| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse |
|
buildPartial()
public BidiReadObjectResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse |
|
clear()
public BidiReadObjectResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
clearMetadata()
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;
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
clearObjectDataRanges()
public BidiReadObjectResponse.Builder clearObjectDataRanges() A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
clearReadHandle()
public BidiReadObjectResponse.Builder clearReadHandle()This field is periodically refreshed, however it might 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 |
BidiReadObjectResponse.Builder |
|
getDefaultInstanceForType()
public BidiReadObjectResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMetadata()
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. |
getMetadataBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
Object.Builder |
|
getMetadataOrBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
ObjectOrBuilder |
|
getObjectDataRanges(int index)
public ObjectRangeData getObjectDataRanges(int index) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is 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 |
| Returns | |
|---|---|
| Type | Description |
ObjectRangeData |
|
getObjectDataRangesBuilder(int index)
public ObjectRangeData.Builder getObjectDataRangesBuilder(int index) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is 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 |
| Returns | |
|---|---|
| Type | Description |
ObjectRangeData.Builder |
|
getObjectDataRangesBuilderList()
public List<ObjectRangeData.Builder> getObjectDataRangesBuilderList() A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getObjectDataRangesCount()
public int getObjectDataRangesCount() A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is 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 might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Returns | |
|---|---|
| Type | Description |
List<ObjectRangeData> |
|
getObjectDataRangesOrBuilder(int index)
public ObjectRangeDataOrBuilder getObjectDataRangesOrBuilder(int index) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is 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 |
| Returns | |
|---|---|
| Type | Description |
ObjectRangeDataOrBuilder |
|
getObjectDataRangesOrBuilderList()
public List<? extends ObjectRangeDataOrBuilder> getObjectDataRangesOrBuilderList() A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is 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 is periodically refreshed, however it might 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 |
BidiReadHandle |
The readHandle. |
getReadHandleBuilder()
public BidiReadHandle.Builder getReadHandleBuilder()This field is periodically refreshed, however it might 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 |
BidiReadHandle.Builder |
|
getReadHandleOrBuilder()
public BidiReadHandleOrBuilder getReadHandleOrBuilder()This field is periodically refreshed, however it might 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 |
BidiReadHandleOrBuilder |
|
hasMetadata()
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 is periodically refreshed, however it might 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BidiReadObjectResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BidiReadObjectResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
mergeFrom(BidiReadObjectResponse other)
public BidiReadObjectResponse.Builder mergeFrom(BidiReadObjectResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
BidiReadObjectResponse |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
mergeMetadata(Object value)
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 |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
mergeReadHandle(BidiReadHandle value)
public BidiReadObjectResponse.Builder mergeReadHandle(BidiReadHandle value)This field is periodically refreshed, however it might 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;
| Parameter | |
|---|---|
| Name | Description |
value |
BidiReadHandle |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
removeObjectDataRanges(int index)
public BidiReadObjectResponse.Builder removeObjectDataRanges(int index) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is 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 |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
setMetadata(Object value)
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 |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
setMetadata(Object.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Object.Builder |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
setObjectDataRanges(int index, ObjectRangeData value)
public BidiReadObjectResponse.Builder setObjectDataRanges(int index, ObjectRangeData value) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ObjectRangeData |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
setObjectDataRanges(int index, ObjectRangeData.Builder builderForValue)
public BidiReadObjectResponse.Builder setObjectDataRanges(int index, ObjectRangeData.Builder builderForValue) A portion of the object's data. The service might 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 might pipeline multiple responses belonging to different read
requests. Each ObjectRangeData entry has a read_id that is set
to the same value as the corresponding source read request.
repeated .google.storage.v2.ObjectRangeData object_data_ranges = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ObjectRangeData.Builder |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
setReadHandle(BidiReadHandle value)
public BidiReadObjectResponse.Builder setReadHandle(BidiReadHandle value)This field is periodically refreshed, however it might 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;
| Parameter | |
|---|---|
| Name | Description |
value |
BidiReadHandle |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|
setReadHandle(BidiReadHandle.Builder builderForValue)
public BidiReadObjectResponse.Builder setReadHandle(BidiReadHandle.Builder builderForValue)This field is periodically refreshed, however it might 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BidiReadHandle.Builder |
| Returns | |
|---|---|
| Type | Description |
BidiReadObjectResponse.Builder |
|