Package com.google.storage.v2
Class BidiReadObjectResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
com.google.storage.v2.BidiReadObjectResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BidiReadObjectResponseOrBuilder,Cloneable
- Enclosing class:
- BidiReadObjectResponse
public static final class BidiReadObjectResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
implements BidiReadObjectResponseOrBuilder
Response message for BidiReadObject.Protobuf type
google.storage.v2.BidiReadObjectResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllObjectDataRanges(Iterable<? extends ObjectRangeData> values) A portion of the object's data.addObjectDataRanges(int index, ObjectRangeData value) A portion of the object's data.addObjectDataRanges(int index, ObjectRangeData.Builder builderForValue) A portion of the object's data.A portion of the object's data.addObjectDataRanges(ObjectRangeData.Builder builderForValue) A portion of the object's data.A portion of the object's data.addObjectDataRangesBuilder(int index) A portion of the object's data.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Metadata of the object whose media is being returned.A portion of the object's data.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) This field will be periodically refreshed, however it may not be set in every response.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMetadata of the object whose media is being returned.Metadata 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.getObjectDataRangesBuilder(int index) A portion of the object's data.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(BidiReadObjectResponse other) mergeMetadata(Object value) Metadata of the object whose media is being returned.mergeReadHandle(BidiReadHandle value) This field will be periodically refreshed, however it may not be set in every response.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeObjectDataRanges(int index) A portion of the object's data.setMetadata(Object value) Metadata of the object whose media is being returned.setMetadata(Object.Builder builderForValue) Metadata of the object whose media is being returned.setObjectDataRanges(int index, ObjectRangeData value) A portion of the object's data.setObjectDataRanges(int index, ObjectRangeData.Builder builderForValue) A portion of the object's data.setReadHandle(BidiReadHandle value) This field will be periodically refreshed, however it may not be set in every response.setReadHandle(BidiReadHandle.Builder builderForValue) This field will be periodically refreshed, however it may not be set in every response.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.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.GeneratedMessageV3.Builder<BidiReadObjectResponse.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
-
setField
public BidiReadObjectResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
-
clearField
public BidiReadObjectResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
-
clearOneof
public BidiReadObjectResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
-
setRepeatedField
public BidiReadObjectResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
-
addRepeatedField
public BidiReadObjectResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BidiReadObjectResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
-
mergeFrom
public BidiReadObjectResponse.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<BidiReadObjectResponse.Builder>- Throws:
IOException
-
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;- Specified by:
getObjectDataRangesListin interfaceBidiReadObjectResponseOrBuilder
-
getObjectDataRangesCount
public 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;- Specified by:
getObjectDataRangesCountin interfaceBidiReadObjectResponseOrBuilder
-
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;- Specified by:
getObjectDataRangesin interfaceBidiReadObjectResponseOrBuilder
-
setObjectDataRanges
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; -
setObjectDataRanges
public BidiReadObjectResponse.Builder setObjectDataRanges(int index, ObjectRangeData.Builder builderForValue) 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; -
addObjectDataRanges
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; -
addObjectDataRanges
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; -
addObjectDataRanges
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; -
addObjectDataRanges
public BidiReadObjectResponse.Builder addObjectDataRanges(int index, ObjectRangeData.Builder builderForValue) 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; -
addAllObjectDataRanges
public BidiReadObjectResponse.Builder addAllObjectDataRanges(Iterable<? extends ObjectRangeData> values) 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; -
clearObjectDataRanges
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; -
removeObjectDataRanges
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; -
getObjectDataRangesBuilder
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;- Specified by:
getObjectDataRangesOrBuilderin interfaceBidiReadObjectResponseOrBuilder
-
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;- Specified by:
getObjectDataRangesOrBuilderListin interfaceBidiReadObjectResponseOrBuilder
-
addObjectDataRangesBuilder
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; -
addObjectDataRangesBuilder
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; -
getObjectDataRangesBuilderList
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
public 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;- Specified by:
hasMetadatain interfaceBidiReadObjectResponseOrBuilder- Returns:
- Whether the metadata field is set.
-
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;- Specified by:
getMetadatain interfaceBidiReadObjectResponseOrBuilder- Returns:
- The metadata.
-
setMetadata
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; -
setMetadata
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; -
mergeMetadata
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; -
clearMetadata
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; -
getMetadataBuilder
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; -
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;- Specified by:
getMetadataOrBuilderin interfaceBidiReadObjectResponseOrBuilder
-
hasReadHandle
public 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;- Specified by:
hasReadHandlein interfaceBidiReadObjectResponseOrBuilder- Returns:
- Whether the readHandle field is set.
-
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;- Specified by:
getReadHandlein interfaceBidiReadObjectResponseOrBuilder- Returns:
- The readHandle.
-
setReadHandle
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; -
setReadHandle
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; -
mergeReadHandle
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; -
clearReadHandle
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; -
getReadHandleBuilder
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; -
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;- Specified by:
getReadHandleOrBuilderin interfaceBidiReadObjectResponseOrBuilder
-
setUnknownFields
public final BidiReadObjectResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
-
mergeUnknownFields
public final BidiReadObjectResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BidiReadObjectResponse.Builder>
-