Class Function.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Function.Builder>
com.google.cloud.functions.v2beta.Function.Builder
- All Implemented Interfaces:
FunctionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Function
public static final class Function.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Function.Builder>
implements FunctionOrBuilder
Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.Protobuf type
google.cloud.functions.v2beta.Function-
Method Summary
Modifier and TypeMethodDescriptionaddAllStateMessages(Iterable<? extends StateMessage> values) Output only.addStateMessages(int index, StateMessage value) Output only.addStateMessages(int index, StateMessage.Builder builderForValue) Output only.addStateMessages(StateMessage value) Output only.addStateMessages(StateMessage.Builder builderForValue) Output only.Output only.addStateMessagesBuilder(int index) Output only.build()clear()Describes the Build step of the function that builds a container from the given source.Output only.User-provided description of a function.Describe whether the function is 1st Gen or 2nd Gen.An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.[Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.A user-defined name of the function.Output only.Describes the Service being deployed.Output only.Output only.Output only.clearUrl()Output only.booleancontainsLabels(String key) Labels associated with this Cloud Function.Describes the Build step of the function that builds a container from the given source.Describes the Build step of the function that builds a container from the given source.Describes the Build step of the function that builds a container from the given source.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.User-provided description of a function.com.google.protobuf.ByteStringUser-provided description of a function.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDescribe whether the function is 1st Gen or 2nd Gen.intDescribe whether the function is 1st Gen or 2nd Gen.An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.[Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.com.google.protobuf.ByteString[Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.Deprecated.intLabels associated with this Cloud Function.Labels associated with this Cloud Function.getLabelsOrDefault(String key, String defaultValue) Labels associated with this Cloud Function.getLabelsOrThrow(String key) Labels associated with this Cloud Function.Deprecated.getName()A user-defined name of the function.com.google.protobuf.ByteStringA user-defined name of the function.booleanOutput only.Describes the Service being deployed.Describes the Service being deployed.Describes the Service being deployed.getState()Output only.getStateMessages(int index) Output only.getStateMessagesBuilder(int index) Output only.Output only.intOutput only.Output only.getStateMessagesOrBuilder(int index) Output only.List<? extends StateMessageOrBuilder>Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getUrl()Output only.com.google.protobuf.ByteStringOutput only.booleanDescribes the Build step of the function that builds a container from the given source.booleanOutput only.booleanAn Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.booleanDescribes the Service being deployed.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeBuildConfig(BuildConfig value) Describes the Build step of the function that builds a container from the given source.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeEventTrigger(EventTrigger value) An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeServiceConfig(ServiceConfig value) Describes the Service being deployed.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Labels associated with this Cloud Function.Labels associated with this Cloud Function.removeLabels(String key) Labels associated with this Cloud Function.removeStateMessages(int index) Output only.setBuildConfig(BuildConfig value) Describes the Build step of the function that builds a container from the given source.setBuildConfig(BuildConfig.Builder builderForValue) Describes the Build step of the function that builds a container from the given source.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) User-provided description of a function.setDescriptionBytes(com.google.protobuf.ByteString value) User-provided description of a function.setEnvironment(Environment value) Describe whether the function is 1st Gen or 2nd Gen.setEnvironmentValue(int value) Describe whether the function is 1st Gen or 2nd Gen.setEventTrigger(EventTrigger value) An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.setEventTrigger(EventTrigger.Builder builderForValue) An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.setKmsKeyName(String value) [Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.setKmsKeyNameBytes(com.google.protobuf.ByteString value) [Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.A user-defined name of the function.setNameBytes(com.google.protobuf.ByteString value) A user-defined name of the function.setSatisfiesPzs(boolean value) Output only.setServiceConfig(ServiceConfig value) Describes the Service being deployed.setServiceConfig(ServiceConfig.Builder builderForValue) Describes the Service being deployed.setState(Function.State value) Output only.setStateMessages(int index, StateMessage value) Output only.setStateMessages(int index, StateMessage.Builder builderForValue) Output only.setStateValue(int value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setUrlBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Function.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Function.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Function.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Function.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Function.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Function.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Function.Builder>
-
mergeFrom
public Function.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Function.Builder>- Throws:
IOException
-
getName
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;- Specified by:
getNamein interfaceFunctionOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceFunctionOrBuilder- Returns:
- The bytes for name.
-
setName
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
User-provided description of a function.
string description = 2;- Specified by:
getDescriptionin interfaceFunctionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()User-provided description of a function.
string description = 2;- Specified by:
getDescriptionBytesin interfaceFunctionOrBuilder- Returns:
- The bytes for description.
-
setDescription
User-provided description of a function.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
User-provided description of a function.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
User-provided description of a function.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasBuildConfig
public boolean hasBuildConfig()Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3;- Specified by:
hasBuildConfigin interfaceFunctionOrBuilder- Returns:
- Whether the buildConfig field is set.
-
getBuildConfig
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3;- Specified by:
getBuildConfigin interfaceFunctionOrBuilder- Returns:
- The buildConfig.
-
setBuildConfig
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3; -
setBuildConfig
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3; -
mergeBuildConfig
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3; -
clearBuildConfig
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3; -
getBuildConfigBuilder
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3; -
getBuildConfigOrBuilder
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2beta.BuildConfig build_config = 3;- Specified by:
getBuildConfigOrBuilderin interfaceFunctionOrBuilder
-
hasServiceConfig
public boolean hasServiceConfig()Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4;- Specified by:
hasServiceConfigin interfaceFunctionOrBuilder- Returns:
- Whether the serviceConfig field is set.
-
getServiceConfig
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4;- Specified by:
getServiceConfigin interfaceFunctionOrBuilder- Returns:
- The serviceConfig.
-
setServiceConfig
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4; -
setServiceConfig
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4; -
mergeServiceConfig
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4; -
clearServiceConfig
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4; -
getServiceConfigBuilder
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4; -
getServiceConfigOrBuilder
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2beta.ServiceConfig service_config = 4;- Specified by:
getServiceConfigOrBuilderin interfaceFunctionOrBuilder
-
hasEventTrigger
public boolean hasEventTrigger()An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5;- Specified by:
hasEventTriggerin interfaceFunctionOrBuilder- Returns:
- Whether the eventTrigger field is set.
-
getEventTrigger
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5;- Specified by:
getEventTriggerin interfaceFunctionOrBuilder- Returns:
- The eventTrigger.
-
setEventTrigger
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5; -
setEventTrigger
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5; -
mergeEventTrigger
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5; -
clearEventTrigger
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5; -
getEventTriggerBuilder
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5; -
getEventTriggerOrBuilder
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2beta.EventTrigger event_trigger = 5;- Specified by:
getEventTriggerOrBuilderin interfaceFunctionOrBuilder
-
getStateValue
public int getStateValue()Output only. State of the function.
.google.cloud.functions.v2beta.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceFunctionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the function.
.google.cloud.functions.v2beta.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the function.
.google.cloud.functions.v2beta.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceFunctionOrBuilder- Returns:
- The state.
-
setState
Output only. State of the function.
.google.cloud.functions.v2beta.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the function.
.google.cloud.functions.v2beta.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceFunctionOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceFunctionOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceFunctionOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:FunctionOrBuilderLabels associated with this Cloud Function.
map<string, string> labels = 8;- Specified by:
getLabelsCountin interfaceFunctionOrBuilder
-
containsLabels
Labels associated with this Cloud Function.
map<string, string> labels = 8;- Specified by:
containsLabelsin interfaceFunctionOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceFunctionOrBuilder
-
getLabelsMap
Labels associated with this Cloud Function.
map<string, string> labels = 8;- Specified by:
getLabelsMapin interfaceFunctionOrBuilder
-
getLabelsOrDefault
Labels associated with this Cloud Function.
map<string, string> labels = 8;- Specified by:
getLabelsOrDefaultin interfaceFunctionOrBuilder
-
getLabelsOrThrow
Labels associated with this Cloud Function.
map<string, string> labels = 8;- Specified by:
getLabelsOrThrowin interfaceFunctionOrBuilder
-
clearLabels
-
removeLabels
Labels associated with this Cloud Function.
map<string, string> labels = 8; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels associated with this Cloud Function.
map<string, string> labels = 8; -
putAllLabels
Labels associated with this Cloud Function.
map<string, string> labels = 8; -
getStateMessagesList
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateMessagesListin interfaceFunctionOrBuilder
-
getStateMessagesCount
public int getStateMessagesCount()Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateMessagesCountin interfaceFunctionOrBuilder
-
getStateMessages
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateMessagesin interfaceFunctionOrBuilder
-
setStateMessages
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStateMessages
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateMessages
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateMessages
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateMessages
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateMessages
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllStateMessages
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStateMessages
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeStateMessages
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateMessagesBuilder
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateMessagesOrBuilder
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateMessagesOrBuilderin interfaceFunctionOrBuilder
-
getStateMessagesOrBuilderList
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateMessagesOrBuilderListin interfaceFunctionOrBuilder
-
addStateMessagesBuilder
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateMessagesBuilder
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateMessagesBuilderList
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEnvironmentValue
public int getEnvironmentValue()Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2beta.Environment environment = 10;- Specified by:
getEnvironmentValuein interfaceFunctionOrBuilder- Returns:
- The enum numeric value on the wire for environment.
-
setEnvironmentValue
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2beta.Environment environment = 10;- Parameters:
value- The enum numeric value on the wire for environment to set.- Returns:
- This builder for chaining.
-
getEnvironment
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2beta.Environment environment = 10;- Specified by:
getEnvironmentin interfaceFunctionOrBuilder- Returns:
- The environment.
-
setEnvironment
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2beta.Environment environment = 10;- Parameters:
value- The environment to set.- Returns:
- This builder for chaining.
-
clearEnvironment
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2beta.Environment environment = 10;- Returns:
- This builder for chaining.
-
getUrl
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUrlin interfaceFunctionOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUrlBytesin interfaceFunctionOrBuilder- Returns:
- The bytes for url.
-
setUrl
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUrlBytes
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for url to set.- Returns:
- This builder for chaining.
-
getKmsKeyName
[Preview] 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}`.string kms_key_name = 25 [(.google.api.resource_reference) = { ... }- Specified by:
getKmsKeyNamein interfaceFunctionOrBuilder- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.ByteString getKmsKeyNameBytes()[Preview] 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}`.string kms_key_name = 25 [(.google.api.resource_reference) = { ... }- Specified by:
getKmsKeyNameBytesin interfaceFunctionOrBuilder- Returns:
- The bytes for kmsKeyName.
-
setKmsKeyName
[Preview] 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}`.string kms_key_name = 25 [(.google.api.resource_reference) = { ... }- Parameters:
value- The kmsKeyName to set.- Returns:
- This builder for chaining.
-
clearKmsKeyName
[Preview] 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}`.string kms_key_name = 25 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setKmsKeyNameBytes
[Preview] 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}`.string kms_key_name = 25 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for kmsKeyName to set.- Returns:
- This builder for chaining.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. Reserved for future use.
bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceFunctionOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. Reserved for future use.
bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. Reserved for future use.
bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
.google.protobuf.Timestamp create_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceFunctionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
.google.protobuf.Timestamp create_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceFunctionOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
.google.protobuf.Timestamp create_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
.google.protobuf.Timestamp create_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
.google.protobuf.Timestamp create_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
.google.protobuf.Timestamp create_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
.google.protobuf.Timestamp create_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
.google.protobuf.Timestamp create_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceFunctionOrBuilder
-