Class UpdateFunctionRequest (2.55.0)

public final class UpdateFunctionRequest extends GeneratedMessageV3 implements UpdateFunctionRequestOrBuilder

Request for the UpdateFunction method.

Protobuf type google.cloud.functions.v1.UpdateFunctionRequest

Static Fields

FUNCTION_FIELD_NUMBER

public static final int FUNCTION_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateFunctionRequest getDefaultInstance()
Returns
Type Description
UpdateFunctionRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateFunctionRequest.Builder newBuilder()
Returns
Type Description
UpdateFunctionRequest.Builder

newBuilder(UpdateFunctionRequest prototype)

public static UpdateFunctionRequest.Builder newBuilder(UpdateFunctionRequest prototype)
Parameter
Name Description
prototype UpdateFunctionRequest
Returns
Type Description
UpdateFunctionRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateFunctionRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateFunctionRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateFunctionRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateFunctionRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateFunctionRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateFunctionRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateFunctionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateFunctionRequest> parser()
Returns
Type Description
Parser<UpdateFunctionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateFunctionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateFunctionRequest

getFunction()

public CloudFunction getFunction()

Required. New version of the function.

.google.cloud.functions.v1.CloudFunction function = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudFunction

The function.

getFunctionOrBuilder()

public CloudFunctionOrBuilder getFunctionOrBuilder()

Required. New version of the function.

.google.cloud.functions.v1.CloudFunction function = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudFunctionOrBuilder

getParserForType()

public Parser<UpdateFunctionRequest> getParserForType()
Returns
Type Description
Parser<UpdateFunctionRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields in CloudFunction that have to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields in CloudFunction that have to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasFunction()

public boolean hasFunction()

Required. New version of the function.

.google.cloud.functions.v1.CloudFunction function = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the function field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields in CloudFunction that have to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateFunctionRequest.Builder newBuilderForType()
Returns
Type Description
UpdateFunctionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateFunctionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateFunctionRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateFunctionRequest.Builder toBuilder()
Returns
Type Description
UpdateFunctionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException