Class StartResumableWriteResponse.Builder (2.20.1)

See more code actions.
public static final class StartResumableWriteResponse.Builder extends GeneratedMessageV3.Builder<StartResumableWriteResponse.Builder> implements StartResumableWriteResponseOrBuilder

Response object for StartResumableWrite.

Protobuf type google.storage.v2.StartResumableWriteResponse

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public StartResumableWriteResponse build()
Returns

buildPartial()

public StartResumableWriteResponse buildPartial()
Returns

clear()

public StartResumableWriteResponse.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

getDefaultInstanceForType()

public StartResumableWriteResponse getDefaultInstanceForType()
Returns

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 Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(StartResumableWriteResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public StartResumableWriteResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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