public static final class CancelResumableWriteRequest.Builder extends GeneratedMessageV3.Builder<CancelResumableWriteRequest.Builder> implements CancelResumableWriteRequestOrBuilder
Message for canceling an in-progress resumable upload.
upload_id
must be set.
Protobuf type google.storage.v2.CancelResumableWriteRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CancelResumableWriteRequest.BuilderImplements
CancelResumableWriteRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CancelResumableWriteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CancelResumableWriteRequest.Builder |
build()
public CancelResumableWriteRequest build()
Type | Description |
CancelResumableWriteRequest |
buildPartial()
public CancelResumableWriteRequest buildPartial()
Type | Description |
CancelResumableWriteRequest |
clear()
public CancelResumableWriteRequest.Builder clear()
Type | Description |
CancelResumableWriteRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CancelResumableWriteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CancelResumableWriteRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CancelResumableWriteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CancelResumableWriteRequest.Builder |
clearUploadId()
public CancelResumableWriteRequest.Builder clearUploadId()
Required. The upload_id of the resumable upload to cancel. This should be
copied from the upload_id
field of StartResumableWriteResponse
.
string upload_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CancelResumableWriteRequest.Builder | This builder for chaining. |
clone()
public CancelResumableWriteRequest.Builder clone()
Type | Description |
CancelResumableWriteRequest.Builder |
getDefaultInstanceForType()
public CancelResumableWriteRequest getDefaultInstanceForType()
Type | Description |
CancelResumableWriteRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getUploadId()
public String getUploadId()
Required. The upload_id of the resumable upload to cancel. This should be
copied from the upload_id
field of StartResumableWriteResponse
.
string upload_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The uploadId. |
getUploadIdBytes()
public ByteString getUploadIdBytes()
Required. The upload_id of the resumable upload to cancel. This should be
copied from the upload_id
field of StartResumableWriteResponse
.
string upload_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for uploadId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CancelResumableWriteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CancelResumableWriteRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CancelResumableWriteRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CancelResumableWriteRequest.Builder |
mergeFrom(CancelResumableWriteRequest other)
public CancelResumableWriteRequest.Builder mergeFrom(CancelResumableWriteRequest other)
Name | Description |
other | CancelResumableWriteRequest |
Type | Description |
CancelResumableWriteRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CancelResumableWriteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CancelResumableWriteRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CancelResumableWriteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CancelResumableWriteRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CancelResumableWriteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CancelResumableWriteRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CancelResumableWriteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CancelResumableWriteRequest.Builder |
setUploadId(String value)
public CancelResumableWriteRequest.Builder setUploadId(String value)
Required. The upload_id of the resumable upload to cancel. This should be
copied from the upload_id
field of StartResumableWriteResponse
.
string upload_id = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The uploadId to set. |
Type | Description |
CancelResumableWriteRequest.Builder | This builder for chaining. |
setUploadIdBytes(ByteString value)
public CancelResumableWriteRequest.Builder setUploadIdBytes(ByteString value)
Required. The upload_id of the resumable upload to cancel. This should be
copied from the upload_id
field of StartResumableWriteResponse
.
string upload_id = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for uploadId to set. |
Type | Description |
CancelResumableWriteRequest.Builder | This builder for chaining. |