public static final class StartResumableWriteRequest.Builder extends GeneratedMessage.Builder<StartResumableWriteRequest.Builder> implements StartResumableWriteRequestOrBuilderRequest message for StartResumableWrite.
Protobuf type google.storage.v2.StartResumableWriteRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StartResumableWriteRequest.BuilderImplements
StartResumableWriteRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StartResumableWriteRequest build()| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest |
|
buildPartial()
public StartResumableWriteRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest |
|
clear()
public StartResumableWriteRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
clearCommonObjectRequestParams()
public StartResumableWriteRequest.Builder clearCommonObjectRequestParams()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 | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
clearObjectChecksums()
public StartResumableWriteRequest.Builder clearObjectChecksums() 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 withStartResumableWriteRequest 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 | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
clearWriteObjectSpec()
public StartResumableWriteRequest.Builder clearWriteObjectSpec()Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
getCommonObjectRequestParams()
public 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 | |
|---|---|
| Type | Description |
CommonObjectRequestParams |
The commonObjectRequestParams. |
getCommonObjectRequestParamsBuilder()
public CommonObjectRequestParams.Builder getCommonObjectRequestParamsBuilder()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 | |
|---|---|
| Type | Description |
CommonObjectRequestParams.Builder |
|
getCommonObjectRequestParamsOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
CommonObjectRequestParamsOrBuilder |
|
getDefaultInstanceForType()
public StartResumableWriteRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getObjectChecksums()
public 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 withStartResumableWriteRequest 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 | |
|---|---|
| Type | Description |
ObjectChecksums |
The objectChecksums. |
getObjectChecksumsBuilder()
public ObjectChecksums.Builder getObjectChecksumsBuilder() 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 withStartResumableWriteRequest 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 | |
|---|---|
| Type | Description |
ObjectChecksums.Builder |
|
getObjectChecksumsOrBuilder()
public 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 withStartResumableWriteRequest 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 | |
|---|---|
| Type | Description |
ObjectChecksumsOrBuilder |
|
getWriteObjectSpec()
public 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 | |
|---|---|
| Type | Description |
WriteObjectSpec |
The writeObjectSpec. |
getWriteObjectSpecBuilder()
public WriteObjectSpec.Builder getWriteObjectSpecBuilder()Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WriteObjectSpec.Builder |
|
getWriteObjectSpecOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
WriteObjectSpecOrBuilder |
|
hasCommonObjectRequestParams()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the commonObjectRequestParams field is set. |
hasObjectChecksums()
public 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 withStartResumableWriteRequest 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 | |
|---|---|
| Type | Description |
boolean |
Whether the objectChecksums field is set. |
hasWriteObjectSpec()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the writeObjectSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCommonObjectRequestParams(CommonObjectRequestParams value)
public StartResumableWriteRequest.Builder mergeCommonObjectRequestParams(CommonObjectRequestParams value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CommonObjectRequestParams |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StartResumableWriteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StartResumableWriteRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
mergeFrom(StartResumableWriteRequest other)
public StartResumableWriteRequest.Builder mergeFrom(StartResumableWriteRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
StartResumableWriteRequest |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
mergeObjectChecksums(ObjectChecksums value)
public StartResumableWriteRequest.Builder mergeObjectChecksums(ObjectChecksums value) 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 withStartResumableWriteRequest 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ObjectChecksums |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
mergeWriteObjectSpec(WriteObjectSpec value)
public StartResumableWriteRequest.Builder mergeWriteObjectSpec(WriteObjectSpec value)Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
WriteObjectSpec |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
setCommonObjectRequestParams(CommonObjectRequestParams value)
public StartResumableWriteRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CommonObjectRequestParams |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue)
public StartResumableWriteRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CommonObjectRequestParams.Builder |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
setObjectChecksums(ObjectChecksums value)
public StartResumableWriteRequest.Builder setObjectChecksums(ObjectChecksums value) 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 withStartResumableWriteRequest 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ObjectChecksums |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
setObjectChecksums(ObjectChecksums.Builder builderForValue)
public StartResumableWriteRequest.Builder setObjectChecksums(ObjectChecksums.Builder builderForValue) 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 withStartResumableWriteRequest 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ObjectChecksums.Builder |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
setWriteObjectSpec(WriteObjectSpec value)
public StartResumableWriteRequest.Builder setWriteObjectSpec(WriteObjectSpec value)Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
WriteObjectSpec |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|
setWriteObjectSpec(WriteObjectSpec.Builder builderForValue)
public StartResumableWriteRequest.Builder setWriteObjectSpec(WriteObjectSpec.Builder builderForValue)Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WriteObjectSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
StartResumableWriteRequest.Builder |
|