Class StartResumableWriteResponse.Builder (2.33.0)

public static final class StartResumableWriteResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StartResumableWriteResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StartResumableWriteResponse.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public StartResumableWriteResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StartResumableWriteResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StartResumableWriteResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StartResumableWriteResponse.Builder
Overrides

clearUploadId()

public StartResumableWriteResponse.Builder clearUploadId()

The upload_id of the newly started resumable write operation. This value should be copied into the WriteObjectRequest.upload_id field.

string upload_id = 1;

Returns
Type Description
StartResumableWriteResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public StartResumableWriteResponse getDefaultInstanceForType()
Returns
Type Description
StartResumableWriteResponse

getDescriptorForType()

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

getUploadId()

public String getUploadId()

The upload_id of the newly started resumable write operation. This value should be copied into the WriteObjectRequest.upload_id field.

string upload_id = 1;

Returns
Type Description
String

The uploadId.

getUploadIdBytes()

public ByteString getUploadIdBytes()

The upload_id of the newly started resumable write operation. This value should be copied into the WriteObjectRequest.upload_id field.

string upload_id = 1;

Returns
Type Description
ByteString

The bytes for uploadId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StartResumableWriteResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StartResumableWriteResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StartResumableWriteResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StartResumableWriteResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StartResumableWriteResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StartResumableWriteResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StartResumableWriteResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StartResumableWriteResponse.Builder
Overrides

setUploadId(String value)

public StartResumableWriteResponse.Builder setUploadId(String value)

The upload_id of the newly started resumable write operation. This value should be copied into the WriteObjectRequest.upload_id field.

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)

The upload_id of the newly started resumable write operation. This value should be copied into the WriteObjectRequest.upload_id field.

string upload_id = 1;

Parameter
Name Description
value ByteString

The bytes for uploadId to set.

Returns
Type Description
StartResumableWriteResponse.Builder

This builder for chaining.