public static final class Function.Builder extends com.google.protobuf.GeneratedMessageV3.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.v2.Function| Modifier and Type | Method and Description |
|---|---|
Function.Builder |
addAllStateMessages(Iterable<? extends StateMessage> values)
Output only.
|
Function.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Function.Builder |
addStateMessages(int index,
StateMessage.Builder builderForValue)
Output only.
|
Function.Builder |
addStateMessages(int index,
StateMessage value)
Output only.
|
Function.Builder |
addStateMessages(StateMessage.Builder builderForValue)
Output only.
|
Function.Builder |
addStateMessages(StateMessage value)
Output only.
|
StateMessage.Builder |
addStateMessagesBuilder()
Output only.
|
StateMessage.Builder |
addStateMessagesBuilder(int index)
Output only.
|
Function |
build() |
Function |
buildPartial() |
Function.Builder |
clear() |
Function.Builder |
clearBuildConfig()
Describes the Build step of the function that builds a container from the
given source.
|
Function.Builder |
clearDescription()
User-provided description of a function.
|
Function.Builder |
clearEnvironment()
Describe whether the function is 1st Gen or 2nd Gen.
|
Function.Builder |
clearEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
Function.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Function.Builder |
clearKmsKeyName()
[Preview] Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
Function.Builder |
clearLabels() |
Function.Builder |
clearName()
A user-defined name of the function.
|
Function.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Function.Builder |
clearServiceConfig()
Describes the Service being deployed.
|
Function.Builder |
clearState()
Output only.
|
Function.Builder |
clearStateMessages()
Output only.
|
Function.Builder |
clearUpdateTime()
Output only.
|
Function.Builder |
clearUrl()
Output only.
|
Function.Builder |
clone() |
boolean |
containsLabels(String key)
Labels associated with this Cloud Function.
|
BuildConfig |
getBuildConfig()
Describes the Build step of the function that builds a container from the
given source.
|
BuildConfig.Builder |
getBuildConfigBuilder()
Describes the Build step of the function that builds a container from the
given source.
|
BuildConfigOrBuilder |
getBuildConfigOrBuilder()
Describes the Build step of the function that builds a container from the
given source.
|
Function |
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() |
Environment |
getEnvironment()
Describe whether the function is 1st Gen or 2nd Gen.
|
int |
getEnvironmentValue()
Describe whether the function is 1st Gen or 2nd Gen.
|
EventTrigger |
getEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
EventTrigger.Builder |
getEventTriggerBuilder()
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
EventTriggerOrBuilder |
getEventTriggerOrBuilder()
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
String |
getKmsKeyName()
[Preview] Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
com.google.protobuf.ByteString |
getKmsKeyNameBytes()
[Preview] Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this Cloud Function.
|
Map<String,String> |
getLabelsMap()
Labels associated with this Cloud Function.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this Cloud Function.
|
String |
getLabelsOrThrow(String key)
Labels associated with this Cloud Function.
|
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.
|
ServiceConfig |
getServiceConfig()
Describes the Service being deployed.
|
ServiceConfig.Builder |
getServiceConfigBuilder()
Describes the Service being deployed.
|
ServiceConfigOrBuilder |
getServiceConfigOrBuilder()
Describes the Service being deployed.
|
Function.State |
getState()
Output only.
|
StateMessage |
getStateMessages(int index)
Output only.
|
StateMessage.Builder |
getStateMessagesBuilder(int index)
Output only.
|
List<StateMessage.Builder> |
getStateMessagesBuilderList()
Output only.
|
int |
getStateMessagesCount()
Output only.
|
List<StateMessage> |
getStateMessagesList()
Output only.
|
StateMessageOrBuilder |
getStateMessagesOrBuilder(int index)
Output only.
|
List<? extends StateMessageOrBuilder> |
getStateMessagesOrBuilderList()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getUrl()
Output only.
|
com.google.protobuf.ByteString |
getUrlBytes()
Output only.
|
boolean |
hasBuildConfig()
Describes the Build step of the function that builds a container from the
given source.
|
boolean |
hasEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
boolean |
hasServiceConfig()
Describes the Service being deployed.
|
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() |
Function.Builder |
mergeBuildConfig(BuildConfig value)
Describes the Build step of the function that builds a container from the
given source.
|
Function.Builder |
mergeEventTrigger(EventTrigger value)
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
Function.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Function.Builder |
mergeFrom(Function other) |
Function.Builder |
mergeFrom(com.google.protobuf.Message other) |
Function.Builder |
mergeServiceConfig(ServiceConfig value)
Describes the Service being deployed.
|
Function.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Function.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Function.Builder |
putAllLabels(Map<String,String> values)
Labels associated with this Cloud Function.
|
Function.Builder |
putLabels(String key,
String value)
Labels associated with this Cloud Function.
|
Function.Builder |
removeLabels(String key)
Labels associated with this Cloud Function.
|
Function.Builder |
removeStateMessages(int index)
Output only.
|
Function.Builder |
setBuildConfig(BuildConfig.Builder builderForValue)
Describes the Build step of the function that builds a container from the
given source.
|
Function.Builder |
setBuildConfig(BuildConfig value)
Describes the Build step of the function that builds a container from the
given source.
|
Function.Builder |
setDescription(String value)
User-provided description of a function.
|
Function.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided description of a function.
|
Function.Builder |
setEnvironment(Environment value)
Describe whether the function is 1st Gen or 2nd Gen.
|
Function.Builder |
setEnvironmentValue(int value)
Describe whether the function is 1st Gen or 2nd Gen.
|
Function.Builder |
setEventTrigger(EventTrigger.Builder builderForValue)
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
Function.Builder |
setEventTrigger(EventTrigger value)
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
Function.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Function.Builder |
setKmsKeyName(String value)
[Preview] Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
Function.Builder |
setKmsKeyNameBytes(com.google.protobuf.ByteString value)
[Preview] Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
Function.Builder |
setName(String value)
A user-defined name of the function.
|
Function.Builder |
setNameBytes(com.google.protobuf.ByteString value)
A user-defined name of the function.
|
Function.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Function.Builder |
setServiceConfig(ServiceConfig.Builder builderForValue)
Describes the Service being deployed.
|
Function.Builder |
setServiceConfig(ServiceConfig value)
Describes the Service being deployed.
|
Function.Builder |
setState(Function.State value)
Output only.
|
Function.Builder |
setStateMessages(int index,
StateMessage.Builder builderForValue)
Output only.
|
Function.Builder |
setStateMessages(int index,
StateMessage value)
Output only.
|
Function.Builder |
setStateValue(int value)
Output only.
|
Function.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Function.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Function.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Function.Builder |
setUrl(String value)
Output only.
|
Function.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Function.Builder>public Function.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Function.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<Function.Builder>public Function getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Function build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Function buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Function.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Function.Builder>public Function.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<Function.Builder>public Function.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.Builder>public Function.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Function.Builder>public Function.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<Function.Builder>public Function.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<Function.Builder>public Function.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Function.Builder>public Function.Builder mergeFrom(Function other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Function.Builder>public Function.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<Function.Builder>IOExceptionpublic 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 FunctionOrBuilderpublic 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 FunctionOrBuilderpublic Function.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 Function.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 Function.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 FunctionOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of a function.
string description = 2;getDescriptionBytes in interface FunctionOrBuilderpublic Function.Builder setDescription(String value)
User-provided description of a function.
string description = 2;value - The description to set.public Function.Builder clearDescription()
User-provided description of a function.
string description = 2;public Function.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 hasBuildConfig()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2.BuildConfig build_config = 3;hasBuildConfig in interface FunctionOrBuilderpublic BuildConfig getBuildConfig()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2.BuildConfig build_config = 3;getBuildConfig in interface FunctionOrBuilderpublic Function.Builder setBuildConfig(BuildConfig value)
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2.BuildConfig build_config = 3;public Function.Builder setBuildConfig(BuildConfig.Builder builderForValue)
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2.BuildConfig build_config = 3;public Function.Builder mergeBuildConfig(BuildConfig value)
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2.BuildConfig build_config = 3;public Function.Builder clearBuildConfig()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2.BuildConfig build_config = 3;public BuildConfig.Builder getBuildConfigBuilder()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2.BuildConfig build_config = 3;public BuildConfigOrBuilder getBuildConfigOrBuilder()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2.BuildConfig build_config = 3;getBuildConfigOrBuilder in interface FunctionOrBuilderpublic boolean hasServiceConfig()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2.ServiceConfig service_config = 4;hasServiceConfig in interface FunctionOrBuilderpublic ServiceConfig getServiceConfig()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2.ServiceConfig service_config = 4;getServiceConfig in interface FunctionOrBuilderpublic Function.Builder setServiceConfig(ServiceConfig value)
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2.ServiceConfig service_config = 4;public Function.Builder setServiceConfig(ServiceConfig.Builder builderForValue)
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2.ServiceConfig service_config = 4;public Function.Builder mergeServiceConfig(ServiceConfig value)
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2.ServiceConfig service_config = 4;public Function.Builder clearServiceConfig()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2.ServiceConfig service_config = 4;public ServiceConfig.Builder getServiceConfigBuilder()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2.ServiceConfig service_config = 4;public ServiceConfigOrBuilder getServiceConfigOrBuilder()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2.ServiceConfig service_config = 4;getServiceConfigOrBuilder in interface FunctionOrBuilderpublic boolean hasEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2.EventTrigger event_trigger = 5;hasEventTrigger in interface FunctionOrBuilderpublic EventTrigger getEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2.EventTrigger event_trigger = 5;getEventTrigger in interface FunctionOrBuilderpublic Function.Builder setEventTrigger(EventTrigger value)
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2.EventTrigger event_trigger = 5;public Function.Builder setEventTrigger(EventTrigger.Builder builderForValue)
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2.EventTrigger event_trigger = 5;public Function.Builder mergeEventTrigger(EventTrigger value)
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2.EventTrigger event_trigger = 5;public Function.Builder clearEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2.EventTrigger event_trigger = 5;public EventTrigger.Builder getEventTriggerBuilder()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2.EventTrigger event_trigger = 5;public EventTriggerOrBuilder getEventTriggerOrBuilder()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2.EventTrigger event_trigger = 5;getEventTriggerOrBuilder in interface FunctionOrBuilderpublic int getStateValue()
Output only. State of the function.
.google.cloud.functions.v2.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface FunctionOrBuilderpublic Function.Builder setStateValue(int value)
Output only. State of the function.
.google.cloud.functions.v2.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Function.State getState()
Output only. State of the function.
.google.cloud.functions.v2.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface FunctionOrBuilderpublic Function.Builder setState(Function.State value)
Output only. State of the function.
.google.cloud.functions.v2.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Function.Builder clearState()
Output only. State of the function.
.google.cloud.functions.v2.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
hasUpdateTime in interface FunctionOrBuilderpublic 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];
getUpdateTime in interface FunctionOrBuilderpublic Function.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder clearUpdateTime()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.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 = 7 [(.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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface FunctionOrBuilderpublic int getLabelsCount()
FunctionOrBuilderLabels associated with this Cloud Function.
map<string, string> labels = 8;getLabelsCount in interface FunctionOrBuilderpublic boolean containsLabels(String key)
Labels associated with this Cloud Function.
map<string, string> labels = 8;containsLabels in interface FunctionOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface FunctionOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with this Cloud Function.
map<string, string> labels = 8;getLabelsMap in interface FunctionOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this Cloud Function.
map<string, string> labels = 8;getLabelsOrDefault in interface FunctionOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with this Cloud Function.
map<string, string> labels = 8;getLabelsOrThrow in interface FunctionOrBuilderpublic Function.Builder clearLabels()
public Function.Builder removeLabels(String key)
Labels associated with this Cloud Function.
map<string, string> labels = 8;@Deprecated public Map<String,String> getMutableLabels()
public Function.Builder putLabels(String key, String value)
Labels associated with this Cloud Function.
map<string, string> labels = 8;public Function.Builder putAllLabels(Map<String,String> values)
Labels associated with this Cloud Function.
map<string, string> labels = 8;public List<StateMessage> getStateMessagesList()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateMessagesList in interface FunctionOrBuilderpublic int getStateMessagesCount()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateMessagesCount in interface FunctionOrBuilderpublic StateMessage getStateMessages(int index)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateMessages in interface FunctionOrBuilderpublic Function.Builder setStateMessages(int index, StateMessage value)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder setStateMessages(int index, StateMessage.Builder builderForValue)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder addStateMessages(StateMessage value)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder addStateMessages(int index, StateMessage value)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder addStateMessages(StateMessage.Builder builderForValue)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder addStateMessages(int index, StateMessage.Builder builderForValue)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder addAllStateMessages(Iterable<? extends StateMessage> values)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder clearStateMessages()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Function.Builder removeStateMessages(int index)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public StateMessage.Builder getStateMessagesBuilder(int index)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public StateMessageOrBuilder getStateMessagesOrBuilder(int index)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateMessagesOrBuilder in interface FunctionOrBuilderpublic List<? extends StateMessageOrBuilder> getStateMessagesOrBuilderList()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateMessagesOrBuilderList in interface FunctionOrBuilderpublic StateMessage.Builder addStateMessagesBuilder()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public StateMessage.Builder addStateMessagesBuilder(int index)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<StateMessage.Builder> getStateMessagesBuilderList()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getEnvironmentValue()
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2.Environment environment = 10;getEnvironmentValue in interface FunctionOrBuilderpublic Function.Builder setEnvironmentValue(int value)
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2.Environment environment = 10;value - The enum numeric value on the wire for environment to set.public Environment getEnvironment()
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2.Environment environment = 10;getEnvironment in interface FunctionOrBuilderpublic Function.Builder setEnvironment(Environment value)
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2.Environment environment = 10;value - The environment to set.public Function.Builder clearEnvironment()
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2.Environment environment = 10;public String getUrl()
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getUrl in interface FunctionOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getUrlBytes in interface FunctionOrBuilderpublic Function.Builder setUrl(String value)
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The url to set.public Function.Builder clearUrl()
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];public Function.Builder setUrlBytes(com.google.protobuf.ByteString value)
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for url to set.public String 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) = { ... }getKmsKeyName in interface FunctionOrBuilderpublic 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) = { ... }getKmsKeyNameBytes in interface FunctionOrBuilderpublic Function.Builder setKmsKeyName(String value)
[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) = { ... }value - The kmsKeyName to set.public Function.Builder 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) = { ... }public Function.Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value)
[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) = { ... }value - The bytes for kmsKeyName to set.public final Function.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Function.Builder>public final Function.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Function.Builder>Copyright © 2023 Google LLC. All rights reserved.