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

com.google.cloud.deploy.v1.ExecutionConfigOrBuilder Maven / Gradle / Ivy

The 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/deploy/v1/cloud_deploy.proto

// Protobuf Java Version: 3.25.4
package com.google.cloud.deploy.v1;

public interface ExecutionConfigOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ExecutionConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. Usages when this configuration should be applied.
   * 
* * * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @return A list containing the usages. */ java.util.List getUsagesList(); /** * * *
   * Required. Usages when this configuration should be applied.
   * 
* * * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @return The count of usages. */ int getUsagesCount(); /** * * *
   * Required. Usages when this configuration should be applied.
   * 
* * * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @param index The index of the element to return. * @return The usages at the given index. */ com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage getUsages(int index); /** * * *
   * Required. Usages when this configuration should be applied.
   * 
* * * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @return A list containing the enum numeric values on the wire for usages. */ java.util.List getUsagesValueList(); /** * * *
   * Required. Usages when this configuration should be applied.
   * 
* * * repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @param index The index of the value to return. * @return The enum numeric value on the wire of usages at the given index. */ int getUsagesValue(int index); /** * * *
   * Optional. Use default Cloud Build pool.
   * 
* * * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the defaultPool field is set. */ boolean hasDefaultPool(); /** * * *
   * Optional. Use default Cloud Build pool.
   * 
* * * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The defaultPool. */ com.google.cloud.deploy.v1.DefaultPool getDefaultPool(); /** * * *
   * Optional. Use default Cloud Build pool.
   * 
* * * .google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.deploy.v1.DefaultPoolOrBuilder getDefaultPoolOrBuilder(); /** * * *
   * Optional. Use private Cloud Build pool.
   * 
* * * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the privatePool field is set. */ boolean hasPrivatePool(); /** * * *
   * Optional. Use private Cloud Build pool.
   * 
* * * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The privatePool. */ com.google.cloud.deploy.v1.PrivatePool getPrivatePool(); /** * * *
   * Optional. Use private Cloud Build pool.
   * 
* * * .google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.deploy.v1.PrivatePoolOrBuilder getPrivatePoolOrBuilder(); /** * * *
   * Optional. The resource name of the `WorkerPool`, with the format
   * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
   * If this optional field is unspecified, the default Cloud Build pool will be
   * used.
   * 
* * * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * * * @return The workerPool. */ java.lang.String getWorkerPool(); /** * * *
   * Optional. The resource name of the `WorkerPool`, with the format
   * `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
   * If this optional field is unspecified, the default Cloud Build pool will be
   * used.
   * 
* * * string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * * * @return The bytes for workerPool. */ com.google.protobuf.ByteString getWorkerPoolBytes(); /** * * *
   * Optional. Google service account to use for execution. If unspecified,
   * the project execution service account
   * (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
   * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** * * *
   * Optional. Google service account to use for execution. If unspecified,
   * the project execution service account
   * (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
   * 
* * string service_account = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for serviceAccount. */ com.google.protobuf.ByteString getServiceAccountBytes(); /** * * *
   * Optional. Cloud Storage location in which to store execution outputs. This
   * can either be a bucket ("gs://my-bucket") or a path within a bucket
   * ("gs://my-bucket/my-dir").
   * If unspecified, a default bucket located in the same region will be used.
   * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The artifactStorage. */ java.lang.String getArtifactStorage(); /** * * *
   * Optional. Cloud Storage location in which to store execution outputs. This
   * can either be a bucket ("gs://my-bucket") or a path within a bucket
   * ("gs://my-bucket/my-dir").
   * If unspecified, a default bucket located in the same region will be used.
   * 
* * string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for artifactStorage. */ com.google.protobuf.ByteString getArtifactStorageBytes(); /** * * *
   * Optional. Execution timeout for a Cloud Build Execution. This must be
   * between 10m and 24h in seconds format. If unspecified, a default timeout of
   * 1h is used.
   * 
* * * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the executionTimeout field is set. */ boolean hasExecutionTimeout(); /** * * *
   * Optional. Execution timeout for a Cloud Build Execution. This must be
   * between 10m and 24h in seconds format. If unspecified, a default timeout of
   * 1h is used.
   * 
* * * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The executionTimeout. */ com.google.protobuf.Duration getExecutionTimeout(); /** * * *
   * Optional. Execution timeout for a Cloud Build Execution. This must be
   * between 10m and 24h in seconds format. If unspecified, a default timeout of
   * 1h is used.
   * 
* * * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder(); /** * * *
   * Optional. If true, additional logging will be enabled when running builds
   * in this execution environment.
   * 
* * bool verbose = 8 [(.google.api.field_behavior) = OPTIONAL]; * * @return The verbose. */ boolean getVerbose(); com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentCase getExecutionEnvironmentCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy