Class GenerateDownloadUrlResponse.Builder (2.29.0)

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

Response of GenerateDownloadUrl method.

Protobuf type google.cloud.functions.v2.GenerateDownloadUrlResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateDownloadUrlResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateDownloadUrlResponse.Builder
Overrides

build()

public GenerateDownloadUrlResponse build()
Returns
TypeDescription
GenerateDownloadUrlResponse

buildPartial()

public GenerateDownloadUrlResponse buildPartial()
Returns
TypeDescription
GenerateDownloadUrlResponse

clear()

public GenerateDownloadUrlResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
GenerateDownloadUrlResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GenerateDownloadUrlResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GenerateDownloadUrlResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateDownloadUrlResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GenerateDownloadUrlResponse.Builder
Overrides

clone()

public GenerateDownloadUrlResponse.Builder clone()
Returns
TypeDescription
GenerateDownloadUrlResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateDownloadUrlResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateDownloadUrlResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for downloadUrl.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateDownloadUrlResponse other)

public GenerateDownloadUrlResponse.Builder mergeFrom(GenerateDownloadUrlResponse other)
Parameter
NameDescription
otherGenerateDownloadUrlResponse
Returns
TypeDescription
GenerateDownloadUrlResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateDownloadUrlResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateDownloadUrlResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GenerateDownloadUrlResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GenerateDownloadUrlResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateDownloadUrlResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The downloadUrl to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for downloadUrl to set.

Returns
TypeDescription
GenerateDownloadUrlResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateDownloadUrlResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateDownloadUrlResponse.Builder
Overrides

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

public GenerateDownloadUrlResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenerateDownloadUrlResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateDownloadUrlResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateDownloadUrlResponse.Builder
Overrides