public static final class GenerateUploadUrlResponse.Builder extends GeneratedMessageV3.Builder<GenerateUploadUrlResponse.Builder> implements GenerateUploadUrlResponseOrBuilder
Response of GenerateSourceUploadUrl
method.
Protobuf type google.cloud.functions.v1.GenerateUploadUrlResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateUploadUrlResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GenerateUploadUrlResponse build()
Returns
buildPartial()
public GenerateUploadUrlResponse buildPartial()
Returns
clear()
public GenerateUploadUrlResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GenerateUploadUrlResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateUploadUrlResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clone()
public GenerateUploadUrlResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GenerateUploadUrlResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GenerateUploadUrlResponse other)
public GenerateUploadUrlResponse.Builder mergeFrom(GenerateUploadUrlResponse other)
Parameter
Returns
public GenerateUploadUrlResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GenerateUploadUrlResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateUploadUrlResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateUploadUrlResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateUploadUrlResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateUploadUrlResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
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