public static final class OnDeployUpdatePolicy.Builder extends GeneratedMessageV3.Builder<OnDeployUpdatePolicy.Builder> implements OnDeployUpdatePolicyOrBuilder
Security patches are only applied when a function is redeployed.
Protobuf type google.cloud.functions.v2.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 OnDeployUpdatePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OnDeployUpdatePolicy build()
buildPartial()
public OnDeployUpdatePolicy buildPartial()
clear()
public OnDeployUpdatePolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public OnDeployUpdatePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OnDeployUpdatePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRuntimeVersion()
public 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 OnDeployUpdatePolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public 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(OnDeployUpdatePolicy other)
public OnDeployUpdatePolicy.Builder mergeFrom(OnDeployUpdatePolicy other)
public OnDeployUpdatePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OnDeployUpdatePolicy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OnDeployUpdatePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public OnDeployUpdatePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OnDeployUpdatePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRuntimeVersion(String value)
public 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 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 OnDeployUpdatePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides