Class GetFunctionRequest (2.62.0)

publicfinalclassGetFunctionRequestextendsGeneratedMessageV3implementsGetFunctionRequestOrBuilder

Request for the GetFunction method.

Protobuf type google.cloud.functions.v2alpha.GetFunctionRequest

Static Fields

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
TypeDescription
int

REVISION_FIELD_NUMBER

publicstaticfinalintREVISION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticGetFunctionRequestgetDefaultInstance()
Returns
TypeDescription
GetFunctionRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticGetFunctionRequest.BuildernewBuilder()
Returns
TypeDescription
GetFunctionRequest.Builder

newBuilder(GetFunctionRequest prototype)

publicstaticGetFunctionRequest.BuildernewBuilder(GetFunctionRequestprototype)
Parameter
NameDescription
prototypeGetFunctionRequest
Returns
TypeDescription
GetFunctionRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticGetFunctionRequestparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGetFunctionRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticGetFunctionRequestparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticGetFunctionRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticGetFunctionRequestparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticGetFunctionRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticGetFunctionRequestparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGetFunctionRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticGetFunctionRequestparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGetFunctionRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticGetFunctionRequestparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticGetFunctionRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<GetFunctionRequest>parser()
Returns
TypeDescription
Parser<GetFunctionRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

publicGetFunctionRequestgetDefaultInstanceForType()
Returns
TypeDescription
GetFunctionRequest

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.

getParserForType()

publicParser<GetFunctionRequest>getParserForType()
Returns
TypeDescription
Parser<GetFunctionRequest>
Overrides

getRevision()

publicStringgetRevision()

Optional. The optional 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 optional 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.

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicGetFunctionRequest.BuildernewBuilderForType()
Returns
TypeDescription
GetFunctionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedGetFunctionRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GetFunctionRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicGetFunctionRequest.BuildertoBuilder()
Returns
TypeDescription
GetFunctionRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException