publicstaticfinalclass GenerateUploadUrlResponse.BuilderextendsGeneratedMessageV3.Builder<GenerateUploadUrlResponse.Builder>implementsGenerateUploadUrlResponseOrBuilder
Response of GenerateSourceUploadUrl method.
Protobuf type google.cloud.functions.v2alpha.GenerateUploadUrlResponse
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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicGenerateUploadUrlResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicGenerateUploadUrlResponsebuild()
buildPartial()
publicGenerateUploadUrlResponsebuildPartial()
clear()
publicGenerateUploadUrlResponse.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicGenerateUploadUrlResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicGenerateUploadUrlResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearStorageSource()
publicGenerateUploadUrlResponse.BuilderclearStorageSource()
The location of the source code in the upload bucket.
Once the archive is uploaded using the upload_url use this field to
set the function.build_config.source.storage_source
during CreateFunction and UpdateFunction.
Generation defaults to 0, as Cloud Storage provides a new generation only
upon uploading a new object or version of an object.
.google.cloud.functions.v2alpha.StorageSource storage_source = 2;
clearUploadUrl()
publicGenerateUploadUrlResponse.BuilderclearUploadUrl()
The generated Google Cloud Storage signed URL that should be used for a
function source code upload. The uploaded file should be a zip archive
which contains a function.
string upload_url = 1;
clone()
publicGenerateUploadUrlResponse.Builderclone()
Overrides
getDefaultInstanceForType()
publicGenerateUploadUrlResponsegetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getStorageSource()
publicStorageSourcegetStorageSource()
The location of the source code in the upload bucket.
Once the archive is uploaded using the upload_url use this field to
set the function.build_config.source.storage_source
during CreateFunction and UpdateFunction.
Generation defaults to 0, as Cloud Storage provides a new generation only
upon uploading a new object or version of an object.
.google.cloud.functions.v2alpha.StorageSource storage_source = 2;
getStorageSourceBuilder()
publicStorageSource.BuildergetStorageSourceBuilder()
The location of the source code in the upload bucket.
Once the archive is uploaded using the upload_url use this field to
set the function.build_config.source.storage_source
during CreateFunction and UpdateFunction.
Generation defaults to 0, as Cloud Storage provides a new generation only
upon uploading a new object or version of an object.
.google.cloud.functions.v2alpha.StorageSource storage_source = 2;
getStorageSourceOrBuilder()
publicStorageSourceOrBuildergetStorageSourceOrBuilder()
The location of the source code in the upload bucket.
Once the archive is uploaded using the upload_url use this field to
set the function.build_config.source.storage_source
during CreateFunction and UpdateFunction.
Generation defaults to 0, as Cloud Storage provides a new generation only
upon uploading a new object or version of an object.
.google.cloud.functions.v2alpha.StorageSource storage_source = 2;
getUploadUrl()
publicStringgetUploadUrl()
The generated Google Cloud Storage signed URL that should be used for a
function source code upload. The uploaded file should be a zip archive
which contains a function.
string upload_url = 1;
| Returns |
| Type |
Description |
String |
The uploadUrl.
|
getUploadUrlBytes()
publicByteStringgetUploadUrlBytes()
The generated Google Cloud Storage signed URL that should be used for a
function source code upload. The uploaded file should be a zip archive
which contains a function.
string upload_url = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for uploadUrl.
|
hasStorageSource()
publicbooleanhasStorageSource()
The location of the source code in the upload bucket.
Once the archive is uploaded using the upload_url use this field to
set the function.build_config.source.storage_source
during CreateFunction and UpdateFunction.
Generation defaults to 0, as Cloud Storage provides a new generation only
upon uploading a new object or version of an object.
.google.cloud.functions.v2alpha.StorageSource storage_source = 2;
| Returns |
| Type |
Description |
boolean |
Whether the storageSource field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(GenerateUploadUrlResponse other)
publicGenerateUploadUrlResponse.BuildermergeFrom(GenerateUploadUrlResponseother)
publicGenerateUploadUrlResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicGenerateUploadUrlResponse.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeStorageSource(StorageSource value)
publicGenerateUploadUrlResponse.BuildermergeStorageSource(StorageSourcevalue)
The location of the source code in the upload bucket.
Once the archive is uploaded using the upload_url use this field to
set the function.build_config.source.storage_source
during CreateFunction and UpdateFunction.
Generation defaults to 0, as Cloud Storage provides a new generation only
upon uploading a new object or version of an object.
.google.cloud.functions.v2alpha.StorageSource storage_source = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalGenerateUploadUrlResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicGenerateUploadUrlResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicGenerateUploadUrlResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setStorageSource(StorageSource value)
publicGenerateUploadUrlResponse.BuildersetStorageSource(StorageSourcevalue)
The location of the source code in the upload bucket.
Once the archive is uploaded using the upload_url use this field to
set the function.build_config.source.storage_source
during CreateFunction and UpdateFunction.
Generation defaults to 0, as Cloud Storage provides a new generation only
upon uploading a new object or version of an object.
.google.cloud.functions.v2alpha.StorageSource storage_source = 2;
setStorageSource(StorageSource.Builder builderForValue)
publicGenerateUploadUrlResponse.BuildersetStorageSource(StorageSource.BuilderbuilderForValue)
The location of the source code in the upload bucket.
Once the archive is uploaded using the upload_url use this field to
set the function.build_config.source.storage_source
during CreateFunction and UpdateFunction.
Generation defaults to 0, as Cloud Storage provides a new generation only
upon uploading a new object or version of an object.
.google.cloud.functions.v2alpha.StorageSource storage_source = 2;
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalGenerateUploadUrlResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides
setUploadUrl(String value)
publicGenerateUploadUrlResponse.BuildersetUploadUrl(Stringvalue)
The generated Google Cloud Storage signed URL that should be used for a
function source code upload. The uploaded file should be a zip archive
which contains a function.
string upload_url = 1;
| Parameter |
| Name |
Description |
value |
String
The uploadUrl to set.
|
setUploadUrlBytes(ByteString value)
publicGenerateUploadUrlResponse.BuildersetUploadUrlBytes(ByteStringvalue)
The generated Google Cloud Storage signed URL that should be used for a
function source code upload. The uploaded file should be a zip archive
which contains a function.
string upload_url = 1;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for uploadUrl to set.
|