Interface StartResumableWriteRequestOrBuilder (2.40.0)

public interface StartResumableWriteRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommonObjectRequestParams()

public abstract CommonObjectRequestParams getCommonObjectRequestParams()

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3;

Returns
Type Description
CommonObjectRequestParams

The commonObjectRequestParams.

getCommonObjectRequestParamsOrBuilder()

public abstract CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder()

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3;

Returns
Type Description
CommonObjectRequestParamsOrBuilder

getObjectChecksums()

public abstract ObjectChecksums getObjectChecksums()

The checksums of the complete object. This will be used to validate the uploaded object. For each upload, object_checksums can be provided with either StartResumableWriteRequest or the WriteObjectRequest with finish_write set to true.

.google.storage.v2.ObjectChecksums object_checksums = 5;

Returns
Type Description
ObjectChecksums

The objectChecksums.

getObjectChecksumsOrBuilder()

public abstract ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder()

The checksums of the complete object. This will be used to validate the uploaded object. For each upload, object_checksums can be provided with either StartResumableWriteRequest or the WriteObjectRequest with finish_write set to true.

.google.storage.v2.ObjectChecksums object_checksums = 5;

Returns
Type Description
ObjectChecksumsOrBuilder

getWriteObjectSpec()

public abstract WriteObjectSpec getWriteObjectSpec()

Required. The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WriteObjectSpec

The writeObjectSpec.

getWriteObjectSpecOrBuilder()

public abstract WriteObjectSpecOrBuilder getWriteObjectSpecOrBuilder()

Required. The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WriteObjectSpecOrBuilder

hasCommonObjectRequestParams()

public abstract boolean hasCommonObjectRequestParams()

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3;

Returns
Type Description
boolean

Whether the commonObjectRequestParams field is set.

hasObjectChecksums()

public abstract boolean hasObjectChecksums()

The checksums of the complete object. This will be used to validate the uploaded object. For each upload, object_checksums can be provided with either StartResumableWriteRequest or the WriteObjectRequest with finish_write set to true.

.google.storage.v2.ObjectChecksums object_checksums = 5;

Returns
Type Description
boolean

Whether the objectChecksums field is set.

hasWriteObjectSpec()

public abstract boolean hasWriteObjectSpec()

Required. The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the writeObjectSpec field is set.