Class CloudFunction.OnDeployUpdatePolicy.Builder (2.53.0)

public static final class CloudFunction.OnDeployUpdatePolicy.Builder extends GeneratedMessageV3.Builder<CloudFunction.OnDeployUpdatePolicy.Builder> implements CloudFunction.OnDeployUpdatePolicyOrBuilder

Security patches are only applied when a function is redeployed.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudFunction.OnDeployUpdatePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

build()

public CloudFunction.OnDeployUpdatePolicy build()
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy

buildPartial()

public CloudFunction.OnDeployUpdatePolicy buildPartial()
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy

clear()

public CloudFunction.OnDeployUpdatePolicy.Builder clear()
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CloudFunction.OnDeployUpdatePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudFunction.OnDeployUpdatePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

clearRuntimeVersion()

public CloudFunction.OnDeployUpdatePolicy.Builder clearRuntimeVersion()

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

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

Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder

This builder for chaining.

clone()

public CloudFunction.OnDeployUpdatePolicy.Builder clone()
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

getDefaultInstanceForType()

public CloudFunction.OnDeployUpdatePolicy getDefaultInstanceForType()
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
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
Type Description
ByteString

The bytes for runtimeVersion.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudFunction.OnDeployUpdatePolicy other)

public CloudFunction.OnDeployUpdatePolicy.Builder mergeFrom(CloudFunction.OnDeployUpdatePolicy other)
Parameter
Name Description
other CloudFunction.OnDeployUpdatePolicy
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudFunction.OnDeployUpdatePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudFunction.OnDeployUpdatePolicy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudFunction.OnDeployUpdatePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CloudFunction.OnDeployUpdatePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

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

public CloudFunction.OnDeployUpdatePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

setRuntimeVersion(String value)

public CloudFunction.OnDeployUpdatePolicy.Builder setRuntimeVersion(String value)

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

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

Parameter
Name Description
value String

The runtimeVersion to set.

Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder

This builder for chaining.

setRuntimeVersionBytes(ByteString value)

public CloudFunction.OnDeployUpdatePolicy.Builder setRuntimeVersionBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for runtimeVersion to set.

Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudFunction.OnDeployUpdatePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides