Class StartResumableWriteRequest.Builder (2.3.0)

public static final class StartResumableWriteRequest.Builder extends GeneratedMessageV3.Builder<StartResumableWriteRequest.Builder> implements StartResumableWriteRequestOrBuilder

Request message StartResumableWrite.

Protobuf type google.storage.v2.StartResumableWriteRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StartResumableWriteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StartResumableWriteRequest.Builder
Overrides

build()

public StartResumableWriteRequest build()
Returns
Type Description
StartResumableWriteRequest

buildPartial()

public StartResumableWriteRequest buildPartial()
Returns
Type Description
StartResumableWriteRequest

clear()

public StartResumableWriteRequest.Builder clear()
Returns
Type Description
StartResumableWriteRequest.Builder
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
Type Description
StartResumableWriteRequest.Builder

clearCommonRequestParams()

public StartResumableWriteRequest.Builder clearCommonRequestParams()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 4;

Returns
Type Description
StartResumableWriteRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public StartResumableWriteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StartResumableWriteRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StartResumableWriteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StartResumableWriteRequest.Builder
Overrides

clearWriteObjectSpec()

public StartResumableWriteRequest.Builder clearWriteObjectSpec()

The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1;

Returns
Type Description
StartResumableWriteRequest.Builder

clone()

public StartResumableWriteRequest.Builder clone()
Returns
Type Description
StartResumableWriteRequest.Builder
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
Type Description
CommonObjectRequestParams

The commonObjectRequestParams.

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
Type Description
CommonObjectRequestParams.Builder

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
Type Description
CommonObjectRequestParamsOrBuilder

getCommonRequestParams()

public CommonRequestParams getCommonRequestParams()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 4;

Returns
Type Description
CommonRequestParams

The commonRequestParams.

getCommonRequestParamsBuilder()

public CommonRequestParams.Builder getCommonRequestParamsBuilder()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 4;

Returns
Type Description
CommonRequestParams.Builder

getCommonRequestParamsOrBuilder()

public CommonRequestParamsOrBuilder getCommonRequestParamsOrBuilder()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 4;

Returns
Type Description
CommonRequestParamsOrBuilder

getDefaultInstanceForType()

public StartResumableWriteRequest getDefaultInstanceForType()
Returns
Type Description
StartResumableWriteRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getWriteObjectSpec()

public WriteObjectSpec getWriteObjectSpec()

The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1;

Returns
Type Description
WriteObjectSpec

The writeObjectSpec.

getWriteObjectSpecBuilder()

public WriteObjectSpec.Builder getWriteObjectSpecBuilder()

The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1;

Returns
Type Description
WriteObjectSpec.Builder

getWriteObjectSpecOrBuilder()

public WriteObjectSpecOrBuilder getWriteObjectSpecOrBuilder()

The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1;

Returns
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;

Returns
Type Description
boolean

Whether the commonObjectRequestParams field is set.

hasCommonRequestParams()

public boolean hasCommonRequestParams()

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 4;

Returns
Type Description
boolean

Whether the commonRequestParams field is set.

hasWriteObjectSpec()

public boolean hasWriteObjectSpec()

The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1;

Returns
Type Description
boolean

Whether the writeObjectSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Name Description
value CommonObjectRequestParams
Returns
Type Description
StartResumableWriteRequest.Builder

mergeCommonRequestParams(CommonRequestParams value)

public StartResumableWriteRequest.Builder mergeCommonRequestParams(CommonRequestParams value)

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 4;

Parameter
Name Description
value CommonRequestParams
Returns
Type Description
StartResumableWriteRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StartResumableWriteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StartResumableWriteRequest.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public StartResumableWriteRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StartResumableWriteRequest.Builder
Overrides

mergeFrom(StartResumableWriteRequest other)

public StartResumableWriteRequest.Builder mergeFrom(StartResumableWriteRequest other)
Parameter
Name Description
other StartResumableWriteRequest
Returns
Type Description
StartResumableWriteRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StartResumableWriteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StartResumableWriteRequest.Builder
Overrides

mergeWriteObjectSpec(WriteObjectSpec value)

public StartResumableWriteRequest.Builder mergeWriteObjectSpec(WriteObjectSpec value)

The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1;

Parameter
Name Description
value WriteObjectSpec
Returns
Type Description
StartResumableWriteRequest.Builder

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
Name Description
value CommonObjectRequestParams
Returns
Type Description
StartResumableWriteRequest.Builder

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
Name Description
builderForValue CommonObjectRequestParams.Builder
Returns
Type Description
StartResumableWriteRequest.Builder

setCommonRequestParams(CommonRequestParams value)

public StartResumableWriteRequest.Builder setCommonRequestParams(CommonRequestParams value)

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 4;

Parameter
Name Description
value CommonRequestParams
Returns
Type Description
StartResumableWriteRequest.Builder

setCommonRequestParams(CommonRequestParams.Builder builderForValue)

public StartResumableWriteRequest.Builder setCommonRequestParams(CommonRequestParams.Builder builderForValue)

A set of parameters common to all Storage API requests.

.google.storage.v2.CommonRequestParams common_request_params = 4;

Parameter
Name Description
builderForValue CommonRequestParams.Builder
Returns
Type Description
StartResumableWriteRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StartResumableWriteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StartResumableWriteRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StartResumableWriteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StartResumableWriteRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StartResumableWriteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StartResumableWriteRequest.Builder
Overrides

setWriteObjectSpec(WriteObjectSpec value)

public StartResumableWriteRequest.Builder setWriteObjectSpec(WriteObjectSpec value)

The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1;

Parameter
Name Description
value WriteObjectSpec
Returns
Type Description
StartResumableWriteRequest.Builder

setWriteObjectSpec(WriteObjectSpec.Builder builderForValue)

public StartResumableWriteRequest.Builder setWriteObjectSpec(WriteObjectSpec.Builder builderForValue)

The destination bucket, object, and metadata, as well as any preconditions.

.google.storage.v2.WriteObjectSpec write_object_spec = 1;

Parameter
Name Description
builderForValue WriteObjectSpec.Builder
Returns
Type Description
StartResumableWriteRequest.Builder