public final class StartResumableWriteRequest extends GeneratedMessageV3 implements StartResumableWriteRequestOrBuilder
Request message StartResumableWrite.
Protobuf type google.storage.v2.StartResumableWriteRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StartResumableWriteRequestImplements
StartResumableWriteRequestOrBuilderStatic Fields
COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER
public static final int COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER
Type | Description |
int |
OBJECT_CHECKSUMS_FIELD_NUMBER
public static final int OBJECT_CHECKSUMS_FIELD_NUMBER
Type | Description |
int |
WRITE_OBJECT_SPEC_FIELD_NUMBER
public static final int WRITE_OBJECT_SPEC_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static StartResumableWriteRequest getDefaultInstance()
Type | Description |
StartResumableWriteRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static StartResumableWriteRequest.Builder newBuilder()
Type | Description |
StartResumableWriteRequest.Builder |
newBuilder(StartResumableWriteRequest prototype)
public static StartResumableWriteRequest.Builder newBuilder(StartResumableWriteRequest prototype)
Name | Description |
prototype |
StartResumableWriteRequest |
Type | Description |
StartResumableWriteRequest.Builder |
parseDelimitedFrom(InputStream input)
public static StartResumableWriteRequest parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
StartResumableWriteRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
StartResumableWriteRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static StartResumableWriteRequest parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
StartResumableWriteRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
StartResumableWriteRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static StartResumableWriteRequest parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
StartResumableWriteRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
StartResumableWriteRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static StartResumableWriteRequest parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
StartResumableWriteRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
StartResumableWriteRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static StartResumableWriteRequest parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
StartResumableWriteRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
StartResumableWriteRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static StartResumableWriteRequest parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
StartResumableWriteRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
StartResumableWriteRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<StartResumableWriteRequest> parser()
Type | Description |
Parser<StartResumableWriteRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getCommonObjectRequestParams()
public CommonObjectRequestParams getCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3;
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 = 3;
Type | Description |
CommonObjectRequestParamsOrBuilder |
getDefaultInstanceForType()
public StartResumableWriteRequest getDefaultInstanceForType()
Type | Description |
StartResumableWriteRequest |
getObjectChecksums()
public ObjectChecksums getObjectChecksums()
The checksums of the complete object. This will be used to validate the
uploaded object. For each upload, object_checksums can be provided with
either StartResumableWriteRequest or the WriteObjectRequest with
finish_write set to true
.
.google.storage.v2.ObjectChecksums object_checksums = 5;
Type | Description |
ObjectChecksums |
The objectChecksums. |
getObjectChecksumsOrBuilder()
public ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder()
The checksums of the complete object. This will be used to validate the
uploaded object. For each upload, object_checksums can be provided with
either StartResumableWriteRequest or the WriteObjectRequest with
finish_write set to true
.
.google.storage.v2.ObjectChecksums object_checksums = 5;
Type | Description |
ObjectChecksumsOrBuilder |
getParserForType()
public Parser<StartResumableWriteRequest> getParserForType()
Type | Description |
Parser<StartResumableWriteRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getWriteObjectSpec()
public WriteObjectSpec getWriteObjectSpec()
Required. The destination bucket, object, and metadata, as well as any preconditions.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
WriteObjectSpec |
The writeObjectSpec. |
getWriteObjectSpecOrBuilder()
public WriteObjectSpecOrBuilder getWriteObjectSpecOrBuilder()
Required. The destination bucket, object, and metadata, as well as any preconditions.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
WriteObjectSpecOrBuilder |
hasCommonObjectRequestParams()
public boolean hasCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3;
Type | Description |
boolean |
Whether the commonObjectRequestParams field is set. |
hasObjectChecksums()
public boolean hasObjectChecksums()
The checksums of the complete object. This will be used to validate the
uploaded object. For each upload, object_checksums can be provided with
either StartResumableWriteRequest or the WriteObjectRequest with
finish_write set to true
.
.google.storage.v2.ObjectChecksums object_checksums = 5;
Type | Description |
boolean |
Whether the objectChecksums field is set. |
hasWriteObjectSpec()
public boolean hasWriteObjectSpec()
Required. The destination bucket, object, and metadata, as well as any preconditions.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean |
Whether the writeObjectSpec 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 |
newBuilderForType()
public StartResumableWriteRequest.Builder newBuilderForType()
Type | Description |
StartResumableWriteRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StartResumableWriteRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
StartResumableWriteRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public StartResumableWriteRequest.Builder toBuilder()
Type | Description |
StartResumableWriteRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |