- 2.50.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
public static final class GenerateUploadUrlResponse.Builder extends GeneratedMessageV3.Builder<GenerateUploadUrlResponse.Builder> implements GenerateUploadUrlResponseOrBuilder
Response of GenerateSourceUploadUrl
method.
Protobuf type google.cloud.functions.v2beta.GenerateUploadUrlResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateUploadUrlResponse.BuilderImplements
GenerateUploadUrlResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateUploadUrlResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
build()
public GenerateUploadUrlResponse build()
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse |
buildPartial()
public GenerateUploadUrlResponse buildPartial()
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse |
clear()
public GenerateUploadUrlResponse.Builder clear()
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public GenerateUploadUrlResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateUploadUrlResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
clearStorageSource()
public GenerateUploadUrlResponse.Builder clearStorageSource()
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.v2beta.StorageSource storage_source = 2;
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
clearUploadUrl()
public GenerateUploadUrlResponse.Builder clearUploadUrl()
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 |
GenerateUploadUrlResponse.Builder | This builder for chaining. |
clone()
public GenerateUploadUrlResponse.Builder clone()
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
getDefaultInstanceForType()
public GenerateUploadUrlResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getStorageSource()
public StorageSource getStorageSource()
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.v2beta.StorageSource storage_source = 2;
Returns | |
---|---|
Type | Description |
StorageSource | The storageSource. |
getStorageSourceBuilder()
public StorageSource.Builder getStorageSourceBuilder()
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.v2beta.StorageSource storage_source = 2;
Returns | |
---|---|
Type | Description |
StorageSource.Builder |
getStorageSourceOrBuilder()
public StorageSourceOrBuilder getStorageSourceOrBuilder()
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.v2beta.StorageSource storage_source = 2;
Returns | |
---|---|
Type | Description |
StorageSourceOrBuilder |
getUploadUrl()
public String getUploadUrl()
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()
public ByteString getUploadUrlBytes()
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()
public boolean hasStorageSource()
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.v2beta.StorageSource storage_source = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the storageSource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GenerateUploadUrlResponse other)
public GenerateUploadUrlResponse.Builder mergeFrom(GenerateUploadUrlResponse other)
Parameter | |
---|---|
Name | Description |
other | GenerateUploadUrlResponse |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateUploadUrlResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateUploadUrlResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
mergeStorageSource(StorageSource value)
public GenerateUploadUrlResponse.Builder mergeStorageSource(StorageSource value)
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.v2beta.StorageSource storage_source = 2;
Parameter | |
---|---|
Name | Description |
value | StorageSource |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateUploadUrlResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateUploadUrlResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateUploadUrlResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
setStorageSource(StorageSource value)
public GenerateUploadUrlResponse.Builder setStorageSource(StorageSource value)
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.v2beta.StorageSource storage_source = 2;
Parameter | |
---|---|
Name | Description |
value | StorageSource |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
setStorageSource(StorageSource.Builder builderForValue)
public GenerateUploadUrlResponse.Builder setStorageSource(StorageSource.Builder builderForValue)
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.v2beta.StorageSource storage_source = 2;
Parameter | |
---|---|
Name | Description |
builderForValue | StorageSource.Builder |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateUploadUrlResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder |
setUploadUrl(String value)
public GenerateUploadUrlResponse.Builder setUploadUrl(String value)
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. |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder | This builder for chaining. |
setUploadUrlBytes(ByteString value)
public GenerateUploadUrlResponse.Builder setUploadUrlBytes(ByteString value)
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. |
Returns | |
---|---|
Type | Description |
GenerateUploadUrlResponse.Builder | This builder for chaining. |