Package com.google.storage.v2
Class BidiReadObjectRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BidiReadObjectRequest.Builder>
com.google.storage.v2.BidiReadObjectRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BidiReadObjectRequestOrBuilder,Cloneable
- Enclosing class:
- BidiReadObjectRequest
public static final class BidiReadObjectRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BidiReadObjectRequest.Builder>
implements BidiReadObjectRequestOrBuilder
Request message for [BidiReadObject][google.storage.v2.Storage.BidiReadObject].Protobuf type
google.storage.v2.BidiReadObjectRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllReadRanges(Iterable<? extends ReadRange> values) Optional.addReadRanges(int index, ReadRange value) Optional.addReadRanges(int index, ReadRange.Builder builderForValue) Optional.addReadRanges(ReadRange value) Optional.addReadRanges(ReadRange.Builder builderForValue) Optional.Optional.addReadRangesBuilder(int index) Optional.build()clear()Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.getReadRanges(int index) Optional.getReadRangesBuilder(int index) Optional.Optional.intOptional.Optional.getReadRangesOrBuilder(int index) Optional.List<? extends ReadRangeOrBuilder>Optional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(BidiReadObjectRequest other) Optional.removeReadRanges(int index) Optional.Optional.setReadObjectSpec(BidiReadObjectSpec.Builder builderForValue) Optional.setReadRanges(int index, ReadRange value) Optional.setReadRanges(int index, ReadRange.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BidiReadObjectRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BidiReadObjectRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BidiReadObjectRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BidiReadObjectRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BidiReadObjectRequest.Builder>
-
mergeFrom
public BidiReadObjectRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BidiReadObjectRequest.Builder>- Throws:
IOException
-
hasReadObjectSpec
public boolean hasReadObjectSpec()Optional. The first message of each stream should set this field. If this is not the first message, an error is returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasReadObjectSpecin interfaceBidiReadObjectRequestOrBuilder- Returns:
- Whether the readObjectSpec field is set.
-
getReadObjectSpec
Optional. The first message of each stream should set this field. If this is not the first message, an error is returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadObjectSpecin interfaceBidiReadObjectRequestOrBuilder- Returns:
- The readObjectSpec.
-
setReadObjectSpec
Optional. The first message of each stream should set this field. If this is not the first message, an error is returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1 [(.google.api.field_behavior) = OPTIONAL]; -
setReadObjectSpec
Optional. The first message of each stream should set this field. If this is not the first message, an error is returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1 [(.google.api.field_behavior) = OPTIONAL]; -
mergeReadObjectSpec
Optional. The first message of each stream should set this field. If this is not the first message, an error is returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1 [(.google.api.field_behavior) = OPTIONAL]; -
clearReadObjectSpec
Optional. The first message of each stream should set this field. If this is not the first message, an error is returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getReadObjectSpecBuilder
Optional. The first message of each stream should set this field. If this is not the first message, an error is returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getReadObjectSpecOrBuilder
Optional. The first message of each stream should set this field. If this is not the first message, an error is returned. Describes the object to read.
.google.storage.v2.BidiReadObjectSpec read_object_spec = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadObjectSpecOrBuilderin interfaceBidiReadObjectRequestOrBuilder
-
getReadRangesList
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadRangesListin interfaceBidiReadObjectRequestOrBuilder
-
getReadRangesCount
public int getReadRangesCount()Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadRangesCountin interfaceBidiReadObjectRequestOrBuilder
-
getReadRanges
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadRangesin interfaceBidiReadObjectRequestOrBuilder
-
setReadRanges
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
setReadRanges
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addReadRanges
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addReadRanges
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addReadRanges
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addReadRanges
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addAllReadRanges
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
clearReadRanges
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
removeReadRanges
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getReadRangesBuilder
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getReadRangesOrBuilder
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadRangesOrBuilderin interfaceBidiReadObjectRequestOrBuilder
-
getReadRangesOrBuilderList
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadRangesOrBuilderListin interfaceBidiReadObjectRequestOrBuilder
-
addReadRangesBuilder
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
addReadRangesBuilder
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getReadRangesBuilderList
Optional. 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 delivered in increasing offset order. There are no ordering guarantees across ranges. When no ranges are provided, the response message doesn't include `ObjectRangeData`. For full object downloads, the offset and size can be set to `0`.
repeated .google.storage.v2.ReadRange read_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];
-