Class CloudFunction.OnDeployUpdatePolicy (2.43.0)

public static final class CloudFunction.OnDeployUpdatePolicy extends GeneratedMessageV3 implements CloudFunction.OnDeployUpdatePolicyOrBuilder

Security patches are only applied when a function is redeployed.

Protobuf type google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CloudFunction.OnDeployUpdatePolicy

Static Fields

RUNTIME_VERSION_FIELD_NUMBER

public static final int RUNTIME_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CloudFunction.OnDeployUpdatePolicy getDefaultInstance()
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy

getDescriptor()

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

newBuilder()

public static CloudFunction.OnDeployUpdatePolicy.Builder newBuilder()
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder

newBuilder(CloudFunction.OnDeployUpdatePolicy prototype)

public static CloudFunction.OnDeployUpdatePolicy.Builder newBuilder(CloudFunction.OnDeployUpdatePolicy prototype)
Parameter
NameDescription
prototypeCloudFunction.OnDeployUpdatePolicy
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder

parseDelimitedFrom(InputStream input)

public static CloudFunction.OnDeployUpdatePolicy parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CloudFunction.OnDeployUpdatePolicy parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CloudFunction.OnDeployUpdatePolicy parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CloudFunction.OnDeployUpdatePolicy parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CloudFunction.OnDeployUpdatePolicy parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CloudFunction.OnDeployUpdatePolicy> parser()
Returns
TypeDescription
Parser<OnDeployUpdatePolicy>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CloudFunction.OnDeployUpdatePolicy getDefaultInstanceForType()
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy

getParserForType()

public Parser<CloudFunction.OnDeployUpdatePolicy> getParserForType()
Returns
TypeDescription
Parser<OnDeployUpdatePolicy>
Overrides

getRuntimeVersion()

public String getRuntimeVersion()

Output only. contains the runtime version which was used during latest function deployment.

string runtime_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The runtimeVersion.

getRuntimeVersionBytes()

public ByteString getRuntimeVersionBytes()

Output only. contains the runtime version which was used during latest function deployment.

string runtime_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for runtimeVersion.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 CloudFunction.OnDeployUpdatePolicy.Builder newBuilderForType()
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CloudFunction.OnDeployUpdatePolicy.Builder toBuilder()
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder

writeTo(CodedOutputStream output)

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