Class CloudFunction.OnDeployUpdatePolicy.Builder (2.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudFunction.OnDeployUpdatePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

build()

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

buildPartial()

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

clear()

public CloudFunction.OnDeployUpdatePolicy.Builder clear()
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CloudFunction.OnDeployUpdatePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudFunction.OnDeployUpdatePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder

This builder for chaining.

clone()

public CloudFunction.OnDeployUpdatePolicy.Builder clone()
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudFunction.OnDeployUpdatePolicy other)

public CloudFunction.OnDeployUpdatePolicy.Builder mergeFrom(CloudFunction.OnDeployUpdatePolicy other)
Parameter
NameDescription
otherCloudFunction.OnDeployUpdatePolicy
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudFunction.OnDeployUpdatePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CloudFunction.OnDeployUpdatePolicy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudFunction.OnDeployUpdatePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CloudFunction.OnDeployUpdatePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The runtimeVersion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for runtimeVersion to set.

Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudFunction.OnDeployUpdatePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudFunction.OnDeployUpdatePolicy.Builder
Overrides