Class UpdateFunctionRequest (2.29.0)

public final class UpdateFunctionRequest extends GeneratedMessageV3 implements UpdateFunctionRequestOrBuilder

Request for the UpdateFunction method.

Protobuf type google.cloud.functions.v2beta.UpdateFunctionRequest

Static Fields

FUNCTION_FIELD_NUMBER

public static final int FUNCTION_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateFunctionRequest getDefaultInstance()
Returns
TypeDescription
UpdateFunctionRequest

getDescriptor()

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

newBuilder()

public static UpdateFunctionRequest.Builder newBuilder()
Returns
TypeDescription
UpdateFunctionRequest.Builder

newBuilder(UpdateFunctionRequest prototype)

public static UpdateFunctionRequest.Builder newBuilder(UpdateFunctionRequest prototype)
Parameter
NameDescription
prototypeUpdateFunctionRequest
Returns
TypeDescription
UpdateFunctionRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateFunctionRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateFunctionRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateFunctionRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateFunctionRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateFunctionRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateFunctionRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateFunctionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFunctionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateFunctionRequest> parser()
Returns
TypeDescription
Parser<UpdateFunctionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateFunctionRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateFunctionRequest

getFunction()

public Function getFunction()

Required. New version of the function.

.google.cloud.functions.v2beta.Function function = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Function

The function.

getFunctionOrBuilder()

public FunctionOrBuilder getFunctionOrBuilder()

Required. New version of the function.

.google.cloud.functions.v2beta.Function function = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FunctionOrBuilder

getParserForType()

public Parser<UpdateFunctionRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateFunctionRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated. If no field mask is provided, all provided fields in the request will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated. If no field mask is provided, all provided fields in the request will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasFunction()

public boolean hasFunction()

Required. New version of the function.

.google.cloud.functions.v2beta.Function function = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the function field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated. If no field mask is provided, all provided fields in the request will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateFunctionRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateFunctionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateFunctionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateFunctionRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateFunctionRequest.Builder toBuilder()
Returns
TypeDescription
UpdateFunctionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException