public static final class StartResumableWriteRequest.Builder extends GeneratedMessageV3.Builder<StartResumableWriteRequest.Builder> implements StartResumableWriteRequestOrBuilder
Request message StartResumableWrite.
Protobuf type google.storage.v2.StartResumableWriteRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StartResumableWriteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StartResumableWriteRequest build()
Returns
buildPartial()
public StartResumableWriteRequest buildPartial()
Returns
clear()
public StartResumableWriteRequest.Builder clear()
Returns
Overrides
clearCommonObjectRequestParams()
public StartResumableWriteRequest.Builder clearCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public StartResumableWriteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearObjectChecksums()
public StartResumableWriteRequest.Builder clearObjectChecksums()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public StartResumableWriteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWriteObjectSpec()
public StartResumableWriteRequest.Builder clearWriteObjectSpec()
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
clone()
public StartResumableWriteRequest.Builder clone()
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
getCommonObjectRequestParamsBuilder()
public CommonObjectRequestParams.Builder getCommonObjectRequestParamsBuilder()
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getObjectChecksumsBuilder()
public ObjectChecksums.Builder getObjectChecksumsBuilder()
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
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
getWriteObjectSpecBuilder()
public WriteObjectSpec.Builder getWriteObjectSpecBuilder()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCommonObjectRequestParams(CommonObjectRequestParams value)
public StartResumableWriteRequest.Builder mergeCommonObjectRequestParams(CommonObjectRequestParams value)
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3;
Parameter
Returns
public StartResumableWriteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StartResumableWriteRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(StartResumableWriteRequest other)
public StartResumableWriteRequest.Builder mergeFrom(StartResumableWriteRequest other)
Parameter
Returns
mergeObjectChecksums(ObjectChecksums value)
public StartResumableWriteRequest.Builder mergeObjectChecksums(ObjectChecksums value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StartResumableWriteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWriteObjectSpec(WriteObjectSpec value)
public StartResumableWriteRequest.Builder mergeWriteObjectSpec(WriteObjectSpec value)
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];
Parameter
Returns
setCommonObjectRequestParams(CommonObjectRequestParams value)
public StartResumableWriteRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams value)
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3;
Parameter
Returns
setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue)
public StartResumableWriteRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue)
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StartResumableWriteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setObjectChecksums(ObjectChecksums value)
public StartResumableWriteRequest.Builder setObjectChecksums(ObjectChecksums value)
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;
Parameter
Returns
setObjectChecksums(ObjectChecksums.Builder builderForValue)
public StartResumableWriteRequest.Builder setObjectChecksums(ObjectChecksums.Builder builderForValue)
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;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StartResumableWriteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StartResumableWriteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWriteObjectSpec(WriteObjectSpec value)
public StartResumableWriteRequest.Builder setWriteObjectSpec(WriteObjectSpec value)
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];
Parameter
Returns
setWriteObjectSpec(WriteObjectSpec.Builder builderForValue)
public StartResumableWriteRequest.Builder setWriteObjectSpec(WriteObjectSpec.Builder builderForValue)
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];
Parameter
Returns