public final class QueryWriteStatusResponse extends GeneratedMessageV3 implements QueryWriteStatusResponseOrBuilder
Response object for QueryWriteStatus
.
Protobuf type google.storage.v2.QueryWriteStatusResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > QueryWriteStatusResponseImplements
QueryWriteStatusResponseOrBuilderFields
PERSISTED_SIZE_FIELD_NUMBER
public static final int PERSISTED_SIZE_FIELD_NUMBER
Type | Description |
int |
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static QueryWriteStatusResponse getDefaultInstance()
Type | Description |
QueryWriteStatusResponse |
getDefaultInstanceForType()
public QueryWriteStatusResponse getDefaultInstanceForType()
Type | Description |
QueryWriteStatusResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParserForType()
public Parser<QueryWriteStatusResponse> getParserForType()
Type | Description |
Parser<QueryWriteStatusResponse> |
getPersistedSize()
public long getPersistedSize()
The total number of bytes that have been processed for the given object
from all WriteObject
calls. This is the correct value for the
'write_offset' field to use when resuming the WriteObject
operation.
Only set if the upload has not finalized.
int64 persisted_size = 1;
Type | Description |
long | The persistedSize. |
getResource()
public Object getResource()
A resource containing the metadata for the uploaded object. Only set if the upload has finalized.
.google.storage.v2.Object resource = 2;
Type | Description |
Object | The resource. |
getResourceOrBuilder()
public ObjectOrBuilder getResourceOrBuilder()
A resource containing the metadata for the uploaded object. Only set if the upload has finalized.
.google.storage.v2.Object resource = 2;
Type | Description |
ObjectOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getWriteStatusCase()
public QueryWriteStatusResponse.WriteStatusCase getWriteStatusCase()
Type | Description |
QueryWriteStatusResponse.WriteStatusCase |
hasPersistedSize()
public boolean hasPersistedSize()
The total number of bytes that have been processed for the given object
from all WriteObject
calls. This is the correct value for the
'write_offset' field to use when resuming the WriteObject
operation.
Only set if the upload has not finalized.
int64 persisted_size = 1;
Type | Description |
boolean | Whether the persistedSize field is set. |
hasResource()
public boolean hasResource()
A resource containing the metadata for the uploaded object. Only set if the upload has finalized.
.google.storage.v2.Object resource = 2;
Type | Description |
boolean | Whether the resource field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static QueryWriteStatusResponse.Builder newBuilder()
Type | Description |
QueryWriteStatusResponse.Builder |
newBuilder(QueryWriteStatusResponse prototype)
public static QueryWriteStatusResponse.Builder newBuilder(QueryWriteStatusResponse prototype)
Name | Description |
prototype | QueryWriteStatusResponse |
Type | Description |
QueryWriteStatusResponse.Builder |
newBuilderForType()
public QueryWriteStatusResponse.Builder newBuilderForType()
Type | Description |
QueryWriteStatusResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QueryWriteStatusResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
QueryWriteStatusResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static QueryWriteStatusResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryWriteStatusResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static QueryWriteStatusResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueryWriteStatusResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static QueryWriteStatusResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueryWriteStatusResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static QueryWriteStatusResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryWriteStatusResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static QueryWriteStatusResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryWriteStatusResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static QueryWriteStatusResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QueryWriteStatusResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryWriteStatusResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<QueryWriteStatusResponse> parser()
Type | Description |
Parser<QueryWriteStatusResponse> |
toBuilder()
public QueryWriteStatusResponse.Builder toBuilder()
Type | Description |
QueryWriteStatusResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |