Class GenerateDownloadUrlRequest.Builder (2.4.2)

public static final class GenerateDownloadUrlRequest.Builder extends GeneratedMessageV3.Builder<GenerateDownloadUrlRequest.Builder> implements GenerateDownloadUrlRequestOrBuilder

Request of GenerateDownloadUrl method.

Protobuf type google.cloud.functions.v1.GenerateDownloadUrlRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateDownloadUrlRequest build()
Returns
TypeDescription
GenerateDownloadUrlRequest

buildPartial()

public GenerateDownloadUrlRequest buildPartial()
Returns
TypeDescription
GenerateDownloadUrlRequest

clear()

public GenerateDownloadUrlRequest.Builder clear()
Returns
TypeDescription
GenerateDownloadUrlRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GenerateDownloadUrlRequest.Builder clearName()

The name of function for which source code Google Cloud Storage signed URL should be generated.

string name = 1;

Returns
TypeDescription
GenerateDownloadUrlRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersionId()

public GenerateDownloadUrlRequest.Builder clearVersionId()

The optional version of function. If not set, default, current version is used.

uint64 version_id = 2;

Returns
TypeDescription
GenerateDownloadUrlRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GenerateDownloadUrlRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateDownloadUrlRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of function for which source code Google Cloud Storage signed URL should be generated.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of function for which source code Google Cloud Storage signed URL should be generated.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getVersionId()

public long getVersionId()

The optional version of function. If not set, default, current version is used.

uint64 version_id = 2;

Returns
TypeDescription
long

The versionId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateDownloadUrlRequest other)

public GenerateDownloadUrlRequest.Builder mergeFrom(GenerateDownloadUrlRequest other)
Parameter
NameDescription
otherGenerateDownloadUrlRequest
Returns
TypeDescription
GenerateDownloadUrlRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateDownloadUrlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateDownloadUrlRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GenerateDownloadUrlRequest.Builder setName(String value)

The name of function for which source code Google Cloud Storage signed URL should be generated.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GenerateDownloadUrlRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GenerateDownloadUrlRequest.Builder setNameBytes(ByteString value)

The name of function for which source code Google Cloud Storage signed URL should be generated.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GenerateDownloadUrlRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersionId(long value)

public GenerateDownloadUrlRequest.Builder setVersionId(long value)

The optional version of function. If not set, default, current version is used.

uint64 version_id = 2;

Parameter
NameDescription
valuelong

The versionId to set.

Returns
TypeDescription
GenerateDownloadUrlRequest.Builder

This builder for chaining.