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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudFunction.OnDeployUpdatePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CloudFunction.OnDeployUpdatePolicy build()
buildPartial()
public CloudFunction.OnDeployUpdatePolicy buildPartial()
clear()
public CloudFunction.OnDeployUpdatePolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CloudFunction.OnDeployUpdatePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudFunction.OnDeployUpdatePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public CloudFunction.OnDeployUpdatePolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public CloudFunction.OnDeployUpdatePolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CloudFunction.OnDeployUpdatePolicy other)
public CloudFunction.OnDeployUpdatePolicy.Builder mergeFrom(CloudFunction.OnDeployUpdatePolicy other)
public CloudFunction.OnDeployUpdatePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CloudFunction.OnDeployUpdatePolicy.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudFunction.OnDeployUpdatePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CloudFunction.OnDeployUpdatePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudFunction.OnDeployUpdatePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudFunction.OnDeployUpdatePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides