Class QueryWriteStatusRequest (2.17.0)

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

UPLOAD_ID_FIELD_NUMBER

public static final int UPLOAD_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueryWriteStatusRequest getDefaultInstance()
Returns
TypeDescription
QueryWriteStatusRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static QueryWriteStatusRequest.Builder newBuilder()
Returns
TypeDescription
QueryWriteStatusRequest.Builder

newBuilder(QueryWriteStatusRequest prototype)

public static QueryWriteStatusRequest.Builder newBuilder(QueryWriteStatusRequest prototype)
Parameter
NameDescription
prototypeQueryWriteStatusRequest
Returns
TypeDescription
QueryWriteStatusRequest.Builder

parseDelimitedFrom(InputStream input)

public static QueryWriteStatusRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static QueryWriteStatusRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryWriteStatusRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryWriteStatusRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static QueryWriteStatusRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static QueryWriteStatusRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryWriteStatusRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryWriteStatusRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<QueryWriteStatusRequest> parser()
Returns
TypeDescription
Parser<QueryWriteStatusRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CommonObjectRequestParamsOrBuilder

getDefaultInstanceForType()

public QueryWriteStatusRequest getDefaultInstanceForType()
Returns
TypeDescription
QueryWriteStatusRequest

getParserForType()

public Parser<QueryWriteStatusRequest> getParserForType()
Returns
TypeDescription
Parser<QueryWriteStatusRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public QueryWriteStatusRequest.Builder newBuilderForType()
Returns
TypeDescription
QueryWriteStatusRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryWriteStatusRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
QueryWriteStatusRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public QueryWriteStatusRequest.Builder toBuilder()
Returns
TypeDescription
QueryWriteStatusRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException