Class CloudFunction.AutomaticUpdatePolicy (2.41.0)

public static final class CloudFunction.AutomaticUpdatePolicy extends GeneratedMessageV3 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

Inheritance

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

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(CloudFunction.AutomaticUpdatePolicy prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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