Class GenerateDownloadUrlResponse.Builder (2.13.0)

publicstaticfinalclass GenerateDownloadUrlResponse.BuilderextendsGeneratedMessageV3.Builder<GenerateDownloadUrlResponse.Builder>implementsGenerateDownloadUrlResponseOrBuilder

Response of GenerateDownloadUrl method.

Protobuf type google.cloud.functions.v2.GenerateDownloadUrlResponse

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()
Returns
Type Description

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicGenerateDownloadUrlResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicGenerateDownloadUrlResponsebuild()
Returns
Type Description

buildPartial()

publicGenerateDownloadUrlResponsebuildPartial()
Returns
Type Description

clear()

publicGenerateDownloadUrlResponse.Builderclear()
Returns
Type Description
Overrides

clearDownloadUrl()

publicGenerateDownloadUrlResponse.BuilderclearDownloadUrl()

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)

publicGenerateDownloadUrlResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicGenerateDownloadUrlResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clone()

publicGenerateDownloadUrlResponse.Builderclone()
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicGenerateDownloadUrlResponsegetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getDownloadUrl()

publicStringgetDownloadUrl()

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()

publicByteStringgetDownloadUrlBytes()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(GenerateDownloadUrlResponse other)

publicGenerateDownloadUrlResponse.BuildermergeFrom(GenerateDownloadUrlResponseother)
Parameter
Name Description
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicGenerateDownloadUrlResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicGenerateDownloadUrlResponse.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalGenerateDownloadUrlResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setDownloadUrl(String value)

publicGenerateDownloadUrlResponse.BuildersetDownloadUrl(Stringvalue)

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)

publicGenerateDownloadUrlResponse.BuildersetDownloadUrlBytes(ByteStringvalue)

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)

publicGenerateDownloadUrlResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

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

publicGenerateDownloadUrlResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalGenerateDownloadUrlResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.