public static final class BidiReadObjectRequest.Builder extends GeneratedMessageV3.Builder<BidiReadObjectRequest.Builder> implements BidiReadObjectRequestOrBuilder
Request message for BidiReadObject.
Protobuf type google.storage.v2.BidiReadObjectRequest
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
addAllReadRanges(Iterable<? extends ReadRange> values)
public BidiReadObjectRequest.Builder addAllReadRanges(Iterable<? extends ReadRange> values)
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 |
values |
Iterable<? extends com.google.storage.v2.ReadRange>
|
addReadRanges(ReadRange value)
public BidiReadObjectRequest.Builder addReadRanges(ReadRange value)
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;
addReadRanges(ReadRange.Builder builderForValue)
public BidiReadObjectRequest.Builder addReadRanges(ReadRange.Builder builderForValue)
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;
addReadRanges(int index, ReadRange value)
public BidiReadObjectRequest.Builder addReadRanges(int index, ReadRange value)
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;
addReadRanges(int index, ReadRange.Builder builderForValue)
public BidiReadObjectRequest.Builder addReadRanges(int index, ReadRange.Builder builderForValue)
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;
addReadRangesBuilder()
public ReadRange.Builder addReadRangesBuilder()
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;
addReadRangesBuilder(int index)
public ReadRange.Builder addReadRangesBuilder(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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BidiReadObjectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BidiReadObjectRequest build()
buildPartial()
public BidiReadObjectRequest buildPartial()
clear()
public BidiReadObjectRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BidiReadObjectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BidiReadObjectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReadObjectSpec()
public BidiReadObjectRequest.Builder clearReadObjectSpec()
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;
clearReadRanges()
public BidiReadObjectRequest.Builder clearReadRanges()
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;
clone()
public BidiReadObjectRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BidiReadObjectRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReadObjectSpec()
public 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;
getReadObjectSpecBuilder()
public BidiReadObjectSpec.Builder getReadObjectSpecBuilder()
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;
getReadObjectSpecOrBuilder()
public 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;
getReadRanges(int index)
public 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
|
getReadRangesBuilder(int index)
public ReadRange.Builder getReadRangesBuilder(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
|
getReadRangesBuilderList()
public List<ReadRange.Builder> getReadRangesBuilderList()
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()
public 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 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;
getReadRangesOrBuilder(int index)
public 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
|
getReadRangesOrBuilderList()
public 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public BidiReadObjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BidiReadObjectRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(BidiReadObjectRequest other)
public BidiReadObjectRequest.Builder mergeFrom(BidiReadObjectRequest other)
mergeReadObjectSpec(BidiReadObjectSpec value)
public BidiReadObjectRequest.Builder mergeReadObjectSpec(BidiReadObjectSpec value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BidiReadObjectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeReadRanges(int index)
public BidiReadObjectRequest.Builder removeReadRanges(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public BidiReadObjectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReadObjectSpec(BidiReadObjectSpec value)
public BidiReadObjectRequest.Builder setReadObjectSpec(BidiReadObjectSpec value)
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;
setReadObjectSpec(BidiReadObjectSpec.Builder builderForValue)
public BidiReadObjectRequest.Builder setReadObjectSpec(BidiReadObjectSpec.Builder builderForValue)
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;
setReadRanges(int index, ReadRange value)
public BidiReadObjectRequest.Builder setReadRanges(int index, ReadRange value)
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;
setReadRanges(int index, ReadRange.Builder builderForValue)
public BidiReadObjectRequest.Builder setReadRanges(int index, ReadRange.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BidiReadObjectRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BidiReadObjectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides