Package com.google.storage.v2
Interface BidiReadObjectResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BidiReadObjectResponse,BidiReadObjectResponse.Builder
public interface BidiReadObjectResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionMetadata of the object whose media is being returned.Metadata of the object whose media is being returned.getObjectDataRanges(int index) A portion of the object's data.intA portion of the object's data.A portion of the object's data.getObjectDataRangesOrBuilder(int index) A portion of the object's data.List<? extends ObjectRangeDataOrBuilder>A portion of the object's data.This field will be periodically refreshed, however it may not be set in every response.This field will be periodically refreshed, however it may not be set in every response.booleanMetadata of the object whose media is being returned.booleanThis field will be periodically refreshed, however it may not be set in every response.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
-
getObjectDataRangesList
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; -
getObjectDataRanges
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
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; -
getObjectDataRangesOrBuilderList
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; -
getObjectDataRangesOrBuilder
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; -
hasMetadata
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:
- Whether the metadata field is set.
-
getMetadata
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:
- The metadata.
-
getMetadataOrBuilder
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; -
hasReadHandle
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:
- Whether the readHandle field is set.
-
getReadHandle
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;- Returns:
- The readHandle.
-
getReadHandleOrBuilder
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;
-