Interface WriteObjectResponseOrBuilder

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

@Generated public interface WriteObjectResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    If persisted_size is set, contains checksums of persisted data.
    If persisted_size is set, contains checksums of persisted data.
    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.
     
    boolean
    If persisted_size is set, contains checksums of persisted data.
    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.

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

      boolean hasPersistedDataChecksums()
       If persisted_size is set, contains checksums of persisted data.
       
      .google.storage.v2.ObjectChecksums persisted_data_checksums = 3;
      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 = 3;
      Returns:
      The persistedDataChecksums.
    • getPersistedDataChecksumsOrBuilder

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