public static final class ReadObjectResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder> implements ReadObjectResponseOrBuilder
Response message for ReadObject.Protobuf type
google.storage.v2.ReadObjectResponse| Modifier and Type | Method and Description |
|---|---|
ReadObjectResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadObjectResponse |
build() |
ReadObjectResponse |
buildPartial() |
ReadObjectResponse.Builder |
clear() |
ReadObjectResponse.Builder |
clearChecksummedData()
A portion of the data for the object.
|
ReadObjectResponse.Builder |
clearContentRange()
If read_offset and or read_limit was specified on the
ReadObjectRequest, ContentRange will be populated on the first
ReadObjectResponse message of the read stream.
|
ReadObjectResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ReadObjectResponse.Builder |
clearMetadata()
Metadata of the object whose media is being returned.
|
ReadObjectResponse.Builder |
clearObjectChecksums()
The checksums of the complete object.
|
ReadObjectResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ReadObjectResponse.Builder |
clone() |
ChecksummedData |
getChecksummedData()
A portion of the data for the object.
|
ChecksummedData.Builder |
getChecksummedDataBuilder()
A portion of the data for the object.
|
ChecksummedDataOrBuilder |
getChecksummedDataOrBuilder()
A portion of the data for the object.
|
ContentRange |
getContentRange()
If read_offset and or read_limit was specified on the
ReadObjectRequest, ContentRange will be populated on the first
ReadObjectResponse message of the read stream.
|
ContentRange.Builder |
getContentRangeBuilder()
If read_offset and or read_limit was specified on the
ReadObjectRequest, ContentRange will be populated on the first
ReadObjectResponse message of the read stream.
|
ContentRangeOrBuilder |
getContentRangeOrBuilder()
If read_offset and or read_limit was specified on the
ReadObjectRequest, ContentRange will be populated on the first
ReadObjectResponse message of the read stream.
|
ReadObjectResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Object |
getMetadata()
Metadata of the object whose media is being returned.
|
Object.Builder |
getMetadataBuilder()
Metadata of the object whose media is being returned.
|
ObjectOrBuilder |
getMetadataOrBuilder()
Metadata of the object whose media is being returned.
|
ObjectChecksums |
getObjectChecksums()
The checksums of the complete object.
|
ObjectChecksums.Builder |
getObjectChecksumsBuilder()
The checksums of the complete object.
|
ObjectChecksumsOrBuilder |
getObjectChecksumsOrBuilder()
The checksums of the complete object.
|
boolean |
hasChecksummedData()
A portion of the data for the object.
|
boolean |
hasContentRange()
If read_offset and or read_limit was specified on the
ReadObjectRequest, ContentRange will be populated on the first
ReadObjectResponse message of the read stream.
|
boolean |
hasMetadata()
Metadata of the object whose media is being returned.
|
boolean |
hasObjectChecksums()
The checksums of the complete object.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ReadObjectResponse.Builder |
mergeChecksummedData(ChecksummedData value)
A portion of the data for the object.
|
ReadObjectResponse.Builder |
mergeContentRange(ContentRange value)
If read_offset and or read_limit was specified on the
ReadObjectRequest, ContentRange will be populated on the first
ReadObjectResponse message of the read stream.
|
ReadObjectResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReadObjectResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReadObjectResponse.Builder |
mergeFrom(ReadObjectResponse other) |
ReadObjectResponse.Builder |
mergeMetadata(Object value)
Metadata of the object whose media is being returned.
|
ReadObjectResponse.Builder |
mergeObjectChecksums(ObjectChecksums value)
The checksums of the complete object.
|
ReadObjectResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ReadObjectResponse.Builder |
setChecksummedData(ChecksummedData.Builder builderForValue)
A portion of the data for the object.
|
ReadObjectResponse.Builder |
setChecksummedData(ChecksummedData value)
A portion of the data for the object.
|
ReadObjectResponse.Builder |
setContentRange(ContentRange.Builder builderForValue)
If read_offset and or read_limit was specified on the
ReadObjectRequest, ContentRange will be populated on the first
ReadObjectResponse message of the read stream.
|
ReadObjectResponse.Builder |
setContentRange(ContentRange value)
If read_offset and or read_limit was specified on the
ReadObjectRequest, ContentRange will be populated on the first
ReadObjectResponse message of the read stream.
|
ReadObjectResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadObjectResponse.Builder |
setMetadata(Object.Builder builderForValue)
Metadata of the object whose media is being returned.
|
ReadObjectResponse.Builder |
setMetadata(Object value)
Metadata of the object whose media is being returned.
|
ReadObjectResponse.Builder |
setObjectChecksums(ObjectChecksums.Builder builderForValue)
The checksums of the complete object.
|
ReadObjectResponse.Builder |
setObjectChecksums(ObjectChecksums value)
The checksums of the complete object.
|
ReadObjectResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ReadObjectResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public ReadObjectResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public ReadObjectResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReadObjectResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReadObjectResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReadObjectResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public ReadObjectResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public ReadObjectResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public ReadObjectResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public ReadObjectResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public ReadObjectResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public ReadObjectResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadObjectResponse.Builder>public ReadObjectResponse.Builder mergeFrom(ReadObjectResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public ReadObjectResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadObjectResponse.Builder>IOExceptionpublic boolean hasChecksummedData()
A portion of the data for the object. 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.
.google.storage.v2.ChecksummedData checksummed_data = 1;hasChecksummedData in interface ReadObjectResponseOrBuilderpublic ChecksummedData getChecksummedData()
A portion of the data for the object. 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.
.google.storage.v2.ChecksummedData checksummed_data = 1;getChecksummedData in interface ReadObjectResponseOrBuilderpublic ReadObjectResponse.Builder setChecksummedData(ChecksummedData value)
A portion of the data for the object. 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.
.google.storage.v2.ChecksummedData checksummed_data = 1;public ReadObjectResponse.Builder setChecksummedData(ChecksummedData.Builder builderForValue)
A portion of the data for the object. 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.
.google.storage.v2.ChecksummedData checksummed_data = 1;public ReadObjectResponse.Builder mergeChecksummedData(ChecksummedData value)
A portion of the data for the object. 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.
.google.storage.v2.ChecksummedData checksummed_data = 1;public ReadObjectResponse.Builder clearChecksummedData()
A portion of the data for the object. 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.
.google.storage.v2.ChecksummedData checksummed_data = 1;public ChecksummedData.Builder getChecksummedDataBuilder()
A portion of the data for the object. 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.
.google.storage.v2.ChecksummedData checksummed_data = 1;public ChecksummedDataOrBuilder getChecksummedDataOrBuilder()
A portion of the data for the object. 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.
.google.storage.v2.ChecksummedData checksummed_data = 1;getChecksummedDataOrBuilder in interface ReadObjectResponseOrBuilderpublic boolean hasObjectChecksums()
The checksums of the complete object. The client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;hasObjectChecksums in interface ReadObjectResponseOrBuilderpublic ObjectChecksums getObjectChecksums()
The checksums of the complete object. The client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;getObjectChecksums in interface ReadObjectResponseOrBuilderpublic ReadObjectResponse.Builder setObjectChecksums(ObjectChecksums value)
The checksums of the complete object. The client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;public ReadObjectResponse.Builder setObjectChecksums(ObjectChecksums.Builder builderForValue)
The checksums of the complete object. The client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;public ReadObjectResponse.Builder mergeObjectChecksums(ObjectChecksums value)
The checksums of the complete object. The client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;public ReadObjectResponse.Builder clearObjectChecksums()
The checksums of the complete object. The client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;public ObjectChecksums.Builder getObjectChecksumsBuilder()
The checksums of the complete object. The client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;public ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder()
The checksums of the complete object. The client should compute one of these checksums over the downloaded object and compare it against the value provided here.
.google.storage.v2.ObjectChecksums object_checksums = 2;getObjectChecksumsOrBuilder in interface ReadObjectResponseOrBuilderpublic boolean hasContentRange()
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;hasContentRange in interface ReadObjectResponseOrBuilderpublic ContentRange getContentRange()
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;getContentRange in interface ReadObjectResponseOrBuilderpublic ReadObjectResponse.Builder setContentRange(ContentRange value)
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;public ReadObjectResponse.Builder setContentRange(ContentRange.Builder builderForValue)
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;public ReadObjectResponse.Builder mergeContentRange(ContentRange value)
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;public ReadObjectResponse.Builder clearContentRange()
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;public ContentRange.Builder getContentRangeBuilder()
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;public ContentRangeOrBuilder getContentRangeOrBuilder()
If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.
.google.storage.v2.ContentRange content_range = 3;getContentRangeOrBuilder in interface ReadObjectResponseOrBuilderpublic boolean hasMetadata()
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;hasMetadata in interface ReadObjectResponseOrBuilderpublic Object getMetadata()
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;getMetadata in interface ReadObjectResponseOrBuilderpublic ReadObjectResponse.Builder setMetadata(Object value)
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;public ReadObjectResponse.Builder setMetadata(Object.Builder builderForValue)
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;public ReadObjectResponse.Builder mergeMetadata(Object value)
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;public ReadObjectResponse.Builder clearMetadata()
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;public Object.Builder getMetadataBuilder()
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;public ObjectOrBuilder getMetadataOrBuilder()
Metadata of the object whose media is being returned. Only populated in the first response in the stream.
.google.storage.v2.Object metadata = 4;getMetadataOrBuilder in interface ReadObjectResponseOrBuilderpublic final ReadObjectResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>public final ReadObjectResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadObjectResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.