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
OBJECT_CHECKSUMS_FIELD_NUMBER
public static final int OBJECT_CHECKSUMS_FIELD_NUMBER
Field Value
WRITE_OBJECT_SPEC_FIELD_NUMBER
public static final int WRITE_OBJECT_SPEC_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StartResumableWriteRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StartResumableWriteRequest.Builder newBuilder()
Returns
newBuilder(StartResumableWriteRequest prototype)
public static StartResumableWriteRequest.Builder newBuilder(StartResumableWriteRequest prototype)
Parameter
Returns
public static StartResumableWriteRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StartResumableWriteRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StartResumableWriteRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StartResumableWriteRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StartResumableWriteRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StartResumableWriteRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StartResumableWriteRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StartResumableWriteRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StartResumableWriteRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StartResumableWriteRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StartResumableWriteRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public StartResumableWriteRequest getDefaultInstanceForType()
Returns
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;
Returns
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;
Returns
getParserForType()
public Parser<StartResumableWriteRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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];
Returns
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];
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StartResumableWriteRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StartResumableWriteRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StartResumableWriteRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions