public final class WriteObjectResponse extends GeneratedMessageV3 implements WriteObjectResponseOrBuilder
Response message for WriteObject.
Protobuf type google.storage.v2.WriteObjectResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WriteObjectResponseImplements
WriteObjectResponseOrBuilderFields
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 WriteObjectResponse getDefaultInstance()
Type | Description |
WriteObjectResponse |
getDefaultInstanceForType()
public WriteObjectResponse getDefaultInstanceForType()
Type | Description |
WriteObjectResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParserForType()
public Parser<WriteObjectResponse> getParserForType()
Type | Description |
Parser<WriteObjectResponse> |
getPersistedSize()
public long getPersistedSize()
The total number of bytes that have been processed for the given object
from all WriteObject
calls. 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 WriteObjectResponse.WriteStatusCase getWriteStatusCase()
Type | Description |
WriteObjectResponse.WriteStatusCase |
hasPersistedSize()
public boolean hasPersistedSize()
The total number of bytes that have been processed for the given object
from all WriteObject
calls. 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 WriteObjectResponse.Builder newBuilder()
Type | Description |
WriteObjectResponse.Builder |
newBuilder(WriteObjectResponse prototype)
public static WriteObjectResponse.Builder newBuilder(WriteObjectResponse prototype)
Name | Description |
prototype | WriteObjectResponse |
Type | Description |
WriteObjectResponse.Builder |
newBuilderForType()
public WriteObjectResponse.Builder newBuilderForType()
Type | Description |
WriteObjectResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WriteObjectResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
WriteObjectResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static WriteObjectResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
WriteObjectResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WriteObjectResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteObjectResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static WriteObjectResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
WriteObjectResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WriteObjectResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteObjectResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static WriteObjectResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
WriteObjectResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WriteObjectResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteObjectResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static WriteObjectResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
WriteObjectResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WriteObjectResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteObjectResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static WriteObjectResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
WriteObjectResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WriteObjectResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteObjectResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static WriteObjectResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
WriteObjectResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WriteObjectResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteObjectResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<WriteObjectResponse> parser()
Type | Description |
Parser<WriteObjectResponse> |
toBuilder()
public WriteObjectResponse.Builder toBuilder()
Type | Description |
WriteObjectResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |