Class GetFunctionRequest.Builder (2.62.0)

publicstaticfinalclassGetFunctionRequest.BuilderextendsGeneratedMessageV3.Builder<GetFunctionRequest.Builder>implementsGetFunctionRequestOrBuilder

Request for the GetFunction method.

Protobuf type google.cloud.functions.v2.GetFunctionRequest

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicGetFunctionRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides

build()

publicGetFunctionRequestbuild()
Returns
TypeDescription
GetFunctionRequest

buildPartial()

publicGetFunctionRequestbuildPartial()
Returns
TypeDescription
GetFunctionRequest

clear()

publicGetFunctionRequest.Builderclear()
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicGetFunctionRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides

clearName()

publicGetFunctionRequest.BuilderclearName()

Required. The name of the function which details should be obtained.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetFunctionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicGetFunctionRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides

clearRevision()

publicGetFunctionRequest.BuilderclearRevision()

Optional. The version of the 1st gen function whose details should be obtained. The version of a 1st gen function is an integer that starts from 1 and gets incremented on redeployments. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.

string revision = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GetFunctionRequest.Builder

This builder for chaining.

clone()

publicGetFunctionRequest.Builderclone()
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides

getDefaultInstanceForType()

publicGetFunctionRequestgetDefaultInstanceForType()
Returns
TypeDescription
GetFunctionRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

publicStringgetName()

Required. The name of the function which details should be obtained.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Required. The name of the function which details should be obtained.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getRevision()

publicStringgetRevision()

Optional. The version of the 1st gen function whose details should be obtained. The version of a 1st gen function is an integer that starts from 1 and gets incremented on redeployments. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.

string revision = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The revision.

getRevisionBytes()

publicByteStringgetRevisionBytes()

Optional. The version of the 1st gen function whose details should be obtained. The version of a 1st gen function is an integer that starts from 1 and gets incremented on redeployments. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.

string revision = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for revision.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetFunctionRequest other)

publicGetFunctionRequest.BuildermergeFrom(GetFunctionRequestother)
Parameter
NameDescription
otherGetFunctionRequest
Returns
TypeDescription
GetFunctionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicGetFunctionRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

publicGetFunctionRequest.BuildermergeFrom(Messageother)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalGetFunctionRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicGetFunctionRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides

setName(String value)

publicGetFunctionRequest.BuildersetName(Stringvalue)

Required. The name of the function which details should be obtained.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetFunctionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicGetFunctionRequest.BuildersetNameBytes(ByteStringvalue)

Required. The name of the function which details should be obtained.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetFunctionRequest.Builder

This builder for chaining.

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

publicGetFunctionRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides

setRevision(String value)

publicGetFunctionRequest.BuildersetRevision(Stringvalue)

Optional. The version of the 1st gen function whose details should be obtained. The version of a 1st gen function is an integer that starts from 1 and gets incremented on redeployments. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.

string revision = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The revision to set.

Returns
TypeDescription
GetFunctionRequest.Builder

This builder for chaining.

setRevisionBytes(ByteString value)

publicGetFunctionRequest.BuildersetRevisionBytes(ByteStringvalue)

Optional. The version of the 1st gen function whose details should be obtained. The version of a 1st gen function is an integer that starts from 1 and gets incremented on redeployments. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.

string revision = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for revision to set.

Returns
TypeDescription
GetFunctionRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalGetFunctionRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides