Class QueryWriteStatusRequest.Builder (2.7.1)

public static final class QueryWriteStatusRequest.Builder extends GeneratedMessageV3.Builder<QueryWriteStatusRequest.Builder> implements QueryWriteStatusRequestOrBuilder

Request object for QueryWriteStatus.

Protobuf type google.storage.v2.QueryWriteStatusRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryWriteStatusRequest build()
Returns
Type Description
QueryWriteStatusRequest

buildPartial()

public QueryWriteStatusRequest buildPartial()
Returns
Type Description
QueryWriteStatusRequest

clear()

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

clearCommonObjectRequestParams()

public QueryWriteStatusRequest.Builder clearCommonObjectRequestParams()

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 2;

Returns
Type Description
QueryWriteStatusRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUploadId()

public QueryWriteStatusRequest.Builder clearUploadId()

Required. The name of the resume token for the object whose write status is being requested.

string upload_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QueryWriteStatusRequest.Builder

This builder for chaining.

clone()

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

getCommonObjectRequestParams()

public CommonObjectRequestParams getCommonObjectRequestParams()

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 2;

Returns
Type Description
CommonObjectRequestParams

The commonObjectRequestParams.

getCommonObjectRequestParamsBuilder()

public CommonObjectRequestParams.Builder getCommonObjectRequestParamsBuilder()

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 2;

Returns
Type Description
CommonObjectRequestParams.Builder

getCommonObjectRequestParamsOrBuilder()

public CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder()

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 2;

Returns
Type Description
CommonObjectRequestParamsOrBuilder

getDefaultInstanceForType()

public QueryWriteStatusRequest getDefaultInstanceForType()
Returns
Type Description
QueryWriteStatusRequest

getDescriptorForType()

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

getUploadId()

public String getUploadId()

Required. The name of the resume token for the object whose write status is being requested.

string upload_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The uploadId.

getUploadIdBytes()

public ByteString getUploadIdBytes()

Required. The name of the resume token for the object whose write status is being requested.

string upload_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for uploadId.

hasCommonObjectRequestParams()

public boolean hasCommonObjectRequestParams()

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 2;

Returns
Type Description
boolean

Whether the commonObjectRequestParams field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCommonObjectRequestParams(CommonObjectRequestParams value)

public QueryWriteStatusRequest.Builder mergeCommonObjectRequestParams(CommonObjectRequestParams value)

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 2;

Parameter
Name Description
value CommonObjectRequestParams
Returns
Type Description
QueryWriteStatusRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(QueryWriteStatusRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommonObjectRequestParams(CommonObjectRequestParams value)

public QueryWriteStatusRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams value)

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 2;

Parameter
Name Description
value CommonObjectRequestParams
Returns
Type Description
QueryWriteStatusRequest.Builder

setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue)

public QueryWriteStatusRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue)

A set of parameters common to Storage API requests concerning an object.

.google.storage.v2.CommonObjectRequestParams common_object_request_params = 2;

Parameter
Name Description
builderForValue CommonObjectRequestParams.Builder
Returns
Type Description
QueryWriteStatusRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUploadId(String value)

public QueryWriteStatusRequest.Builder setUploadId(String value)

Required. The name of the resume token for the object whose write status is being requested.

string upload_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The uploadId to set.

Returns
Type Description
QueryWriteStatusRequest.Builder

This builder for chaining.

setUploadIdBytes(ByteString value)

public QueryWriteStatusRequest.Builder setUploadIdBytes(ByteString value)

Required. The name of the resume token for the object whose write status is being requested.

string upload_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for uploadId to set.

Returns
Type Description
QueryWriteStatusRequest.Builder

This builder for chaining.