Send feedback
Class StartResumableWriteRequest (2.20.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.20.2 keyboard_arrow_down
public final class StartResumableWriteRequest extends GeneratedMessageV3 implements StartResumableWriteRequestOrBuilder
Request message StartResumableWrite.
Protobuf type google.storage.v2.StartResumableWriteRequest
Static Fields
COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER
public static final int COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER
Field Value
Type
Description
int
OBJECT_CHECKSUMS_FIELD_NUMBER
public static final int OBJECT_CHECKSUMS_FIELD_NUMBER
Field Value
Type
Description
int
WRITE_OBJECT_SPEC_FIELD_NUMBER
public static final int WRITE_OBJECT_SPEC_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static StartResumableWriteRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static StartResumableWriteRequest . Builder newBuilder ()
newBuilder(StartResumableWriteRequest prototype)
public static StartResumableWriteRequest . Builder newBuilder ( StartResumableWriteRequest prototype )
public static StartResumableWriteRequest parseDelimitedFrom ( InputStream input )
public static StartResumableWriteRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static StartResumableWriteRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static StartResumableWriteRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static StartResumableWriteRequest parseFrom ( CodedInputStream input )
public static StartResumableWriteRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static StartResumableWriteRequest parseFrom ( InputStream input )
public static StartResumableWriteRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static StartResumableWriteRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<StartResumableWriteRequest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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 = 3;
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;
getDefaultInstanceForType()
public StartResumableWriteRequest getDefaultInstanceForType ()
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;
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;
getParserForType()
public Parser<StartResumableWriteRequest> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
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];
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];
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;
Returns
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;
Returns
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];
Returns
Type
Description
boolean
Whether the writeObjectSpec field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public StartResumableWriteRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StartResumableWriteRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public StartResumableWriteRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]