Class QueryWriteStatusRequest.Builder (2.22.3)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryWriteStatusRequest build()
Returns
TypeDescription
QueryWriteStatusRequest

buildPartial()

public QueryWriteStatusRequest buildPartial()
Returns
TypeDescription
QueryWriteStatusRequest

clear()

public QueryWriteStatusRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
QueryWriteStatusRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public QueryWriteStatusRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CommonObjectRequestParamsOrBuilder

getDefaultInstanceForType()

public QueryWriteStatusRequest getDefaultInstanceForType()
Returns
TypeDescription
QueryWriteStatusRequest

getDescriptorForType()

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

Whether the commonObjectRequestParams field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCommonObjectRequestParams
Returns
TypeDescription
QueryWriteStatusRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(QueryWriteStatusRequest other)

public QueryWriteStatusRequest.Builder mergeFrom(QueryWriteStatusRequest other)
Parameter
NameDescription
otherQueryWriteStatusRequest
Returns
TypeDescription
QueryWriteStatusRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryWriteStatusRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCommonObjectRequestParams
Returns
TypeDescription
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
NameDescription
builderForValueCommonObjectRequestParams.Builder
Returns
TypeDescription
QueryWriteStatusRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The uploadId to set.

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

The bytes for uploadId to set.

Returns
TypeDescription
QueryWriteStatusRequest.Builder

This builder for chaining.