Package com.google.storage.v2
Class StartResumableWriteRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StartResumableWriteRequest.Builder>
com.google.storage.v2.StartResumableWriteRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StartResumableWriteRequestOrBuilder,Cloneable
- Enclosing class:
- StartResumableWriteRequest
public static final class StartResumableWriteRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StartResumableWriteRequest.Builder>
implements StartResumableWriteRequestOrBuilder
Request message for [StartResumableWrite][google.storage.v2.Storage.StartResumableWrite].Protobuf type
google.storage.v2.StartResumableWriteRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Required.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.Required.Required.Required.booleanOptional.booleanOptional.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Required.Optional.setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue) Optional.Optional.setObjectChecksums(ObjectChecksums.Builder builderForValue) Optional.Required.setWriteObjectSpec(WriteObjectSpec.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StartResumableWriteRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StartResumableWriteRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StartResumableWriteRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StartResumableWriteRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StartResumableWriteRequest.Builder>
-
mergeFrom
public StartResumableWriteRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StartResumableWriteRequest.Builder>- Throws:
IOException
-
hasWriteObjectSpec
public boolean hasWriteObjectSpec()Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasWriteObjectSpecin interfaceStartResumableWriteRequestOrBuilder- Returns:
- Whether the writeObjectSpec field is set.
-
getWriteObjectSpec
Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getWriteObjectSpecin interfaceStartResumableWriteRequestOrBuilder- Returns:
- The writeObjectSpec.
-
setWriteObjectSpec
Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
setWriteObjectSpec
public StartResumableWriteRequest.Builder setWriteObjectSpec(WriteObjectSpec.Builder builderForValue) Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
mergeWriteObjectSpec
Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearWriteObjectSpec
Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
getWriteObjectSpecBuilder
Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
getWriteObjectSpecOrBuilder
Required. Contains the information necessary to start a resumable write.
.google.storage.v2.WriteObjectSpec write_object_spec = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getWriteObjectSpecOrBuilderin interfaceStartResumableWriteRequestOrBuilder
-
hasCommonObjectRequestParams
public boolean hasCommonObjectRequestParams()Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCommonObjectRequestParamsin interfaceStartResumableWriteRequestOrBuilder- Returns:
- Whether the commonObjectRequestParams field is set.
-
getCommonObjectRequestParams
Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCommonObjectRequestParamsin interfaceStartResumableWriteRequestOrBuilder- Returns:
- The commonObjectRequestParams.
-
setCommonObjectRequestParams
public StartResumableWriteRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams value) Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setCommonObjectRequestParams
public StartResumableWriteRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue) Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeCommonObjectRequestParams
public StartResumableWriteRequest.Builder mergeCommonObjectRequestParams(CommonObjectRequestParams value) Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearCommonObjectRequestParams
Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getCommonObjectRequestParamsBuilder
Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getCommonObjectRequestParamsOrBuilder
Optional. A set of parameters common to Storage API requests related to an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCommonObjectRequestParamsOrBuilderin interfaceStartResumableWriteRequestOrBuilder
-
hasObjectChecksums
public boolean hasObjectChecksums()Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasObjectChecksumsin interfaceStartResumableWriteRequestOrBuilder- Returns:
- Whether the objectChecksums field is set.
-
getObjectChecksums
Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getObjectChecksumsin interfaceStartResumableWriteRequestOrBuilder- Returns:
- The objectChecksums.
-
setObjectChecksums
Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setObjectChecksums
public StartResumableWriteRequest.Builder setObjectChecksums(ObjectChecksums.Builder builderForValue) Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeObjectChecksums
Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearObjectChecksums
Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getObjectChecksumsBuilder
Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getObjectChecksumsOrBuilder
Optional. The checksums of the complete object. This is used to validate the uploaded object. For each upload, `object_checksums` can be provided when initiating a resumable upload with`StartResumableWriteRequest` or when completing a write with `WriteObjectRequest` with `finish_write` set to `true`.
.google.storage.v2.ObjectChecksums object_checksums = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getObjectChecksumsOrBuilderin interfaceStartResumableWriteRequestOrBuilder
-