Class StartResumableWriteResponse.Builder (2.27.1-SNAPSHOT)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StartResumableWriteResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StartResumableWriteResponse.Builder
Overrides

build()

public StartResumableWriteResponse build()
Returns
TypeDescription
StartResumableWriteResponse

buildPartial()

public StartResumableWriteResponse buildPartial()
Returns
TypeDescription
StartResumableWriteResponse

clear()

public StartResumableWriteResponse.Builder clear()
Returns
TypeDescription
StartResumableWriteResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StartResumableWriteResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StartResumableWriteResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StartResumableWriteResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
StartResumableWriteResponse.Builder

This builder for chaining.

clone()

public StartResumableWriteResponse.Builder clone()
Returns
TypeDescription
StartResumableWriteResponse.Builder
Overrides

getDefaultInstanceForType()

public StartResumableWriteResponse getDefaultInstanceForType()
Returns
TypeDescription
StartResumableWriteResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for uploadId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StartResumableWriteResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StartResumableWriteResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StartResumableWriteResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StartResumableWriteResponse.Builder
Overrides

mergeFrom(StartResumableWriteResponse other)

public StartResumableWriteResponse.Builder mergeFrom(StartResumableWriteResponse other)
Parameter
NameDescription
otherStartResumableWriteResponse
Returns
TypeDescription
StartResumableWriteResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StartResumableWriteResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StartResumableWriteResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StartResumableWriteResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StartResumableWriteResponse.Builder
Overrides

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

public StartResumableWriteResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StartResumableWriteResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StartResumableWriteResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The uploadId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uploadId to set.

Returns
TypeDescription
StartResumableWriteResponse.Builder

This builder for chaining.