Class GenerateDownloadUrlResponse.Builder (2.46.0)

public static final class GenerateDownloadUrlResponse.Builder extends GeneratedMessageV3.Builder<GenerateDownloadUrlResponse.Builder> implements GenerateDownloadUrlResponseOrBuilder

Response of GenerateDownloadUrl method.

Protobuf type google.cloud.functions.v2beta.GenerateDownloadUrlResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateDownloadUrlResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides

build()

public GenerateDownloadUrlResponse build()
Returns
Type Description
GenerateDownloadUrlResponse

buildPartial()

public GenerateDownloadUrlResponse buildPartial()
Returns
Type Description
GenerateDownloadUrlResponse

clear()

public GenerateDownloadUrlResponse.Builder clear()
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides

clearDownloadUrl()

public GenerateDownloadUrlResponse.Builder clearDownloadUrl()

The generated Google Cloud Storage signed URL that should be used for function source code download.

string download_url = 1;

Returns
Type Description
GenerateDownloadUrlResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GenerateDownloadUrlResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateDownloadUrlResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides

clone()

public GenerateDownloadUrlResponse.Builder clone()
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateDownloadUrlResponse getDefaultInstanceForType()
Returns
Type Description
GenerateDownloadUrlResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDownloadUrl()

public String getDownloadUrl()

The generated Google Cloud Storage signed URL that should be used for function source code download.

string download_url = 1;

Returns
Type Description
String

The downloadUrl.

getDownloadUrlBytes()

public ByteString getDownloadUrlBytes()

The generated Google Cloud Storage signed URL that should be used for function source code download.

string download_url = 1;

Returns
Type Description
ByteString

The bytes for downloadUrl.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateDownloadUrlResponse other)

public GenerateDownloadUrlResponse.Builder mergeFrom(GenerateDownloadUrlResponse other)
Parameter
Name Description
other GenerateDownloadUrlResponse
Returns
Type Description
GenerateDownloadUrlResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateDownloadUrlResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenerateDownloadUrlResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateDownloadUrlResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides

setDownloadUrl(String value)

public GenerateDownloadUrlResponse.Builder setDownloadUrl(String value)

The generated Google Cloud Storage signed URL that should be used for function source code download.

string download_url = 1;

Parameter
Name Description
value String

The downloadUrl to set.

Returns
Type Description
GenerateDownloadUrlResponse.Builder

This builder for chaining.

setDownloadUrlBytes(ByteString value)

public GenerateDownloadUrlResponse.Builder setDownloadUrlBytes(ByteString value)

The generated Google Cloud Storage signed URL that should be used for function source code download.

string download_url = 1;

Parameter
Name Description
value ByteString

The bytes for downloadUrl to set.

Returns
Type Description
GenerateDownloadUrlResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateDownloadUrlResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateDownloadUrlResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateDownloadUrlResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateDownloadUrlResponse.Builder
Overrides