Interface ReadObjectResponseOrBuilder (2.9.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ObjectOrBuilder

getObjectChecksums()

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

Returns
TypeDescription
ObjectChecksums

The objectChecksums.

getObjectChecksumsOrBuilder()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the metadata field is set.

hasObjectChecksums()

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

Returns
TypeDescription
boolean

Whether the objectChecksums field is set.