public static final class ReadObjectResponse.Builder extends GeneratedMessageV3.Builder<ReadObjectResponse.Builder> implements ReadObjectResponseOrBuilder
Response message for GetObject.
Protobuf type google.storage.v2.ReadObjectResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReadObjectResponse.BuilderImplements
ReadObjectResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadObjectResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReadObjectResponse.Builder |
build()
public ReadObjectResponse build()
Type | Description |
ReadObjectResponse |
buildPartial()
public ReadObjectResponse buildPartial()
Type | Description |
ReadObjectResponse |
clear()
public ReadObjectResponse.Builder clear()
Type | Description |
ReadObjectResponse.Builder |
clearChecksummedData()
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;
Type | Description |
ReadObjectResponse.Builder |
clearContentRange()
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;
Type | Description |
ReadObjectResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReadObjectResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ReadObjectResponse.Builder |
clearMetadata()
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;
Type | Description |
ReadObjectResponse.Builder |
clearObjectChecksums()
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;
Type | Description |
ReadObjectResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadObjectResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ReadObjectResponse.Builder |
clone()
public ReadObjectResponse.Builder clone()
Type | Description |
ReadObjectResponse.Builder |
getChecksummedData()
public 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;
Type | Description |
ChecksummedData | The checksummedData. |
getChecksummedDataBuilder()
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;
Type | Description |
ChecksummedData.Builder |
getChecksummedDataOrBuilder()
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;
Type | Description |
ChecksummedDataOrBuilder |
getContentRange()
public 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;
Type | Description |
ContentRange | The contentRange. |
getContentRangeBuilder()
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;
Type | Description |
ContentRange.Builder |
getContentRangeOrBuilder()
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;
Type | Description |
ContentRangeOrBuilder |
getDefaultInstanceForType()
public ReadObjectResponse getDefaultInstanceForType()
Type | Description |
ReadObjectResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMetadata()
public 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;
Type | Description |
Object | The metadata. |
getMetadataBuilder()
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;
Type | Description |
Object.Builder |
getMetadataOrBuilder()
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;
Type | Description |
ObjectOrBuilder |
getObjectChecksums()
public 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;
Type | Description |
ObjectChecksums | The objectChecksums. |
getObjectChecksumsBuilder()
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;
Type | Description |
ObjectChecksums.Builder |
getObjectChecksumsOrBuilder()
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;
Type | Description |
ObjectChecksumsOrBuilder |
hasChecksummedData()
public 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;
Type | Description |
boolean | Whether the checksummedData field is set. |
hasContentRange()
public 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;
Type | Description |
boolean | Whether the contentRange field is set. |
hasMetadata()
public 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;
Type | Description |
boolean | Whether the metadata field is set. |
hasObjectChecksums()
public 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;
Type | Description |
boolean | Whether the objectChecksums field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeChecksummedData(ChecksummedData value)
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;
Name | Description |
value | ChecksummedData |
Type | Description |
ReadObjectResponse.Builder |
mergeContentRange(ContentRange value)
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;
Name | Description |
value | ContentRange |
Type | Description |
ReadObjectResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReadObjectResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadObjectResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ReadObjectResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ReadObjectResponse.Builder |
mergeFrom(ReadObjectResponse other)
public ReadObjectResponse.Builder mergeFrom(ReadObjectResponse other)
Name | Description |
other | ReadObjectResponse |
Type | Description |
ReadObjectResponse.Builder |
mergeMetadata(Object value)
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;
Name | Description |
value | Object |
Type | Description |
ReadObjectResponse.Builder |
mergeObjectChecksums(ObjectChecksums value)
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;
Name | Description |
value | ObjectChecksums |
Type | Description |
ReadObjectResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadObjectResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReadObjectResponse.Builder |
setChecksummedData(ChecksummedData value)
public 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;
Name | Description |
value | ChecksummedData |
Type | Description |
ReadObjectResponse.Builder |
setChecksummedData(ChecksummedData.Builder builderForValue)
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;
Name | Description |
builderForValue | ChecksummedData.Builder |
Type | Description |
ReadObjectResponse.Builder |
setContentRange(ContentRange value)
public 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;
Name | Description |
value | ContentRange |
Type | Description |
ReadObjectResponse.Builder |
setContentRange(ContentRange.Builder builderForValue)
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;
Name | Description |
builderForValue | ContentRange.Builder |
Type | Description |
ReadObjectResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReadObjectResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReadObjectResponse.Builder |
setMetadata(Object value)
public 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;
Name | Description |
value | Object |
Type | Description |
ReadObjectResponse.Builder |
setMetadata(Object.Builder builderForValue)
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;
Name | Description |
builderForValue | Object.Builder |
Type | Description |
ReadObjectResponse.Builder |
setObjectChecksums(ObjectChecksums value)
public 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;
Name | Description |
value | ObjectChecksums |
Type | Description |
ReadObjectResponse.Builder |
setObjectChecksums(ObjectChecksums.Builder builderForValue)
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;
Name | Description |
builderForValue | ObjectChecksums.Builder |
Type | Description |
ReadObjectResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReadObjectResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ReadObjectResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadObjectResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReadObjectResponse.Builder |