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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StartResumableWriteResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StartResumableWriteResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
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
clone()
public StartResumableWriteResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public StartResumableWriteResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public StartResumableWriteResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StartResumableWriteResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(StartResumableWriteResponse other)
public StartResumableWriteResponse.Builder mergeFrom(StartResumableWriteResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StartResumableWriteResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StartResumableWriteResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StartResumableWriteResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StartResumableWriteResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
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
Name |
Description |
value |
String
The uploadId to set.
|
Returns
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