Package com.google.storage.v2
Interface WriteObjectResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WriteObjectResponse,WriteObjectResponse.Builder
public interface WriteObjectResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe 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.booleanThe total number of bytes that have been processed for the given object from all `WriteObject` calls.booleanA resource containing the metadata for the uploaded object.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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; -
getWriteStatusCase
WriteObjectResponse.WriteStatusCase getWriteStatusCase()
-