Class QueryWriteStatusRequest (2.6.1)

public final class QueryWriteStatusRequest extends GeneratedMessageV3 implements QueryWriteStatusRequestOrBuilder

Request object for QueryWriteStatus.

Protobuf type google.storage.v2.QueryWriteStatusRequest

Static Fields

COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER

public static final int COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER
Field Value
Type Description
int

COMMON_REQUEST_PARAMS_FIELD_NUMBER

public static final int COMMON_REQUEST_PARAMS_FIELD_NUMBER
Field Value
Type Description
int

UPLOAD_ID_FIELD_NUMBER

public static final int UPLOAD_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueryWriteStatusRequest getDefaultInstance()
Returns
Type Description
QueryWriteStatusRequest

getDescriptor()

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

newBuilder()

public static QueryWriteStatusRequest.Builder newBuilder()
Returns
Type Description
QueryWriteStatusRequest.Builder

newBuilder(QueryWriteStatusRequest prototype)

public static QueryWriteStatusRequest.Builder newBuilder(QueryWriteStatusRequest prototype)
Parameter
Name Description
prototype QueryWriteStatusRequest
Returns
Type Description
QueryWriteStatusRequest.Builder

parseDelimitedFrom(InputStream input)

public static QueryWriteStatusRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QueryWriteStatusRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryWriteStatusRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryWriteStatusRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QueryWriteStatusRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QueryWriteStatusRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryWriteStatusRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QueryWriteStatusRequest> parser()
Returns
Type Description
Parser<QueryWriteStatusRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

getCommonRequestParams()

public CommonRequestParams getCommonRequestParams()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 3;

Returns
Type Description
CommonRequestParams

The commonRequestParams.

getCommonRequestParamsOrBuilder()

public CommonRequestParamsOrBuilder getCommonRequestParamsOrBuilder()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 3;

Returns
Type Description
CommonRequestParamsOrBuilder

getDefaultInstanceForType()

public QueryWriteStatusRequest getDefaultInstanceForType()
Returns
Type Description
QueryWriteStatusRequest

getParserForType()

public Parser<QueryWriteStatusRequest> getParserForType()
Returns
Type Description
Parser<QueryWriteStatusRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
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.

hasCommonRequestParams()

public boolean hasCommonRequestParams()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 3;

Returns
Type Description
boolean

Whether the commonRequestParams field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public QueryWriteStatusRequest.Builder newBuilderForType()
Returns
Type Description
QueryWriteStatusRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryWriteStatusRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QueryWriteStatusRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public QueryWriteStatusRequest.Builder toBuilder()
Returns
Type Description
QueryWriteStatusRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException