Package com.google.storage.v2
Class StartResumableWriteRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.storage.v2.StartResumableWriteRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StartResumableWriteRequestOrBuilder,Serializable
public final class StartResumableWriteRequest
extends com.google.protobuf.GeneratedMessageV3
implements StartResumableWriteRequestOrBuilder
Request message StartResumableWrite.Protobuf type
google.storage.v2.StartResumableWriteRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest message StartResumableWrite.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.static StartResumableWriteRequeststatic final com.google.protobuf.Descriptors.DescriptorOptional.Optional.com.google.protobuf.Parser<StartResumableWriteRequest>intRequired.Required.booleanOptional.inthashCode()booleanOptional.booleanRequired.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(StartResumableWriteRequest prototype) protected StartResumableWriteRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static StartResumableWriteRequestparseDelimitedFrom(InputStream input) static StartResumableWriteRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartResumableWriteRequestparseFrom(byte[] data) static StartResumableWriteRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartResumableWriteRequestparseFrom(com.google.protobuf.ByteString data) static StartResumableWriteRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartResumableWriteRequestparseFrom(com.google.protobuf.CodedInputStream input) static StartResumableWriteRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartResumableWriteRequestparseFrom(InputStream input) static StartResumableWriteRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StartResumableWriteRequestparseFrom(ByteBuffer data) static StartResumableWriteRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StartResumableWriteRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
WRITE_OBJECT_SPEC_FIELD_NUMBER
public static final int WRITE_OBJECT_SPEC_FIELD_NUMBER- See Also:
-
COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER
public static final int COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER- See Also:
-
OBJECT_CHECKSUMS_FIELD_NUMBER
public static final int OBJECT_CHECKSUMS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StartResumableWriteRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartResumableWriteRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartResumableWriteRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartResumableWriteRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartResumableWriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartResumableWriteRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StartResumableWriteRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StartResumableWriteRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StartResumableWriteRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StartResumableWriteRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StartResumableWriteRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-