public static final class CloudFunction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder> implements CloudFunctionOrBuilder
Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.Protobuf type
google.cloud.functions.v1.CloudFunction| Modifier and Type | Method and Description |
|---|---|
CloudFunction.Builder |
addAllSecretEnvironmentVariables(Iterable<? extends SecretEnvVar> values)
Secret environment variables configuration.
|
CloudFunction.Builder |
addAllSecretVolumes(Iterable<? extends SecretVolume> values)
Secret volumes configuration.
|
CloudFunction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudFunction.Builder |
addSecretEnvironmentVariables(int index,
SecretEnvVar.Builder builderForValue)
Secret environment variables configuration.
|
CloudFunction.Builder |
addSecretEnvironmentVariables(int index,
SecretEnvVar value)
Secret environment variables configuration.
|
CloudFunction.Builder |
addSecretEnvironmentVariables(SecretEnvVar.Builder builderForValue)
Secret environment variables configuration.
|
CloudFunction.Builder |
addSecretEnvironmentVariables(SecretEnvVar value)
Secret environment variables configuration.
|
SecretEnvVar.Builder |
addSecretEnvironmentVariablesBuilder()
Secret environment variables configuration.
|
SecretEnvVar.Builder |
addSecretEnvironmentVariablesBuilder(int index)
Secret environment variables configuration.
|
CloudFunction.Builder |
addSecretVolumes(int index,
SecretVolume.Builder builderForValue)
Secret volumes configuration.
|
CloudFunction.Builder |
addSecretVolumes(int index,
SecretVolume value)
Secret volumes configuration.
|
CloudFunction.Builder |
addSecretVolumes(SecretVolume.Builder builderForValue)
Secret volumes configuration.
|
CloudFunction.Builder |
addSecretVolumes(SecretVolume value)
Secret volumes configuration.
|
SecretVolume.Builder |
addSecretVolumesBuilder()
Secret volumes configuration.
|
SecretVolume.Builder |
addSecretVolumesBuilder(int index)
Secret volumes configuration.
|
CloudFunction |
build() |
CloudFunction |
buildPartial() |
CloudFunction.Builder |
clear() |
CloudFunction.Builder |
clearAutomaticUpdatePolicy()
See the comment next to this message for more details.
|
CloudFunction.Builder |
clearAvailableMemoryMb()
The amount of memory in MB available for a function.
|
CloudFunction.Builder |
clearBuildEnvironmentVariables() |
CloudFunction.Builder |
clearBuildId()
Output only.
|
CloudFunction.Builder |
clearBuildName()
Output only.
|
CloudFunction.Builder |
clearBuildWorkerPool()
Name of the Cloud Build Custom Worker Pool that should be used to build the
function.
|
CloudFunction.Builder |
clearDescription()
User-provided description of a function.
|
CloudFunction.Builder |
clearDockerRegistry()
Docker Registry to use for this deployment.
|
CloudFunction.Builder |
clearDockerRepository()
User managed repository created in Artifact Registry optionally with a
customer managed encryption key.
|
CloudFunction.Builder |
clearEntryPoint()
The name of the function (as defined in source code) that will be
executed.
|
CloudFunction.Builder |
clearEnvironmentVariables() |
CloudFunction.Builder |
clearEventTrigger()
A source that fires events in response to a condition in another service.
|
CloudFunction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CloudFunction.Builder |
clearHttpsTrigger()
An HTTPS endpoint type of source that can be triggered via URL.
|
CloudFunction.Builder |
clearIngressSettings()
The ingress settings for the function, controlling what traffic can reach
it.
|
CloudFunction.Builder |
clearKmsKeyName()
Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
CloudFunction.Builder |
clearLabels() |
CloudFunction.Builder |
clearMaxInstances()
The limit on the maximum number of function instances that may coexist at a
given time.
|
CloudFunction.Builder |
clearMinInstances()
A lower bound for the number function instances that may coexist at a
given time.
|
CloudFunction.Builder |
clearName()
A user-defined name of the function.
|
CloudFunction.Builder |
clearNetwork()
Deprecated.
google.cloud.functions.v1.CloudFunction.network is deprecated. See
google/cloud/functions/v1/functions.proto;l=355
|
CloudFunction.Builder |
clearOnDeployUpdatePolicy()
See the comment next to this message for more details.
|
CloudFunction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudFunction.Builder |
clearRuntime()
The runtime in which to run the function.
|
CloudFunction.Builder |
clearRuntimeUpdatePolicy() |
CloudFunction.Builder |
clearSecretEnvironmentVariables()
Secret environment variables configuration.
|
CloudFunction.Builder |
clearSecretVolumes()
Secret volumes configuration.
|
CloudFunction.Builder |
clearServiceAccountEmail()
The email of the function's service account.
|
CloudFunction.Builder |
clearSourceArchiveUrl()
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
archive which contains the function.
|
CloudFunction.Builder |
clearSourceCode() |
CloudFunction.Builder |
clearSourceRepository()
**Beta Feature**
The source repository where a function is hosted.
|
CloudFunction.Builder |
clearSourceToken()
Input only.
|
CloudFunction.Builder |
clearSourceUploadUrl()
The Google Cloud Storage signed URL used for source uploading, generated
by calling [google.cloud.functions.v1.GenerateUploadUrl].
|
CloudFunction.Builder |
clearStatus()
Output only.
|
CloudFunction.Builder |
clearTimeout()
The function execution timeout.
|
CloudFunction.Builder |
clearTrigger() |
CloudFunction.Builder |
clearUpdateTime()
Output only.
|
CloudFunction.Builder |
clearVersionId()
Output only.
|
CloudFunction.Builder |
clearVpcConnector()
The VPC Network Connector that this cloud function can connect to.
|
CloudFunction.Builder |
clearVpcConnectorEgressSettings()
The egress settings for the connector, controlling what traffic is diverted
through it.
|
CloudFunction.Builder |
clone() |
boolean |
containsBuildEnvironmentVariables(String key)
Build environment variables that shall be available during build time.
|
boolean |
containsEnvironmentVariables(String key)
Environment variables that shall be available during function execution.
|
boolean |
containsLabels(String key)
Labels associated with this Cloud Function.
|
CloudFunction.AutomaticUpdatePolicy |
getAutomaticUpdatePolicy()
See the comment next to this message for more details.
|
CloudFunction.AutomaticUpdatePolicy.Builder |
getAutomaticUpdatePolicyBuilder()
See the comment next to this message for more details.
|
CloudFunction.AutomaticUpdatePolicyOrBuilder |
getAutomaticUpdatePolicyOrBuilder()
See the comment next to this message for more details.
|
int |
getAvailableMemoryMb()
The amount of memory in MB available for a function.
|
Map<String,String> |
getBuildEnvironmentVariables()
Deprecated.
|
int |
getBuildEnvironmentVariablesCount()
Build environment variables that shall be available during build time.
|
Map<String,String> |
getBuildEnvironmentVariablesMap()
Build environment variables that shall be available during build time.
|
String |
getBuildEnvironmentVariablesOrDefault(String key,
String defaultValue)
Build environment variables that shall be available during build time.
|
String |
getBuildEnvironmentVariablesOrThrow(String key)
Build environment variables that shall be available during build time.
|
String |
getBuildId()
Output only.
|
com.google.protobuf.ByteString |
getBuildIdBytes()
Output only.
|
String |
getBuildName()
Output only.
|
com.google.protobuf.ByteString |
getBuildNameBytes()
Output only.
|
String |
getBuildWorkerPool()
Name of the Cloud Build Custom Worker Pool that should be used to build the
function.
|
com.google.protobuf.ByteString |
getBuildWorkerPoolBytes()
Name of the Cloud Build Custom Worker Pool that should be used to build the
function.
|
CloudFunction |
getDefaultInstanceForType() |
String |
getDescription()
User-provided description of a function.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
User-provided description of a function.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CloudFunction.DockerRegistry |
getDockerRegistry()
Docker Registry to use for this deployment.
|
int |
getDockerRegistryValue()
Docker Registry to use for this deployment.
|
String |
getDockerRepository()
User managed repository created in Artifact Registry optionally with a
customer managed encryption key.
|
com.google.protobuf.ByteString |
getDockerRepositoryBytes()
User managed repository created in Artifact Registry optionally with a
customer managed encryption key.
|
String |
getEntryPoint()
The name of the function (as defined in source code) that will be
executed.
|
com.google.protobuf.ByteString |
getEntryPointBytes()
The name of the function (as defined in source code) that will be
executed.
|
Map<String,String> |
getEnvironmentVariables()
Deprecated.
|
int |
getEnvironmentVariablesCount()
Environment variables that shall be available during function execution.
|
Map<String,String> |
getEnvironmentVariablesMap()
Environment variables that shall be available during function execution.
|
String |
getEnvironmentVariablesOrDefault(String key,
String defaultValue)
Environment variables that shall be available during function execution.
|
String |
getEnvironmentVariablesOrThrow(String key)
Environment variables that shall be available during function execution.
|
EventTrigger |
getEventTrigger()
A source that fires events in response to a condition in another service.
|
EventTrigger.Builder |
getEventTriggerBuilder()
A source that fires events in response to a condition in another service.
|
EventTriggerOrBuilder |
getEventTriggerOrBuilder()
A source that fires events in response to a condition in another service.
|
HttpsTrigger |
getHttpsTrigger()
An HTTPS endpoint type of source that can be triggered via URL.
|
HttpsTrigger.Builder |
getHttpsTriggerBuilder()
An HTTPS endpoint type of source that can be triggered via URL.
|
HttpsTriggerOrBuilder |
getHttpsTriggerOrBuilder()
An HTTPS endpoint type of source that can be triggered via URL.
|
CloudFunction.IngressSettings |
getIngressSettings()
The ingress settings for the function, controlling what traffic can reach
it.
|
int |
getIngressSettingsValue()
The ingress settings for the function, controlling what traffic can reach
it.
|
String |
getKmsKeyName()
Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
com.google.protobuf.ByteString |
getKmsKeyNameBytes()
Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this Cloud Function.
|
Map<String,String> |
getLabelsMap()
Labels associated with this Cloud Function.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this Cloud Function.
|
String |
getLabelsOrThrow(String key)
Labels associated with this Cloud Function.
|
int |
getMaxInstances()
The limit on the maximum number of function instances that may coexist at a
given time.
|
int |
getMinInstances()
A lower bound for the number function instances that may coexist at a
given time.
|
Map<String,String> |
getMutableBuildEnvironmentVariables()
Deprecated.
|
Map<String,String> |
getMutableEnvironmentVariables()
Deprecated.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
A user-defined name of the function.
|
com.google.protobuf.ByteString |
getNameBytes()
A user-defined name of the function.
|
String |
getNetwork()
Deprecated.
google.cloud.functions.v1.CloudFunction.network is deprecated. See
google/cloud/functions/v1/functions.proto;l=355
|
com.google.protobuf.ByteString |
getNetworkBytes()
Deprecated.
google.cloud.functions.v1.CloudFunction.network is deprecated. See
google/cloud/functions/v1/functions.proto;l=355
|
CloudFunction.OnDeployUpdatePolicy |
getOnDeployUpdatePolicy()
See the comment next to this message for more details.
|
CloudFunction.OnDeployUpdatePolicy.Builder |
getOnDeployUpdatePolicyBuilder()
See the comment next to this message for more details.
|
CloudFunction.OnDeployUpdatePolicyOrBuilder |
getOnDeployUpdatePolicyOrBuilder()
See the comment next to this message for more details.
|
String |
getRuntime()
The runtime in which to run the function.
|
com.google.protobuf.ByteString |
getRuntimeBytes()
The runtime in which to run the function.
|
CloudFunction.RuntimeUpdatePolicyCase |
getRuntimeUpdatePolicyCase() |
SecretEnvVar |
getSecretEnvironmentVariables(int index)
Secret environment variables configuration.
|
SecretEnvVar.Builder |
getSecretEnvironmentVariablesBuilder(int index)
Secret environment variables configuration.
|
List<SecretEnvVar.Builder> |
getSecretEnvironmentVariablesBuilderList()
Secret environment variables configuration.
|
int |
getSecretEnvironmentVariablesCount()
Secret environment variables configuration.
|
List<SecretEnvVar> |
getSecretEnvironmentVariablesList()
Secret environment variables configuration.
|
SecretEnvVarOrBuilder |
getSecretEnvironmentVariablesOrBuilder(int index)
Secret environment variables configuration.
|
List<? extends SecretEnvVarOrBuilder> |
getSecretEnvironmentVariablesOrBuilderList()
Secret environment variables configuration.
|
SecretVolume |
getSecretVolumes(int index)
Secret volumes configuration.
|
SecretVolume.Builder |
getSecretVolumesBuilder(int index)
Secret volumes configuration.
|
List<SecretVolume.Builder> |
getSecretVolumesBuilderList()
Secret volumes configuration.
|
int |
getSecretVolumesCount()
Secret volumes configuration.
|
List<SecretVolume> |
getSecretVolumesList()
Secret volumes configuration.
|
SecretVolumeOrBuilder |
getSecretVolumesOrBuilder(int index)
Secret volumes configuration.
|
List<? extends SecretVolumeOrBuilder> |
getSecretVolumesOrBuilderList()
Secret volumes configuration.
|
String |
getServiceAccountEmail()
The email of the function's service account.
|
com.google.protobuf.ByteString |
getServiceAccountEmailBytes()
The email of the function's service account.
|
String |
getSourceArchiveUrl()
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
archive which contains the function.
|
com.google.protobuf.ByteString |
getSourceArchiveUrlBytes()
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
archive which contains the function.
|
CloudFunction.SourceCodeCase |
getSourceCodeCase() |
SourceRepository |
getSourceRepository()
**Beta Feature**
The source repository where a function is hosted.
|
SourceRepository.Builder |
getSourceRepositoryBuilder()
**Beta Feature**
The source repository where a function is hosted.
|
SourceRepositoryOrBuilder |
getSourceRepositoryOrBuilder()
**Beta Feature**
The source repository where a function is hosted.
|
String |
getSourceToken()
Input only.
|
com.google.protobuf.ByteString |
getSourceTokenBytes()
Input only.
|
String |
getSourceUploadUrl()
The Google Cloud Storage signed URL used for source uploading, generated
by calling [google.cloud.functions.v1.GenerateUploadUrl].
|
com.google.protobuf.ByteString |
getSourceUploadUrlBytes()
The Google Cloud Storage signed URL used for source uploading, generated
by calling [google.cloud.functions.v1.GenerateUploadUrl].
|
CloudFunctionStatus |
getStatus()
Output only.
|
int |
getStatusValue()
Output only.
|
com.google.protobuf.Duration |
getTimeout()
The function execution timeout.
|
com.google.protobuf.Duration.Builder |
getTimeoutBuilder()
The function execution timeout.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
The function execution timeout.
|
CloudFunction.TriggerCase |
getTriggerCase() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
long |
getVersionId()
Output only.
|
String |
getVpcConnector()
The VPC Network Connector that this cloud function can connect to.
|
com.google.protobuf.ByteString |
getVpcConnectorBytes()
The VPC Network Connector that this cloud function can connect to.
|
CloudFunction.VpcConnectorEgressSettings |
getVpcConnectorEgressSettings()
The egress settings for the connector, controlling what traffic is diverted
through it.
|
int |
getVpcConnectorEgressSettingsValue()
The egress settings for the connector, controlling what traffic is diverted
through it.
|
boolean |
hasAutomaticUpdatePolicy()
See the comment next to this message for more details.
|
boolean |
hasEventTrigger()
A source that fires events in response to a condition in another service.
|
boolean |
hasHttpsTrigger()
An HTTPS endpoint type of source that can be triggered via URL.
|
boolean |
hasOnDeployUpdatePolicy()
See the comment next to this message for more details.
|
boolean |
hasSourceArchiveUrl()
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
archive which contains the function.
|
boolean |
hasSourceRepository()
**Beta Feature**
The source repository where a function is hosted.
|
boolean |
hasSourceUploadUrl()
The Google Cloud Storage signed URL used for source uploading, generated
by calling [google.cloud.functions.v1.GenerateUploadUrl].
|
boolean |
hasTimeout()
The function execution timeout.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
CloudFunction.Builder |
mergeAutomaticUpdatePolicy(CloudFunction.AutomaticUpdatePolicy value)
See the comment next to this message for more details.
|
CloudFunction.Builder |
mergeEventTrigger(EventTrigger value)
A source that fires events in response to a condition in another service.
|
CloudFunction.Builder |
mergeFrom(CloudFunction other) |
CloudFunction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudFunction.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudFunction.Builder |
mergeHttpsTrigger(HttpsTrigger value)
An HTTPS endpoint type of source that can be triggered via URL.
|
CloudFunction.Builder |
mergeOnDeployUpdatePolicy(CloudFunction.OnDeployUpdatePolicy value)
See the comment next to this message for more details.
|
CloudFunction.Builder |
mergeSourceRepository(SourceRepository value)
**Beta Feature**
The source repository where a function is hosted.
|
CloudFunction.Builder |
mergeTimeout(com.google.protobuf.Duration value)
The function execution timeout.
|
CloudFunction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudFunction.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
CloudFunction.Builder |
putAllBuildEnvironmentVariables(Map<String,String> values)
Build environment variables that shall be available during build time.
|
CloudFunction.Builder |
putAllEnvironmentVariables(Map<String,String> values)
Environment variables that shall be available during function execution.
|
CloudFunction.Builder |
putAllLabels(Map<String,String> values)
Labels associated with this Cloud Function.
|
CloudFunction.Builder |
putBuildEnvironmentVariables(String key,
String value)
Build environment variables that shall be available during build time.
|
CloudFunction.Builder |
putEnvironmentVariables(String key,
String value)
Environment variables that shall be available during function execution.
|
CloudFunction.Builder |
putLabels(String key,
String value)
Labels associated with this Cloud Function.
|
CloudFunction.Builder |
removeBuildEnvironmentVariables(String key)
Build environment variables that shall be available during build time.
|
CloudFunction.Builder |
removeEnvironmentVariables(String key)
Environment variables that shall be available during function execution.
|
CloudFunction.Builder |
removeLabels(String key)
Labels associated with this Cloud Function.
|
CloudFunction.Builder |
removeSecretEnvironmentVariables(int index)
Secret environment variables configuration.
|
CloudFunction.Builder |
removeSecretVolumes(int index)
Secret volumes configuration.
|
CloudFunction.Builder |
setAutomaticUpdatePolicy(CloudFunction.AutomaticUpdatePolicy.Builder builderForValue)
See the comment next to this message for more details.
|
CloudFunction.Builder |
setAutomaticUpdatePolicy(CloudFunction.AutomaticUpdatePolicy value)
See the comment next to this message for more details.
|
CloudFunction.Builder |
setAvailableMemoryMb(int value)
The amount of memory in MB available for a function.
|
CloudFunction.Builder |
setBuildId(String value)
Output only.
|
CloudFunction.Builder |
setBuildIdBytes(com.google.protobuf.ByteString value)
Output only.
|
CloudFunction.Builder |
setBuildName(String value)
Output only.
|
CloudFunction.Builder |
setBuildNameBytes(com.google.protobuf.ByteString value)
Output only.
|
CloudFunction.Builder |
setBuildWorkerPool(String value)
Name of the Cloud Build Custom Worker Pool that should be used to build the
function.
|
CloudFunction.Builder |
setBuildWorkerPoolBytes(com.google.protobuf.ByteString value)
Name of the Cloud Build Custom Worker Pool that should be used to build the
function.
|
CloudFunction.Builder |
setDescription(String value)
User-provided description of a function.
|
CloudFunction.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided description of a function.
|
CloudFunction.Builder |
setDockerRegistry(CloudFunction.DockerRegistry value)
Docker Registry to use for this deployment.
|
CloudFunction.Builder |
setDockerRegistryValue(int value)
Docker Registry to use for this deployment.
|
CloudFunction.Builder |
setDockerRepository(String value)
User managed repository created in Artifact Registry optionally with a
customer managed encryption key.
|
CloudFunction.Builder |
setDockerRepositoryBytes(com.google.protobuf.ByteString value)
User managed repository created in Artifact Registry optionally with a
customer managed encryption key.
|
CloudFunction.Builder |
setEntryPoint(String value)
The name of the function (as defined in source code) that will be
executed.
|
CloudFunction.Builder |
setEntryPointBytes(com.google.protobuf.ByteString value)
The name of the function (as defined in source code) that will be
executed.
|
CloudFunction.Builder |
setEventTrigger(EventTrigger.Builder builderForValue)
A source that fires events in response to a condition in another service.
|
CloudFunction.Builder |
setEventTrigger(EventTrigger value)
A source that fires events in response to a condition in another service.
|
CloudFunction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudFunction.Builder |
setHttpsTrigger(HttpsTrigger.Builder builderForValue)
An HTTPS endpoint type of source that can be triggered via URL.
|
CloudFunction.Builder |
setHttpsTrigger(HttpsTrigger value)
An HTTPS endpoint type of source that can be triggered via URL.
|
CloudFunction.Builder |
setIngressSettings(CloudFunction.IngressSettings value)
The ingress settings for the function, controlling what traffic can reach
it.
|
CloudFunction.Builder |
setIngressSettingsValue(int value)
The ingress settings for the function, controlling what traffic can reach
it.
|
CloudFunction.Builder |
setKmsKeyName(String value)
Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
CloudFunction.Builder |
setKmsKeyNameBytes(com.google.protobuf.ByteString value)
Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
CloudFunction.Builder |
setMaxInstances(int value)
The limit on the maximum number of function instances that may coexist at a
given time.
|
CloudFunction.Builder |
setMinInstances(int value)
A lower bound for the number function instances that may coexist at a
given time.
|
CloudFunction.Builder |
setName(String value)
A user-defined name of the function.
|
CloudFunction.Builder |
setNameBytes(com.google.protobuf.ByteString value)
A user-defined name of the function.
|
CloudFunction.Builder |
setNetwork(String value)
Deprecated.
google.cloud.functions.v1.CloudFunction.network is deprecated. See
google/cloud/functions/v1/functions.proto;l=355
|
CloudFunction.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.functions.v1.CloudFunction.network is deprecated. See
google/cloud/functions/v1/functions.proto;l=355
|
CloudFunction.Builder |
setOnDeployUpdatePolicy(CloudFunction.OnDeployUpdatePolicy.Builder builderForValue)
See the comment next to this message for more details.
|
CloudFunction.Builder |
setOnDeployUpdatePolicy(CloudFunction.OnDeployUpdatePolicy value)
See the comment next to this message for more details.
|
CloudFunction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CloudFunction.Builder |
setRuntime(String value)
The runtime in which to run the function.
|
CloudFunction.Builder |
setRuntimeBytes(com.google.protobuf.ByteString value)
The runtime in which to run the function.
|
CloudFunction.Builder |
setSecretEnvironmentVariables(int index,
SecretEnvVar.Builder builderForValue)
Secret environment variables configuration.
|
CloudFunction.Builder |
setSecretEnvironmentVariables(int index,
SecretEnvVar value)
Secret environment variables configuration.
|
CloudFunction.Builder |
setSecretVolumes(int index,
SecretVolume.Builder builderForValue)
Secret volumes configuration.
|
CloudFunction.Builder |
setSecretVolumes(int index,
SecretVolume value)
Secret volumes configuration.
|
CloudFunction.Builder |
setServiceAccountEmail(String value)
The email of the function's service account.
|
CloudFunction.Builder |
setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
The email of the function's service account.
|
CloudFunction.Builder |
setSourceArchiveUrl(String value)
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
archive which contains the function.
|
CloudFunction.Builder |
setSourceArchiveUrlBytes(com.google.protobuf.ByteString value)
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
archive which contains the function.
|
CloudFunction.Builder |
setSourceRepository(SourceRepository.Builder builderForValue)
**Beta Feature**
The source repository where a function is hosted.
|
CloudFunction.Builder |
setSourceRepository(SourceRepository value)
**Beta Feature**
The source repository where a function is hosted.
|
CloudFunction.Builder |
setSourceToken(String value)
Input only.
|
CloudFunction.Builder |
setSourceTokenBytes(com.google.protobuf.ByteString value)
Input only.
|
CloudFunction.Builder |
setSourceUploadUrl(String value)
The Google Cloud Storage signed URL used for source uploading, generated
by calling [google.cloud.functions.v1.GenerateUploadUrl].
|
CloudFunction.Builder |
setSourceUploadUrlBytes(com.google.protobuf.ByteString value)
The Google Cloud Storage signed URL used for source uploading, generated
by calling [google.cloud.functions.v1.GenerateUploadUrl].
|
CloudFunction.Builder |
setStatus(CloudFunctionStatus value)
Output only.
|
CloudFunction.Builder |
setStatusValue(int value)
Output only.
|
CloudFunction.Builder |
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
The function execution timeout.
|
CloudFunction.Builder |
setTimeout(com.google.protobuf.Duration value)
The function execution timeout.
|
CloudFunction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudFunction.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CloudFunction.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
CloudFunction.Builder |
setVersionId(long value)
Output only.
|
CloudFunction.Builder |
setVpcConnector(String value)
The VPC Network Connector that this cloud function can connect to.
|
CloudFunction.Builder |
setVpcConnectorBytes(com.google.protobuf.ByteString value)
The VPC Network Connector that this cloud function can connect to.
|
CloudFunction.Builder |
setVpcConnectorEgressSettings(CloudFunction.VpcConnectorEgressSettings value)
The egress settings for the connector, controlling what traffic is diverted
through it.
|
CloudFunction.Builder |
setVpcConnectorEgressSettingsValue(int value)
The egress settings for the connector, controlling what traffic is diverted
through it.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public CloudFunction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public CloudFunction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CloudFunction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CloudFunction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CloudFunction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public CloudFunction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public CloudFunction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public CloudFunction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public CloudFunction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public CloudFunction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public CloudFunction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudFunction.Builder>public CloudFunction.Builder mergeFrom(CloudFunction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public CloudFunction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudFunction.Builder>IOExceptionpublic CloudFunction.SourceCodeCase getSourceCodeCase()
getSourceCodeCase in interface CloudFunctionOrBuilderpublic CloudFunction.Builder clearSourceCode()
public CloudFunction.TriggerCase getTriggerCase()
getTriggerCase in interface CloudFunctionOrBuilderpublic CloudFunction.Builder clearTrigger()
public CloudFunction.RuntimeUpdatePolicyCase getRuntimeUpdatePolicyCase()
getRuntimeUpdatePolicyCase in interface CloudFunctionOrBuilderpublic CloudFunction.Builder clearRuntimeUpdatePolicy()
public String getName()
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;getName in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;getNameBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setName(String value)
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;value - The name to set.public CloudFunction.Builder clearName()
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;public CloudFunction.Builder setNameBytes(com.google.protobuf.ByteString value)
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;value - The bytes for name to set.public String getDescription()
User-provided description of a function.
string description = 2;getDescription in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of a function.
string description = 2;getDescriptionBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setDescription(String value)
User-provided description of a function.
string description = 2;value - The description to set.public CloudFunction.Builder clearDescription()
User-provided description of a function.
string description = 2;public CloudFunction.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided description of a function.
string description = 2;value - The bytes for description to set.public boolean hasSourceArchiveUrl()
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.
string source_archive_url = 3;hasSourceArchiveUrl in interface CloudFunctionOrBuilderpublic String getSourceArchiveUrl()
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.
string source_archive_url = 3;getSourceArchiveUrl in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getSourceArchiveUrlBytes()
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.
string source_archive_url = 3;getSourceArchiveUrlBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setSourceArchiveUrl(String value)
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.
string source_archive_url = 3;value - The sourceArchiveUrl to set.public CloudFunction.Builder clearSourceArchiveUrl()
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.
string source_archive_url = 3;public CloudFunction.Builder setSourceArchiveUrlBytes(com.google.protobuf.ByteString value)
The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.
string source_archive_url = 3;value - The bytes for sourceArchiveUrl to set.public boolean hasSourceRepository()
**Beta Feature** The source repository where a function is hosted.
.google.cloud.functions.v1.SourceRepository source_repository = 4;hasSourceRepository in interface CloudFunctionOrBuilderpublic SourceRepository getSourceRepository()
**Beta Feature** The source repository where a function is hosted.
.google.cloud.functions.v1.SourceRepository source_repository = 4;getSourceRepository in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setSourceRepository(SourceRepository value)
**Beta Feature** The source repository where a function is hosted.
.google.cloud.functions.v1.SourceRepository source_repository = 4;public CloudFunction.Builder setSourceRepository(SourceRepository.Builder builderForValue)
**Beta Feature** The source repository where a function is hosted.
.google.cloud.functions.v1.SourceRepository source_repository = 4;public CloudFunction.Builder mergeSourceRepository(SourceRepository value)
**Beta Feature** The source repository where a function is hosted.
.google.cloud.functions.v1.SourceRepository source_repository = 4;public CloudFunction.Builder clearSourceRepository()
**Beta Feature** The source repository where a function is hosted.
.google.cloud.functions.v1.SourceRepository source_repository = 4;public SourceRepository.Builder getSourceRepositoryBuilder()
**Beta Feature** The source repository where a function is hosted.
.google.cloud.functions.v1.SourceRepository source_repository = 4;public SourceRepositoryOrBuilder getSourceRepositoryOrBuilder()
**Beta Feature** The source repository where a function is hosted.
.google.cloud.functions.v1.SourceRepository source_repository = 4;getSourceRepositoryOrBuilder in interface CloudFunctionOrBuilderpublic boolean hasSourceUploadUrl()
The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
string source_upload_url = 16;hasSourceUploadUrl in interface CloudFunctionOrBuilderpublic String getSourceUploadUrl()
The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
string source_upload_url = 16;getSourceUploadUrl in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getSourceUploadUrlBytes()
The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
string source_upload_url = 16;getSourceUploadUrlBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setSourceUploadUrl(String value)
The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
string source_upload_url = 16;value - The sourceUploadUrl to set.public CloudFunction.Builder clearSourceUploadUrl()
The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
string source_upload_url = 16;public CloudFunction.Builder setSourceUploadUrlBytes(com.google.protobuf.ByteString value)
The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
string source_upload_url = 16;value - The bytes for sourceUploadUrl to set.public boolean hasHttpsTrigger()
An HTTPS endpoint type of source that can be triggered via URL.
.google.cloud.functions.v1.HttpsTrigger https_trigger = 5;hasHttpsTrigger in interface CloudFunctionOrBuilderpublic HttpsTrigger getHttpsTrigger()
An HTTPS endpoint type of source that can be triggered via URL.
.google.cloud.functions.v1.HttpsTrigger https_trigger = 5;getHttpsTrigger in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setHttpsTrigger(HttpsTrigger value)
An HTTPS endpoint type of source that can be triggered via URL.
.google.cloud.functions.v1.HttpsTrigger https_trigger = 5;public CloudFunction.Builder setHttpsTrigger(HttpsTrigger.Builder builderForValue)
An HTTPS endpoint type of source that can be triggered via URL.
.google.cloud.functions.v1.HttpsTrigger https_trigger = 5;public CloudFunction.Builder mergeHttpsTrigger(HttpsTrigger value)
An HTTPS endpoint type of source that can be triggered via URL.
.google.cloud.functions.v1.HttpsTrigger https_trigger = 5;public CloudFunction.Builder clearHttpsTrigger()
An HTTPS endpoint type of source that can be triggered via URL.
.google.cloud.functions.v1.HttpsTrigger https_trigger = 5;public HttpsTrigger.Builder getHttpsTriggerBuilder()
An HTTPS endpoint type of source that can be triggered via URL.
.google.cloud.functions.v1.HttpsTrigger https_trigger = 5;public HttpsTriggerOrBuilder getHttpsTriggerOrBuilder()
An HTTPS endpoint type of source that can be triggered via URL.
.google.cloud.functions.v1.HttpsTrigger https_trigger = 5;getHttpsTriggerOrBuilder in interface CloudFunctionOrBuilderpublic boolean hasEventTrigger()
A source that fires events in response to a condition in another service.
.google.cloud.functions.v1.EventTrigger event_trigger = 6;hasEventTrigger in interface CloudFunctionOrBuilderpublic EventTrigger getEventTrigger()
A source that fires events in response to a condition in another service.
.google.cloud.functions.v1.EventTrigger event_trigger = 6;getEventTrigger in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setEventTrigger(EventTrigger value)
A source that fires events in response to a condition in another service.
.google.cloud.functions.v1.EventTrigger event_trigger = 6;public CloudFunction.Builder setEventTrigger(EventTrigger.Builder builderForValue)
A source that fires events in response to a condition in another service.
.google.cloud.functions.v1.EventTrigger event_trigger = 6;public CloudFunction.Builder mergeEventTrigger(EventTrigger value)
A source that fires events in response to a condition in another service.
.google.cloud.functions.v1.EventTrigger event_trigger = 6;public CloudFunction.Builder clearEventTrigger()
A source that fires events in response to a condition in another service.
.google.cloud.functions.v1.EventTrigger event_trigger = 6;public EventTrigger.Builder getEventTriggerBuilder()
A source that fires events in response to a condition in another service.
.google.cloud.functions.v1.EventTrigger event_trigger = 6;public EventTriggerOrBuilder getEventTriggerOrBuilder()
A source that fires events in response to a condition in another service.
.google.cloud.functions.v1.EventTrigger event_trigger = 6;getEventTriggerOrBuilder in interface CloudFunctionOrBuilderpublic int getStatusValue()
Output only. Status of the function deployment.
.google.cloud.functions.v1.CloudFunctionStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusValue in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setStatusValue(int value)
Output only. Status of the function deployment.
.google.cloud.functions.v1.CloudFunctionStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for status to set.public CloudFunctionStatus getStatus()
Output only. Status of the function deployment.
.google.cloud.functions.v1.CloudFunctionStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatus in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setStatus(CloudFunctionStatus value)
Output only. Status of the function deployment.
.google.cloud.functions.v1.CloudFunctionStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The status to set.public CloudFunction.Builder clearStatus()
Output only. Status of the function deployment.
.google.cloud.functions.v1.CloudFunctionStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getEntryPoint()
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
string entry_point = 8;getEntryPoint in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getEntryPointBytes()
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
string entry_point = 8;getEntryPointBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setEntryPoint(String value)
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
string entry_point = 8;value - The entryPoint to set.public CloudFunction.Builder clearEntryPoint()
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
string entry_point = 8;public CloudFunction.Builder setEntryPointBytes(com.google.protobuf.ByteString value)
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
string entry_point = 8;value - The bytes for entryPoint to set.public String getRuntime()
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
string runtime = 19;getRuntime in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getRuntimeBytes()
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
string runtime = 19;getRuntimeBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setRuntime(String value)
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
string runtime = 19;value - The runtime to set.public CloudFunction.Builder clearRuntime()
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
string runtime = 19;public CloudFunction.Builder setRuntimeBytes(com.google.protobuf.ByteString value)
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
string runtime = 19;value - The bytes for runtime to set.public boolean hasTimeout()
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
.google.protobuf.Duration timeout = 9;hasTimeout in interface CloudFunctionOrBuilderpublic com.google.protobuf.Duration getTimeout()
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
.google.protobuf.Duration timeout = 9;getTimeout in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setTimeout(com.google.protobuf.Duration value)
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
.google.protobuf.Duration timeout = 9;public CloudFunction.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
.google.protobuf.Duration timeout = 9;public CloudFunction.Builder mergeTimeout(com.google.protobuf.Duration value)
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
.google.protobuf.Duration timeout = 9;public CloudFunction.Builder clearTimeout()
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
.google.protobuf.Duration timeout = 9;public com.google.protobuf.Duration.Builder getTimeoutBuilder()
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
.google.protobuf.Duration timeout = 9;public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
.google.protobuf.Duration timeout = 9;getTimeoutOrBuilder in interface CloudFunctionOrBuilderpublic int getAvailableMemoryMb()
The amount of memory in MB available for a function. Defaults to 256MB.
int32 available_memory_mb = 10;getAvailableMemoryMb in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setAvailableMemoryMb(int value)
The amount of memory in MB available for a function. Defaults to 256MB.
int32 available_memory_mb = 10;value - The availableMemoryMb to set.public CloudFunction.Builder clearAvailableMemoryMb()
The amount of memory in MB available for a function. Defaults to 256MB.
int32 available_memory_mb = 10;public String getServiceAccountEmail()
The email of the function's service account. If empty, defaults to
`{project_id}@appspot.gserviceaccount.com`.
string service_account_email = 11;getServiceAccountEmail in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getServiceAccountEmailBytes()
The email of the function's service account. If empty, defaults to
`{project_id}@appspot.gserviceaccount.com`.
string service_account_email = 11;getServiceAccountEmailBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setServiceAccountEmail(String value)
The email of the function's service account. If empty, defaults to
`{project_id}@appspot.gserviceaccount.com`.
string service_account_email = 11;value - The serviceAccountEmail to set.public CloudFunction.Builder clearServiceAccountEmail()
The email of the function's service account. If empty, defaults to
`{project_id}@appspot.gserviceaccount.com`.
string service_account_email = 11;public CloudFunction.Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
The email of the function's service account. If empty, defaults to
`{project_id}@appspot.gserviceaccount.com`.
string service_account_email = 11;value - The bytes for serviceAccountEmail to set.public boolean hasUpdateTime()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface CloudFunctionOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CloudFunction.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CloudFunction.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CloudFunction.Builder clearUpdateTime()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface CloudFunctionOrBuilderpublic long getVersionId()
Output only. The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
int64 version_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getVersionId in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setVersionId(long value)
Output only. The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
int64 version_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The versionId to set.public CloudFunction.Builder clearVersionId()
Output only. The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
int64 version_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getLabelsCount()
CloudFunctionOrBuilderLabels associated with this Cloud Function.
map<string, string> labels = 15;getLabelsCount in interface CloudFunctionOrBuilderpublic boolean containsLabels(String key)
Labels associated with this Cloud Function.
map<string, string> labels = 15;containsLabels in interface CloudFunctionOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface CloudFunctionOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with this Cloud Function.
map<string, string> labels = 15;getLabelsMap in interface CloudFunctionOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this Cloud Function.
map<string, string> labels = 15;getLabelsOrDefault in interface CloudFunctionOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with this Cloud Function.
map<string, string> labels = 15;getLabelsOrThrow in interface CloudFunctionOrBuilderpublic CloudFunction.Builder clearLabels()
public CloudFunction.Builder removeLabels(String key)
Labels associated with this Cloud Function.
map<string, string> labels = 15;@Deprecated public Map<String,String> getMutableLabels()
public CloudFunction.Builder putLabels(String key, String value)
Labels associated with this Cloud Function.
map<string, string> labels = 15;public CloudFunction.Builder putAllLabels(Map<String,String> values)
Labels associated with this Cloud Function.
map<string, string> labels = 15;public int getEnvironmentVariablesCount()
CloudFunctionOrBuilderEnvironment variables that shall be available during function execution.
map<string, string> environment_variables = 17;getEnvironmentVariablesCount in interface CloudFunctionOrBuilderpublic boolean containsEnvironmentVariables(String key)
Environment variables that shall be available during function execution.
map<string, string> environment_variables = 17;containsEnvironmentVariables in interface CloudFunctionOrBuilder@Deprecated public Map<String,String> getEnvironmentVariables()
getEnvironmentVariablesMap() instead.getEnvironmentVariables in interface CloudFunctionOrBuilderpublic Map<String,String> getEnvironmentVariablesMap()
Environment variables that shall be available during function execution.
map<string, string> environment_variables = 17;getEnvironmentVariablesMap in interface CloudFunctionOrBuilderpublic String getEnvironmentVariablesOrDefault(String key, String defaultValue)
Environment variables that shall be available during function execution.
map<string, string> environment_variables = 17;getEnvironmentVariablesOrDefault in interface CloudFunctionOrBuilderpublic String getEnvironmentVariablesOrThrow(String key)
Environment variables that shall be available during function execution.
map<string, string> environment_variables = 17;getEnvironmentVariablesOrThrow in interface CloudFunctionOrBuilderpublic CloudFunction.Builder clearEnvironmentVariables()
public CloudFunction.Builder removeEnvironmentVariables(String key)
Environment variables that shall be available during function execution.
map<string, string> environment_variables = 17;@Deprecated public Map<String,String> getMutableEnvironmentVariables()
public CloudFunction.Builder putEnvironmentVariables(String key, String value)
Environment variables that shall be available during function execution.
map<string, string> environment_variables = 17;public CloudFunction.Builder putAllEnvironmentVariables(Map<String,String> values)
Environment variables that shall be available during function execution.
map<string, string> environment_variables = 17;public int getBuildEnvironmentVariablesCount()
CloudFunctionOrBuilderBuild environment variables that shall be available during build time.
map<string, string> build_environment_variables = 28;getBuildEnvironmentVariablesCount in interface CloudFunctionOrBuilderpublic boolean containsBuildEnvironmentVariables(String key)
Build environment variables that shall be available during build time.
map<string, string> build_environment_variables = 28;containsBuildEnvironmentVariables in interface CloudFunctionOrBuilder@Deprecated public Map<String,String> getBuildEnvironmentVariables()
getBuildEnvironmentVariablesMap() instead.getBuildEnvironmentVariables in interface CloudFunctionOrBuilderpublic Map<String,String> getBuildEnvironmentVariablesMap()
Build environment variables that shall be available during build time.
map<string, string> build_environment_variables = 28;getBuildEnvironmentVariablesMap in interface CloudFunctionOrBuilderpublic String getBuildEnvironmentVariablesOrDefault(String key, String defaultValue)
Build environment variables that shall be available during build time.
map<string, string> build_environment_variables = 28;getBuildEnvironmentVariablesOrDefault in interface CloudFunctionOrBuilderpublic String getBuildEnvironmentVariablesOrThrow(String key)
Build environment variables that shall be available during build time.
map<string, string> build_environment_variables = 28;getBuildEnvironmentVariablesOrThrow in interface CloudFunctionOrBuilderpublic CloudFunction.Builder clearBuildEnvironmentVariables()
public CloudFunction.Builder removeBuildEnvironmentVariables(String key)
Build environment variables that shall be available during build time.
map<string, string> build_environment_variables = 28;@Deprecated public Map<String,String> getMutableBuildEnvironmentVariables()
public CloudFunction.Builder putBuildEnvironmentVariables(String key, String value)
Build environment variables that shall be available during build time.
map<string, string> build_environment_variables = 28;public CloudFunction.Builder putAllBuildEnvironmentVariables(Map<String,String> values)
Build environment variables that shall be available during build time.
map<string, string> build_environment_variables = 28;@Deprecated public String getNetwork()
Deprecated: use vpc_connector
string network = 18 [deprecated = true];getNetwork in interface CloudFunctionOrBuilder@Deprecated public com.google.protobuf.ByteString getNetworkBytes()
Deprecated: use vpc_connector
string network = 18 [deprecated = true];getNetworkBytes in interface CloudFunctionOrBuilder@Deprecated public CloudFunction.Builder setNetwork(String value)
Deprecated: use vpc_connector
string network = 18 [deprecated = true];value - The network to set.@Deprecated public CloudFunction.Builder clearNetwork()
Deprecated: use vpc_connector
string network = 18 [deprecated = true];@Deprecated public CloudFunction.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Deprecated: use vpc_connector
string network = 18 [deprecated = true];value - The bytes for network to set.public int getMaxInstances()
The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.
int32 max_instances = 20;getMaxInstances in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setMaxInstances(int value)
The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.
int32 max_instances = 20;value - The maxInstances to set.public CloudFunction.Builder clearMaxInstances()
The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.
int32 max_instances = 20;public int getMinInstances()
A lower bound for the number function instances that may coexist at a given time.
int32 min_instances = 32;getMinInstances in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setMinInstances(int value)
A lower bound for the number function instances that may coexist at a given time.
int32 min_instances = 32;value - The minInstances to set.public CloudFunction.Builder clearMinInstances()
A lower bound for the number function instances that may coexist at a given time.
int32 min_instances = 32;public String getVpcConnector()
The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.
string vpc_connector = 22;getVpcConnector in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getVpcConnectorBytes()
The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.
string vpc_connector = 22;getVpcConnectorBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setVpcConnector(String value)
The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.
string vpc_connector = 22;value - The vpcConnector to set.public CloudFunction.Builder clearVpcConnector()
The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.
string vpc_connector = 22;public CloudFunction.Builder setVpcConnectorBytes(com.google.protobuf.ByteString value)
The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.
string vpc_connector = 22;value - The bytes for vpcConnector to set.public int getVpcConnectorEgressSettingsValue()
The egress settings for the connector, controlling what traffic is diverted through it.
.google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings vpc_connector_egress_settings = 23;
getVpcConnectorEgressSettingsValue in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setVpcConnectorEgressSettingsValue(int value)
The egress settings for the connector, controlling what traffic is diverted through it.
.google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings vpc_connector_egress_settings = 23;
value - The enum numeric value on the wire for vpcConnectorEgressSettings to set.public CloudFunction.VpcConnectorEgressSettings getVpcConnectorEgressSettings()
The egress settings for the connector, controlling what traffic is diverted through it.
.google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings vpc_connector_egress_settings = 23;
getVpcConnectorEgressSettings in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setVpcConnectorEgressSettings(CloudFunction.VpcConnectorEgressSettings value)
The egress settings for the connector, controlling what traffic is diverted through it.
.google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings vpc_connector_egress_settings = 23;
value - The vpcConnectorEgressSettings to set.public CloudFunction.Builder clearVpcConnectorEgressSettings()
The egress settings for the connector, controlling what traffic is diverted through it.
.google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings vpc_connector_egress_settings = 23;
public int getIngressSettingsValue()
The ingress settings for the function, controlling what traffic can reach it.
.google.cloud.functions.v1.CloudFunction.IngressSettings ingress_settings = 24;getIngressSettingsValue in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setIngressSettingsValue(int value)
The ingress settings for the function, controlling what traffic can reach it.
.google.cloud.functions.v1.CloudFunction.IngressSettings ingress_settings = 24;value - The enum numeric value on the wire for ingressSettings to set.public CloudFunction.IngressSettings getIngressSettings()
The ingress settings for the function, controlling what traffic can reach it.
.google.cloud.functions.v1.CloudFunction.IngressSettings ingress_settings = 24;getIngressSettings in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setIngressSettings(CloudFunction.IngressSettings value)
The ingress settings for the function, controlling what traffic can reach it.
.google.cloud.functions.v1.CloudFunction.IngressSettings ingress_settings = 24;value - The ingressSettings to set.public CloudFunction.Builder clearIngressSettings()
The ingress settings for the function, controlling what traffic can reach it.
.google.cloud.functions.v1.CloudFunction.IngressSettings ingress_settings = 24;public String getKmsKeyName()
Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
It must match the pattern
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
If specified, you must also provide an artifact registry repository using
the `docker_repository` field that was created with the same KMS crypto
key.
The following service accounts need to be granted the role 'Cloud KMS
CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)'
on the Key/KeyRing/Project/Organization (least access preferred).
1. Google Cloud Functions service account
(service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) -
Required to protect the function's image.
2. Google Storage service account
(service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) -
Required to protect the function's source code.
If this service account does not exist, deploying a function without a
KMS key or retrieving the service agent name provisions it. For more
information, see
https://cloud.google.com/storage/docs/projects#service-agents and
https://cloud.google.com/storage/docs/getting-service-agent#gsutil.
Google Cloud Functions delegates access to service agents to protect
function resources in internal projects that are not accessible by the
end user.
string kms_key_name = 25 [(.google.api.resource_reference) = { ... }getKmsKeyName in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getKmsKeyNameBytes()
Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
It must match the pattern
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
If specified, you must also provide an artifact registry repository using
the `docker_repository` field that was created with the same KMS crypto
key.
The following service accounts need to be granted the role 'Cloud KMS
CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)'
on the Key/KeyRing/Project/Organization (least access preferred).
1. Google Cloud Functions service account
(service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) -
Required to protect the function's image.
2. Google Storage service account
(service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) -
Required to protect the function's source code.
If this service account does not exist, deploying a function without a
KMS key or retrieving the service agent name provisions it. For more
information, see
https://cloud.google.com/storage/docs/projects#service-agents and
https://cloud.google.com/storage/docs/getting-service-agent#gsutil.
Google Cloud Functions delegates access to service agents to protect
function resources in internal projects that are not accessible by the
end user.
string kms_key_name = 25 [(.google.api.resource_reference) = { ... }getKmsKeyNameBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setKmsKeyName(String value)
Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
It must match the pattern
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
If specified, you must also provide an artifact registry repository using
the `docker_repository` field that was created with the same KMS crypto
key.
The following service accounts need to be granted the role 'Cloud KMS
CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)'
on the Key/KeyRing/Project/Organization (least access preferred).
1. Google Cloud Functions service account
(service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) -
Required to protect the function's image.
2. Google Storage service account
(service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) -
Required to protect the function's source code.
If this service account does not exist, deploying a function without a
KMS key or retrieving the service agent name provisions it. For more
information, see
https://cloud.google.com/storage/docs/projects#service-agents and
https://cloud.google.com/storage/docs/getting-service-agent#gsutil.
Google Cloud Functions delegates access to service agents to protect
function resources in internal projects that are not accessible by the
end user.
string kms_key_name = 25 [(.google.api.resource_reference) = { ... }value - The kmsKeyName to set.public CloudFunction.Builder clearKmsKeyName()
Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
It must match the pattern
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
If specified, you must also provide an artifact registry repository using
the `docker_repository` field that was created with the same KMS crypto
key.
The following service accounts need to be granted the role 'Cloud KMS
CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)'
on the Key/KeyRing/Project/Organization (least access preferred).
1. Google Cloud Functions service account
(service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) -
Required to protect the function's image.
2. Google Storage service account
(service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) -
Required to protect the function's source code.
If this service account does not exist, deploying a function without a
KMS key or retrieving the service agent name provisions it. For more
information, see
https://cloud.google.com/storage/docs/projects#service-agents and
https://cloud.google.com/storage/docs/getting-service-agent#gsutil.
Google Cloud Functions delegates access to service agents to protect
function resources in internal projects that are not accessible by the
end user.
string kms_key_name = 25 [(.google.api.resource_reference) = { ... }public CloudFunction.Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value)
Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
It must match the pattern
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
If specified, you must also provide an artifact registry repository using
the `docker_repository` field that was created with the same KMS crypto
key.
The following service accounts need to be granted the role 'Cloud KMS
CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)'
on the Key/KeyRing/Project/Organization (least access preferred).
1. Google Cloud Functions service account
(service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) -
Required to protect the function's image.
2. Google Storage service account
(service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) -
Required to protect the function's source code.
If this service account does not exist, deploying a function without a
KMS key or retrieving the service agent name provisions it. For more
information, see
https://cloud.google.com/storage/docs/projects#service-agents and
https://cloud.google.com/storage/docs/getting-service-agent#gsutil.
Google Cloud Functions delegates access to service agents to protect
function resources in internal projects that are not accessible by the
end user.
string kms_key_name = 25 [(.google.api.resource_reference) = { ... }value - The bytes for kmsKeyName to set.public String getBuildWorkerPool()
Name of the Cloud Build Custom Worker Pool that should be used to build the
function. The format of this field is
`projects/{project}/locations/{region}/workerPools/{workerPool}` where
`{project}` and `{region}` are the project id and region respectively where
the worker pool is defined and `{workerPool}` is the short name of the
worker pool.
If the project id is not the same as the function, then the Cloud
Functions Service Agent
(`service-<project_number>@gcf-admin-robot.iam.gserviceaccount.com`) must
be granted the role Cloud Build Custom Workers Builder
(`roles/cloudbuild.customworkers.builder`) in the project.
string build_worker_pool = 26;getBuildWorkerPool in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getBuildWorkerPoolBytes()
Name of the Cloud Build Custom Worker Pool that should be used to build the
function. The format of this field is
`projects/{project}/locations/{region}/workerPools/{workerPool}` where
`{project}` and `{region}` are the project id and region respectively where
the worker pool is defined and `{workerPool}` is the short name of the
worker pool.
If the project id is not the same as the function, then the Cloud
Functions Service Agent
(`service-<project_number>@gcf-admin-robot.iam.gserviceaccount.com`) must
be granted the role Cloud Build Custom Workers Builder
(`roles/cloudbuild.customworkers.builder`) in the project.
string build_worker_pool = 26;getBuildWorkerPoolBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setBuildWorkerPool(String value)
Name of the Cloud Build Custom Worker Pool that should be used to build the
function. The format of this field is
`projects/{project}/locations/{region}/workerPools/{workerPool}` where
`{project}` and `{region}` are the project id and region respectively where
the worker pool is defined and `{workerPool}` is the short name of the
worker pool.
If the project id is not the same as the function, then the Cloud
Functions Service Agent
(`service-<project_number>@gcf-admin-robot.iam.gserviceaccount.com`) must
be granted the role Cloud Build Custom Workers Builder
(`roles/cloudbuild.customworkers.builder`) in the project.
string build_worker_pool = 26;value - The buildWorkerPool to set.public CloudFunction.Builder clearBuildWorkerPool()
Name of the Cloud Build Custom Worker Pool that should be used to build the
function. The format of this field is
`projects/{project}/locations/{region}/workerPools/{workerPool}` where
`{project}` and `{region}` are the project id and region respectively where
the worker pool is defined and `{workerPool}` is the short name of the
worker pool.
If the project id is not the same as the function, then the Cloud
Functions Service Agent
(`service-<project_number>@gcf-admin-robot.iam.gserviceaccount.com`) must
be granted the role Cloud Build Custom Workers Builder
(`roles/cloudbuild.customworkers.builder`) in the project.
string build_worker_pool = 26;public CloudFunction.Builder setBuildWorkerPoolBytes(com.google.protobuf.ByteString value)
Name of the Cloud Build Custom Worker Pool that should be used to build the
function. The format of this field is
`projects/{project}/locations/{region}/workerPools/{workerPool}` where
`{project}` and `{region}` are the project id and region respectively where
the worker pool is defined and `{workerPool}` is the short name of the
worker pool.
If the project id is not the same as the function, then the Cloud
Functions Service Agent
(`service-<project_number>@gcf-admin-robot.iam.gserviceaccount.com`) must
be granted the role Cloud Build Custom Workers Builder
(`roles/cloudbuild.customworkers.builder`) in the project.
string build_worker_pool = 26;value - The bytes for buildWorkerPool to set.public String getBuildId()
Output only. The Cloud Build ID of the latest successful deployment of the function.
string build_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];getBuildId in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getBuildIdBytes()
Output only. The Cloud Build ID of the latest successful deployment of the function.
string build_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];getBuildIdBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setBuildId(String value)
Output only. The Cloud Build ID of the latest successful deployment of the function.
string build_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The buildId to set.public CloudFunction.Builder clearBuildId()
Output only. The Cloud Build ID of the latest successful deployment of the function.
string build_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];public CloudFunction.Builder setBuildIdBytes(com.google.protobuf.ByteString value)
Output only. The Cloud Build ID of the latest successful deployment of the function.
string build_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for buildId to set.public String getBuildName()
Output only. The Cloud Build Name of the function deployment. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];getBuildName in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getBuildNameBytes()
Output only. The Cloud Build Name of the function deployment. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];getBuildNameBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setBuildName(String value)
Output only. The Cloud Build Name of the function deployment. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The buildName to set.public CloudFunction.Builder clearBuildName()
Output only. The Cloud Build Name of the function deployment. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];public CloudFunction.Builder setBuildNameBytes(com.google.protobuf.ByteString value)
Output only. The Cloud Build Name of the function deployment. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for buildName to set.public List<SecretEnvVar> getSecretEnvironmentVariablesList()
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
getSecretEnvironmentVariablesList in interface CloudFunctionOrBuilderpublic int getSecretEnvironmentVariablesCount()
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
getSecretEnvironmentVariablesCount in interface CloudFunctionOrBuilderpublic SecretEnvVar getSecretEnvironmentVariables(int index)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
getSecretEnvironmentVariables in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setSecretEnvironmentVariables(int index, SecretEnvVar value)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public CloudFunction.Builder setSecretEnvironmentVariables(int index, SecretEnvVar.Builder builderForValue)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public CloudFunction.Builder addSecretEnvironmentVariables(SecretEnvVar value)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public CloudFunction.Builder addSecretEnvironmentVariables(int index, SecretEnvVar value)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public CloudFunction.Builder addSecretEnvironmentVariables(SecretEnvVar.Builder builderForValue)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public CloudFunction.Builder addSecretEnvironmentVariables(int index, SecretEnvVar.Builder builderForValue)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public CloudFunction.Builder addAllSecretEnvironmentVariables(Iterable<? extends SecretEnvVar> values)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public CloudFunction.Builder clearSecretEnvironmentVariables()
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public CloudFunction.Builder removeSecretEnvironmentVariables(int index)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public SecretEnvVar.Builder getSecretEnvironmentVariablesBuilder(int index)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public SecretEnvVarOrBuilder getSecretEnvironmentVariablesOrBuilder(int index)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
getSecretEnvironmentVariablesOrBuilder in interface CloudFunctionOrBuilderpublic List<? extends SecretEnvVarOrBuilder> getSecretEnvironmentVariablesOrBuilderList()
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
getSecretEnvironmentVariablesOrBuilderList in interface CloudFunctionOrBuilderpublic SecretEnvVar.Builder addSecretEnvironmentVariablesBuilder()
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public SecretEnvVar.Builder addSecretEnvironmentVariablesBuilder(int index)
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public List<SecretEnvVar.Builder> getSecretEnvironmentVariablesBuilderList()
Secret environment variables configuration.
repeated .google.cloud.functions.v1.SecretEnvVar secret_environment_variables = 29;
public List<SecretVolume> getSecretVolumesList()
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;getSecretVolumesList in interface CloudFunctionOrBuilderpublic int getSecretVolumesCount()
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;getSecretVolumesCount in interface CloudFunctionOrBuilderpublic SecretVolume getSecretVolumes(int index)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;getSecretVolumes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setSecretVolumes(int index, SecretVolume value)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public CloudFunction.Builder setSecretVolumes(int index, SecretVolume.Builder builderForValue)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public CloudFunction.Builder addSecretVolumes(SecretVolume value)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public CloudFunction.Builder addSecretVolumes(int index, SecretVolume value)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public CloudFunction.Builder addSecretVolumes(SecretVolume.Builder builderForValue)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public CloudFunction.Builder addSecretVolumes(int index, SecretVolume.Builder builderForValue)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public CloudFunction.Builder addAllSecretVolumes(Iterable<? extends SecretVolume> values)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public CloudFunction.Builder clearSecretVolumes()
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public CloudFunction.Builder removeSecretVolumes(int index)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public SecretVolume.Builder getSecretVolumesBuilder(int index)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public SecretVolumeOrBuilder getSecretVolumesOrBuilder(int index)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;getSecretVolumesOrBuilder in interface CloudFunctionOrBuilderpublic List<? extends SecretVolumeOrBuilder> getSecretVolumesOrBuilderList()
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;getSecretVolumesOrBuilderList in interface CloudFunctionOrBuilderpublic SecretVolume.Builder addSecretVolumesBuilder()
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public SecretVolume.Builder addSecretVolumesBuilder(int index)
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public List<SecretVolume.Builder> getSecretVolumesBuilderList()
Secret volumes configuration.
repeated .google.cloud.functions.v1.SecretVolume secret_volumes = 30;public String getSourceToken()
Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];getSourceToken in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getSourceTokenBytes()
Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];getSourceTokenBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setSourceToken(String value)
Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];value - The sourceToken to set.public CloudFunction.Builder clearSourceToken()
Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];public CloudFunction.Builder setSourceTokenBytes(com.google.protobuf.ByteString value)
Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 31 [(.google.api.field_behavior) = INPUT_ONLY];value - The bytes for sourceToken to set.public String getDockerRepository()
User managed repository created in Artifact Registry optionally with a
customer managed encryption key. If specified, deployments will use
Artifact Registry. If unspecified and the deployment is eligible to use
Artifact Registry, GCF will create and use a repository named
'gcf-artifacts' for every deployed region. This is the repository to which
the function docker image will be pushed after it is built by Cloud Build.
It must match the pattern
`projects/{project}/locations/{location}/repositories/{repository}`.
Cross-project repositories are not supported.
Cross-location repositories are not supported.
Repository format must be 'DOCKER'.
string docker_repository = 34 [(.google.api.resource_reference) = { ... }getDockerRepository in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getDockerRepositoryBytes()
User managed repository created in Artifact Registry optionally with a
customer managed encryption key. If specified, deployments will use
Artifact Registry. If unspecified and the deployment is eligible to use
Artifact Registry, GCF will create and use a repository named
'gcf-artifacts' for every deployed region. This is the repository to which
the function docker image will be pushed after it is built by Cloud Build.
It must match the pattern
`projects/{project}/locations/{location}/repositories/{repository}`.
Cross-project repositories are not supported.
Cross-location repositories are not supported.
Repository format must be 'DOCKER'.
string docker_repository = 34 [(.google.api.resource_reference) = { ... }getDockerRepositoryBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setDockerRepository(String value)
User managed repository created in Artifact Registry optionally with a
customer managed encryption key. If specified, deployments will use
Artifact Registry. If unspecified and the deployment is eligible to use
Artifact Registry, GCF will create and use a repository named
'gcf-artifacts' for every deployed region. This is the repository to which
the function docker image will be pushed after it is built by Cloud Build.
It must match the pattern
`projects/{project}/locations/{location}/repositories/{repository}`.
Cross-project repositories are not supported.
Cross-location repositories are not supported.
Repository format must be 'DOCKER'.
string docker_repository = 34 [(.google.api.resource_reference) = { ... }value - The dockerRepository to set.public CloudFunction.Builder clearDockerRepository()
User managed repository created in Artifact Registry optionally with a
customer managed encryption key. If specified, deployments will use
Artifact Registry. If unspecified and the deployment is eligible to use
Artifact Registry, GCF will create and use a repository named
'gcf-artifacts' for every deployed region. This is the repository to which
the function docker image will be pushed after it is built by Cloud Build.
It must match the pattern
`projects/{project}/locations/{location}/repositories/{repository}`.
Cross-project repositories are not supported.
Cross-location repositories are not supported.
Repository format must be 'DOCKER'.
string docker_repository = 34 [(.google.api.resource_reference) = { ... }public CloudFunction.Builder setDockerRepositoryBytes(com.google.protobuf.ByteString value)
User managed repository created in Artifact Registry optionally with a
customer managed encryption key. If specified, deployments will use
Artifact Registry. If unspecified and the deployment is eligible to use
Artifact Registry, GCF will create and use a repository named
'gcf-artifacts' for every deployed region. This is the repository to which
the function docker image will be pushed after it is built by Cloud Build.
It must match the pattern
`projects/{project}/locations/{location}/repositories/{repository}`.
Cross-project repositories are not supported.
Cross-location repositories are not supported.
Repository format must be 'DOCKER'.
string docker_repository = 34 [(.google.api.resource_reference) = { ... }value - The bytes for dockerRepository to set.public int getDockerRegistryValue()
Docker Registry to use for this deployment. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
.google.cloud.functions.v1.CloudFunction.DockerRegistry docker_registry = 35;getDockerRegistryValue in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setDockerRegistryValue(int value)
Docker Registry to use for this deployment. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
.google.cloud.functions.v1.CloudFunction.DockerRegistry docker_registry = 35;value - The enum numeric value on the wire for dockerRegistry to set.public CloudFunction.DockerRegistry getDockerRegistry()
Docker Registry to use for this deployment. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
.google.cloud.functions.v1.CloudFunction.DockerRegistry docker_registry = 35;getDockerRegistry in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setDockerRegistry(CloudFunction.DockerRegistry value)
Docker Registry to use for this deployment. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
.google.cloud.functions.v1.CloudFunction.DockerRegistry docker_registry = 35;value - The dockerRegistry to set.public CloudFunction.Builder clearDockerRegistry()
Docker Registry to use for this deployment. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
.google.cloud.functions.v1.CloudFunction.DockerRegistry docker_registry = 35;public boolean hasAutomaticUpdatePolicy()
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;
hasAutomaticUpdatePolicy in interface CloudFunctionOrBuilderpublic CloudFunction.AutomaticUpdatePolicy getAutomaticUpdatePolicy()
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;
getAutomaticUpdatePolicy in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setAutomaticUpdatePolicy(CloudFunction.AutomaticUpdatePolicy value)
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;
public CloudFunction.Builder setAutomaticUpdatePolicy(CloudFunction.AutomaticUpdatePolicy.Builder builderForValue)
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;
public CloudFunction.Builder mergeAutomaticUpdatePolicy(CloudFunction.AutomaticUpdatePolicy value)
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;
public CloudFunction.Builder clearAutomaticUpdatePolicy()
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;
public CloudFunction.AutomaticUpdatePolicy.Builder getAutomaticUpdatePolicyBuilder()
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;
public CloudFunction.AutomaticUpdatePolicyOrBuilder getAutomaticUpdatePolicyOrBuilder()
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;
getAutomaticUpdatePolicyOrBuilder in interface CloudFunctionOrBuilderpublic boolean hasOnDeployUpdatePolicy()
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;
hasOnDeployUpdatePolicy in interface CloudFunctionOrBuilderpublic CloudFunction.OnDeployUpdatePolicy getOnDeployUpdatePolicy()
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;
getOnDeployUpdatePolicy in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setOnDeployUpdatePolicy(CloudFunction.OnDeployUpdatePolicy value)
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;
public CloudFunction.Builder setOnDeployUpdatePolicy(CloudFunction.OnDeployUpdatePolicy.Builder builderForValue)
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;
public CloudFunction.Builder mergeOnDeployUpdatePolicy(CloudFunction.OnDeployUpdatePolicy value)
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;
public CloudFunction.Builder clearOnDeployUpdatePolicy()
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;
public CloudFunction.OnDeployUpdatePolicy.Builder getOnDeployUpdatePolicyBuilder()
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;
public CloudFunction.OnDeployUpdatePolicyOrBuilder getOnDeployUpdatePolicyOrBuilder()
See the comment next to this message for more details.
.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;
getOnDeployUpdatePolicyOrBuilder in interface CloudFunctionOrBuilderpublic final CloudFunction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>public final CloudFunction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>Copyright © 2024 Google LLC. All rights reserved.