All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.functions.v2beta.FunctionOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.51.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/functions/v2beta/functions.proto

// Protobuf Java Version: 3.25.4
package com.google.cloud.functions.v2beta;

public interface FunctionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.functions.v2beta.Function)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * A user-defined name of the function. Function names must be unique
   * globally and match pattern `projects/*/locations/*/functions/*`
   * 
* * string name = 1; * * @return The name. */ java.lang.String getName(); /** * * *
   * A user-defined name of the function. Function names must be unique
   * globally and match pattern `projects/*/locations/*/functions/*`
   * 
* * string name = 1; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * User-provided description of a function.
   * 
* * string description = 2; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * User-provided description of a function.
   * 
* * string description = 2; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * Describes the Build step of the function that builds a container from the
   * given source.
   * 
* * .google.cloud.functions.v2beta.BuildConfig build_config = 3; * * @return Whether the buildConfig field is set. */ 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; * * @return The buildConfig. */ com.google.cloud.functions.v2beta.BuildConfig getBuildConfig(); /** * * *
   * Describes the Build step of the function that builds a container from the
   * given source.
   * 
* * .google.cloud.functions.v2beta.BuildConfig build_config = 3; */ com.google.cloud.functions.v2beta.BuildConfigOrBuilder getBuildConfigOrBuilder(); /** * * *
   * Describes the Service being deployed. Currently deploys services to Cloud
   * Run (fully managed).
   * 
* * .google.cloud.functions.v2beta.ServiceConfig service_config = 4; * * @return Whether the serviceConfig field is set. */ boolean hasServiceConfig(); /** * * *
   * Describes the Service being deployed. Currently deploys services to Cloud
   * Run (fully managed).
   * 
* * .google.cloud.functions.v2beta.ServiceConfig service_config = 4; * * @return The serviceConfig. */ com.google.cloud.functions.v2beta.ServiceConfig getServiceConfig(); /** * * *
   * Describes the Service being deployed. Currently deploys services to Cloud
   * Run (fully managed).
   * 
* * .google.cloud.functions.v2beta.ServiceConfig service_config = 4; */ com.google.cloud.functions.v2beta.ServiceConfigOrBuilder getServiceConfigOrBuilder(); /** * * *
   * 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; * * @return Whether the eventTrigger field is set. */ 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; * * @return The eventTrigger. */ com.google.cloud.functions.v2beta.EventTrigger 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; */ com.google.cloud.functions.v2beta.EventTriggerOrBuilder getEventTriggerOrBuilder(); /** * * *
   * Output only. State of the function.
   * 
* * * .google.cloud.functions.v2beta.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * * *
   * Output only. State of the function.
   * 
* * * .google.cloud.functions.v2beta.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ com.google.cloud.functions.v2beta.Function.State getState(); /** * * *
   * Output only. The last update timestamp of a Cloud Function.
   * 
* * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** * * *
   * Output only. The last update timestamp of a Cloud Function.
   * 
* * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ 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]; * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** * * *
   * Labels associated with this Cloud Function.
   * 
* * map<string, string> labels = 8; */ int getLabelsCount(); /** * * *
   * Labels associated with this Cloud Function.
   * 
* * map<string, string> labels = 8; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * Labels associated with this Cloud Function.
   * 
* * map<string, string> labels = 8; */ java.util.Map getLabelsMap(); /** * * *
   * Labels associated with this Cloud Function.
   * 
* * map<string, string> labels = 8; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * Labels associated with this Cloud Function.
   * 
* * map<string, string> labels = 8; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * Output only. State Messages for this Cloud Function.
   * 
* * * repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ java.util.List getStateMessagesList(); /** * * *
   * Output only. State Messages for this Cloud Function.
   * 
* * * repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.functions.v2beta.StateMessage getStateMessages(int index); /** * * *
   * Output only. State Messages for this Cloud Function.
   * 
* * * repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ 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]; * */ java.util.List getStateMessagesOrBuilderList(); /** * * *
   * Output only. State Messages for this Cloud Function.
   * 
* * * repeated .google.cloud.functions.v2beta.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.functions.v2beta.StateMessageOrBuilder getStateMessagesOrBuilder(int index); /** * * *
   * Describe whether the function is 1st Gen or 2nd Gen.
   * 
* * .google.cloud.functions.v2beta.Environment environment = 10; * * @return The enum numeric value on the wire for environment. */ int getEnvironmentValue(); /** * * *
   * Describe whether the function is 1st Gen or 2nd Gen.
   * 
* * .google.cloud.functions.v2beta.Environment environment = 10; * * @return The environment. */ com.google.cloud.functions.v2beta.Environment getEnvironment(); /** * * *
   * Output only. The deployed url for the function.
   * 
* * string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The url. */ java.lang.String getUrl(); /** * * *
   * Output only. The deployed url for the function.
   * 
* * string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for url. */ com.google.protobuf.ByteString getUrlBytes(); /** * * *
   * [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) = { ... } * * @return The kmsKeyName. */ java.lang.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) = { ... } * * @return The bytes for kmsKeyName. */ com.google.protobuf.ByteString getKmsKeyNameBytes(); /** * * *
   * Output only. Reserved for future use.
   * 
* * bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); /** * * *
   * 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]; * * * @return Whether the createTime field is set. */ 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]; * * * @return The createTime. */ 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]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy