Package com.google.storage.v2
Interface BidiReadObjectRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BidiReadObjectRequest,BidiReadObjectRequest.Builder
public interface BidiReadObjectRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe first message of each stream should set this field.The first message of each stream should set this field.getReadRanges(int index) Provides a list of 0 or more (up to 100) ranges to read.intProvides a list of 0 or more (up to 100) ranges to read.Provides a list of 0 or more (up to 100) ranges to read.getReadRangesOrBuilder(int index) Provides a list of 0 or more (up to 100) ranges to read.List<? extends ReadRangeOrBuilder>Provides a list of 0 or more (up to 100) ranges to read.booleanThe first message of each stream should set this field.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
-
hasReadObjectSpec
boolean hasReadObjectSpec()The first message of each stream should set this field. If this is not the first message, an error will be returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1;- Returns:
- Whether the readObjectSpec field is set.
-
getReadObjectSpec
BidiReadObjectSpec getReadObjectSpec()The first message of each stream should set this field. If this is not the first message, an error will be returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1;- Returns:
- The readObjectSpec.
-
getReadObjectSpecOrBuilder
BidiReadObjectSpecOrBuilder getReadObjectSpecOrBuilder()The first message of each stream should set this field. If this is not the first message, an error will be returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1; -
getReadRangesList
Provides a list of 0 or more (up to 100) ranges to read. If a single range is large enough to require multiple responses, they are guaranteed to be delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message will not include ObjectRangeData. For full object downloads, the offset and size can be set to 0.
repeated .google.storage.v2.ReadRange read_ranges = 8; -
getReadRanges
Provides a list of 0 or more (up to 100) ranges to read. If a single range is large enough to require multiple responses, they are guaranteed to be delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message will not include ObjectRangeData. For full object downloads, the offset and size can be set to 0.
repeated .google.storage.v2.ReadRange read_ranges = 8; -
getReadRangesCount
int getReadRangesCount()Provides a list of 0 or more (up to 100) ranges to read. If a single range is large enough to require multiple responses, they are guaranteed to be delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message will not include ObjectRangeData. For full object downloads, the offset and size can be set to 0.
repeated .google.storage.v2.ReadRange read_ranges = 8; -
getReadRangesOrBuilderList
List<? extends ReadRangeOrBuilder> getReadRangesOrBuilderList()Provides a list of 0 or more (up to 100) ranges to read. If a single range is large enough to require multiple responses, they are guaranteed to be delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message will not include ObjectRangeData. For full object downloads, the offset and size can be set to 0.
repeated .google.storage.v2.ReadRange read_ranges = 8; -
getReadRangesOrBuilder
Provides a list of 0 or more (up to 100) ranges to read. If a single range is large enough to require multiple responses, they are guaranteed to be delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message will not include ObjectRangeData. For full object downloads, the offset and size can be set to 0.
repeated .google.storage.v2.ReadRange read_ranges = 8;
-