Class CloudFunction.AutomaticUpdatePolicy.Builder (2.44.0)

public static final class CloudFunction.AutomaticUpdatePolicy.Builder extends GeneratedMessageV3.Builder<CloudFunction.AutomaticUpdatePolicy.Builder> implements CloudFunction.AutomaticUpdatePolicyOrBuilder

Security patches are applied automatically to the runtime without requiring the function to be redeployed.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudFunction.AutomaticUpdatePolicy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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