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 |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudFunction |
build() |
CloudFunction |
buildPartial() |
CloudFunction.Builder |
clear() |
CloudFunction.Builder |
clearAvailableMemoryMb()
The amount of memory in MB available for a function.
|
CloudFunction.Builder |
clearBuildId()
Output only.
|
CloudFunction.Builder |
clearDescription()
User-provided description of a function.
|
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 |
clearLabels() |
CloudFunction.Builder |
clearMaxInstances()
The limit on the maximum number of function instances that may coexist at a
given time.
|
CloudFunction.Builder |
clearName()
A user-defined name of the function.
|
CloudFunction.Builder |
clearNetwork()
The VPC Network that this cloud function can connect to.
|
CloudFunction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudFunction.Builder |
clearRuntime()
The runtime in which to run the function.
|
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 |
clearSourceUploadUrl()
The Google Cloud Storage signed URL used for source uploading, generated
by [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 |
containsEnvironmentVariables(String key)
Environment variables that shall be available during function execution.
|
boolean |
containsLabels(String key)
Labels associated with this Cloud Function.
|
int |
getAvailableMemoryMb()
The amount of memory in MB available for a function.
|
String |
getBuildId()
Output only.
|
com.google.protobuf.ByteString |
getBuildIdBytes()
Output only.
|
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() |
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.
|
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.
|
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()
The VPC Network that this cloud function can connect to.
|
com.google.protobuf.ByteString |
getNetworkBytes()
The VPC Network that this cloud function can connect to.
|
String |
getRuntime()
The runtime in which to run the function.
|
com.google.protobuf.ByteString |
getRuntimeBytes()
The runtime in which to run the function.
|
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 |
getSourceUploadUrl()
The Google Cloud Storage signed URL used for source uploading, generated
by [google.cloud.functions.v1.GenerateUploadUrl][]
|
com.google.protobuf.ByteString |
getSourceUploadUrlBytes()
The Google Cloud Storage signed URL used for source uploading, generated
by [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 |
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 |
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 [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.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
setMaxInstances(int value)
The limit on the maximum number of 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)
The VPC Network that this cloud function can connect to.
|
CloudFunction.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
The VPC Network that this cloud function can connect to.
|
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 |
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 |
setSourceUploadUrl(String value)
The Google Cloud Storage signed URL used for source uploading, generated
by [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 [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, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudFunction.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField 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 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 [google.cloud.functions.v1.GenerateUploadUrl][]
string source_upload_url = 16;hasSourceUploadUrl in interface CloudFunctionOrBuilderpublic String getSourceUploadUrl()
The Google Cloud Storage signed URL used for source uploading, generated by [google.cloud.functions.v1.GenerateUploadUrl][]
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 [google.cloud.functions.v1.GenerateUploadUrl][]
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 [google.cloud.functions.v1.GenerateUploadUrl][]
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 [google.cloud.functions.v1.GenerateUploadUrl][]
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 [google.cloud.functions.v1.GenerateUploadUrl][]
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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
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](/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](/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](/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](/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](/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 String getNetwork()
The VPC Network that this cloud function can connect to. It can be
either the fully-qualified URI, or the short name of the network resource.
If the short network name is used, the network must belong to the same
project. Otherwise, it must belong to a project within the same
organization. The format of this field is either
`projects/{project}/global/networks/{network}` or `{network}`, where
{project} is a project id where the network is defined, and {network} is
the short name of the network.
This field is mutually exclusive with `vpc_connector` and will be replaced
by it.
See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
more information on connecting Cloud projects.
string network = 18;getNetwork in interface CloudFunctionOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
The VPC Network that this cloud function can connect to. It can be
either the fully-qualified URI, or the short name of the network resource.
If the short network name is used, the network must belong to the same
project. Otherwise, it must belong to a project within the same
organization. The format of this field is either
`projects/{project}/global/networks/{network}` or `{network}`, where
{project} is a project id where the network is defined, and {network} is
the short name of the network.
This field is mutually exclusive with `vpc_connector` and will be replaced
by it.
See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
more information on connecting Cloud projects.
string network = 18;getNetworkBytes in interface CloudFunctionOrBuilderpublic CloudFunction.Builder setNetwork(String value)
The VPC Network that this cloud function can connect to. It can be
either the fully-qualified URI, or the short name of the network resource.
If the short network name is used, the network must belong to the same
project. Otherwise, it must belong to a project within the same
organization. The format of this field is either
`projects/{project}/global/networks/{network}` or `{network}`, where
{project} is a project id where the network is defined, and {network} is
the short name of the network.
This field is mutually exclusive with `vpc_connector` and will be replaced
by it.
See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
more information on connecting Cloud projects.
string network = 18;value - The network to set.public CloudFunction.Builder clearNetwork()
The VPC Network that this cloud function can connect to. It can be
either the fully-qualified URI, or the short name of the network resource.
If the short network name is used, the network must belong to the same
project. Otherwise, it must belong to a project within the same
organization. The format of this field is either
`projects/{project}/global/networks/{network}` or `{network}`, where
{project} is a project id where the network is defined, and {network} is
the short name of the network.
This field is mutually exclusive with `vpc_connector` and will be replaced
by it.
See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
more information on connecting Cloud projects.
string network = 18;public CloudFunction.Builder setNetworkBytes(com.google.protobuf.ByteString value)
The VPC Network that this cloud function can connect to. It can be
either the fully-qualified URI, or the short name of the network resource.
If the short network name is used, the network must belong to the same
project. Otherwise, it must belong to a project within the same
organization. The format of this field is either
`projects/{project}/global/networks/{network}` or `{network}`, where
{project} is a project id where the network is defined, and {network} is
the short name of the network.
This field is mutually exclusive with `vpc_connector` and will be replaced
by it.
See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
more information on connecting Cloud projects.
string network = 18;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.
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.
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.
int32 max_instances = 20;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 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 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 © 2021 Google LLC. All rights reserved.