Interface ReadObjectResponseOrBuilder (2.43.1)

public interface ReadObjectResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChecksummedData()

public abstract 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;

Returns
Type Description
ChecksummedData

The checksummedData.

getChecksummedDataOrBuilder()

public abstract 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;

Returns
Type Description
ChecksummedDataOrBuilder

getContentRange()

public abstract 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;

Returns
Type Description
ContentRange

The contentRange.

getContentRangeOrBuilder()

public abstract 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;

Returns
Type Description
ContentRangeOrBuilder

getMetadata()

public abstract 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;

Returns
Type Description
Object

The metadata.

getMetadataOrBuilder()

public abstract 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;

Returns
Type Description
ObjectOrBuilder

getObjectChecksums()

public abstract ObjectChecksums getObjectChecksums()

The checksums of the complete object. If the object is downloaded in full, 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;

Returns
Type Description
ObjectChecksums

The objectChecksums.

getObjectChecksumsOrBuilder()

public abstract ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder()

The checksums of the complete object. If the object is downloaded in full, 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;

Returns
Type Description
ObjectChecksumsOrBuilder

hasChecksummedData()

public abstract 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;

Returns
Type Description
boolean

Whether the checksummedData field is set.

hasContentRange()

public abstract 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;

Returns
Type Description
boolean

Whether the contentRange field is set.

hasMetadata()

public abstract 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;

Returns
Type Description
boolean

Whether the metadata field is set.

hasObjectChecksums()

public abstract boolean hasObjectChecksums()

The checksums of the complete object. If the object is downloaded in full, 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;

Returns
Type Description
boolean

Whether the objectChecksums field is set.