Interface BidiReadObjectRequestOrBuilder (2.48.1)

public interface BidiReadObjectRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReadObjectSpec()

public abstract 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
Type Description
BidiReadObjectSpec

The readObjectSpec.

getReadObjectSpecOrBuilder()

public abstract 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;

Returns
Type Description
BidiReadObjectSpecOrBuilder

getReadRanges(int index)

public abstract ReadRange getReadRanges(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ReadRange

getReadRangesCount()

public abstract 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;

Returns
Type Description
int

getReadRangesList()

public abstract List<ReadRange> 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;

Returns
Type Description
List<ReadRange>

getReadRangesOrBuilder(int index)

public abstract ReadRangeOrBuilder getReadRangesOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ReadRangeOrBuilder

getReadRangesOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.storage.v2.ReadRangeOrBuilder>

hasReadObjectSpec()

public abstract 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
Type Description
boolean

Whether the readObjectSpec field is set.