Class StartResumableWriteResponse.Builder (2.62.1)

public static final class StartResumableWriteResponse.Builder extends GeneratedMessage.Builder<StartResumableWriteResponse.Builder> implements StartResumableWriteResponseOrBuilder

Response object for StartResumableWrite.

Protobuf type google.storage.v2.StartResumableWriteResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public StartResumableWriteResponse build()
Returns
Type Description
StartResumableWriteResponse

buildPartial()

public StartResumableWriteResponse buildPartial()
Returns
Type Description
StartResumableWriteResponse

clear()

public StartResumableWriteResponse.Builder clear()
Returns
Type Description
StartResumableWriteResponse.Builder
Overrides

clearUploadId()

public StartResumableWriteResponse.Builder clearUploadId()

A unique identifier for the initiated resumable write operation. As the ID grants write access, you should keep it confidential during the upload to prevent unauthorized access and data tampering during your upload. This ID should be included in subsequent WriteObject requests to upload the object data.

string upload_id = 1;

Returns
Type Description
StartResumableWriteResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public StartResumableWriteResponse getDefaultInstanceForType()
Returns
Type Description
StartResumableWriteResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUploadId()

public String getUploadId()

A unique identifier for the initiated resumable write operation. As the ID grants write access, you should keep it confidential during the upload to prevent unauthorized access and data tampering during your upload. This ID should be included in subsequent WriteObject requests to upload the object data.

string upload_id = 1;

Returns
Type Description
String

The uploadId.

getUploadIdBytes()

public ByteString getUploadIdBytes()

A unique identifier for the initiated resumable write operation. As the ID grants write access, you should keep it confidential during the upload to prevent unauthorized access and data tampering during your upload. This ID should be included in subsequent WriteObject requests to upload the object data.

string upload_id = 1;

Returns
Type Description
ByteString

The bytes for uploadId.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StartResumableWriteResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StartResumableWriteResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StartResumableWriteResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StartResumableWriteResponse.Builder
Overrides

mergeFrom(StartResumableWriteResponse other)

public StartResumableWriteResponse.Builder mergeFrom(StartResumableWriteResponse other)
Parameter
Name Description
other StartResumableWriteResponse
Returns
Type Description
StartResumableWriteResponse.Builder

setUploadId(String value)

public StartResumableWriteResponse.Builder setUploadId(String value)

A unique identifier for the initiated resumable write operation. As the ID grants write access, you should keep it confidential during the upload to prevent unauthorized access and data tampering during your upload. This ID should be included in subsequent WriteObject requests to upload the object data.

string upload_id = 1;

Parameter
Name Description
value String

The uploadId to set.

Returns
Type Description
StartResumableWriteResponse.Builder

This builder for chaining.

setUploadIdBytes(ByteString value)

public StartResumableWriteResponse.Builder setUploadIdBytes(ByteString value)

A unique identifier for the initiated resumable write operation. As the ID grants write access, you should keep it confidential during the upload to prevent unauthorized access and data tampering during your upload. This ID should be included in subsequent WriteObject requests to upload the object data.

string upload_id = 1;

Parameter
Name Description
value ByteString

The bytes for uploadId to set.

Returns
Type Description
StartResumableWriteResponse.Builder

This builder for chaining.