Interface ReadObjectResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ReadObjectResponse, ReadObjectResponse.Builder

public interface ReadObjectResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    A portion of the data for the object.
    A portion of the data for the object.
    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.
    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.
    Metadata of the object whose media is being returned.
    Metadata of the object whose media is being returned.
    The checksums of the complete object.
    The checksums of the complete object.
    boolean
    A portion of the data for the object.
    boolean
    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
    Metadata of the object whose media is being returned.
    boolean
    The checksums of the complete object.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasChecksummedData

      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:
      Whether the checksummedData field is set.
    • getChecksummedData

      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:
      The checksummedData.
    • getChecksummedDataOrBuilder

      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;
    • hasObjectChecksums

      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:
      Whether the objectChecksums field is set.
    • getObjectChecksums

      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:
      The objectChecksums.
    • getObjectChecksumsOrBuilder

      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;
    • hasContentRange

      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:
      Whether the contentRange field is set.
    • getContentRange

      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:
      The contentRange.
    • getContentRangeOrBuilder

      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;
    • hasMetadata

      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:
      Whether the metadata field is set.
    • getMetadata

      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:
      The metadata.
    • getMetadataOrBuilder

      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;