Class CloudFunction.AutomaticUpdatePolicy.Builder (2.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudFunction.AutomaticUpdatePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CloudFunction.AutomaticUpdatePolicy.Builder
Overrides

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudFunction.AutomaticUpdatePolicy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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