Interface BidiWriteObjectResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    The total number of bytes that have been processed for the given object from all `WriteObject` calls.
    A resource containing the metadata for the uploaded object.
    A resource containing the metadata for the uploaded object.
    An optional write handle that will periodically be present in response messages.
    An optional write handle that will periodically be present in response messages.
     
    boolean
    The total number of bytes that have been processed for the given object from all `WriteObject` calls.
    boolean
    A resource containing the metadata for the uploaded object.
    boolean
    An optional write handle that will periodically be present in response messages.

    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

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

      boolean hasWriteHandle()
       An optional write handle that will periodically be present 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 will periodically be present 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 will periodically be present 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