Interface BidiWriteObjectResponseOrBuilder

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

@Generated public interface BidiWriteObjectResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasPersistedSize

      boolean hasPersistedSize()
       The total number of bytes that have been processed for the given object
       from all `WriteObject` calls. Only set if the upload has not finalized.
       
      int64 persisted_size = 1;
      Returns:
      Whether the persistedSize field is set.
    • getPersistedSize

      long getPersistedSize()
       The total number of bytes that have been processed for the given object
       from all `WriteObject` calls. Only set if the upload has not finalized.
       
      int64 persisted_size = 1;
      Returns:
      The persistedSize.
    • hasResource

      boolean hasResource()
       A resource containing the metadata for the uploaded object. Only set if
       the upload has finalized.
       
      .google.storage.v2.Object resource = 2;
      Returns:
      Whether the resource field is set.
    • getResource

      Object getResource()
       A resource containing the metadata for the uploaded object. Only set if
       the upload has finalized.
       
      .google.storage.v2.Object resource = 2;
      Returns:
      The resource.
    • getResourceOrBuilder

      ObjectOrBuilder getResourceOrBuilder()
       A resource containing the metadata for the uploaded object. Only set if
       the upload has finalized.
       
      .google.storage.v2.Object resource = 2;
    • hasPersistedDataChecksums

      boolean hasPersistedDataChecksums()
       If persisted_size is set, contains checksums of persisted data.
       
      .google.storage.v2.ObjectChecksums persisted_data_checksums = 4;
      Returns:
      Whether the persistedDataChecksums field is set.
    • getPersistedDataChecksums

      ObjectChecksums getPersistedDataChecksums()
       If persisted_size is set, contains checksums of persisted data.
       
      .google.storage.v2.ObjectChecksums persisted_data_checksums = 4;
      Returns:
      The persistedDataChecksums.
    • getPersistedDataChecksumsOrBuilder

      ObjectChecksumsOrBuilder getPersistedDataChecksumsOrBuilder()
       If persisted_size is set, contains checksums of persisted data.
       
      .google.storage.v2.ObjectChecksums persisted_data_checksums = 4;
    • hasWriteHandle

      boolean hasWriteHandle()
       An optional write handle that is returned periodically in response
       messages. Clients should save it for later use in establishing a new stream
       if a connection is interrupted.
       
      optional .google.storage.v2.BidiWriteHandle write_handle = 3;
      Returns:
      Whether the writeHandle field is set.
    • getWriteHandle

      BidiWriteHandle getWriteHandle()
       An optional write handle that is returned periodically in response
       messages. Clients should save it for later use in establishing a new stream
       if a connection is interrupted.
       
      optional .google.storage.v2.BidiWriteHandle write_handle = 3;
      Returns:
      The writeHandle.
    • getWriteHandleOrBuilder

      BidiWriteHandleOrBuilder getWriteHandleOrBuilder()
       An optional write handle that is returned periodically in response
       messages. Clients should save it for later use in establishing a new stream
       if a connection is interrupted.
       
      optional .google.storage.v2.BidiWriteHandle write_handle = 3;
    • getWriteStatusCase