Package com.google.storage.v2
Interface StartResumableWriteRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StartResumableWriteRequest,StartResumableWriteRequest.Builder
public interface StartResumableWriteRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.Optional.Required.Required.booleanOptional.booleanOptional.booleanRequired.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
-
hasWriteObjectSpec
boolean hasWriteObjectSpec()Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the writeObjectSpec field is set.
-
getWriteObjectSpec
WriteObjectSpec getWriteObjectSpec()Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The writeObjectSpec.
-
getWriteObjectSpecOrBuilder
WriteObjectSpecOrBuilder getWriteObjectSpecOrBuilder()Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasCommonObjectRequestParams
boolean hasCommonObjectRequestParams()Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the commonObjectRequestParams field is set.
-
getCommonObjectRequestParams
CommonObjectRequestParams getCommonObjectRequestParams()Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The commonObjectRequestParams.
-
getCommonObjectRequestParamsOrBuilder
CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder()Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasObjectChecksums
boolean hasObjectChecksums()Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the objectChecksums field is set.
-
getObjectChecksums
ObjectChecksums getObjectChecksums()Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The objectChecksums.
-
getObjectChecksumsOrBuilder
ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder()Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL];
-