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

com.google.api.services.run.v2.model.GoogleDevtoolsCloudbuildV1Source Maven / Gradle / Ivy

There is a newer version: v2-rev20241213-2.0.0
Show newest version
/*
 * 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
 *
 * http://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.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.run.v2.model;

/**
 * Location of the source in a supported storage service.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Run Admin API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class GoogleDevtoolsCloudbuildV1Source extends com.google.api.client.json.GenericJson { /** * Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleDevtoolsCloudbuildV1ConnectedRepository connectedRepository; /** * If provided, get the source from this Developer Connect config. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleDevtoolsCloudbuildV1DeveloperConnectConfig developerConnectConfig; /** * If provided, get the source from this Git repository. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleDevtoolsCloudbuildV1GitSource gitSource; /** * If provided, get the source from this location in a Cloud Source Repository. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleDevtoolsCloudbuildV1RepoSource repoSource; /** * If provided, get the source from this location in Cloud Storage. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleDevtoolsCloudbuildV1StorageSource storageSource; /** * If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; * see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs- * fetcher). * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleDevtoolsCloudbuildV1StorageSourceManifest storageSourceManifest; /** * Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. * @return value or {@code null} for none */ public GoogleDevtoolsCloudbuildV1ConnectedRepository getConnectedRepository() { return connectedRepository; } /** * Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. * @param connectedRepository connectedRepository or {@code null} for none */ public GoogleDevtoolsCloudbuildV1Source setConnectedRepository(GoogleDevtoolsCloudbuildV1ConnectedRepository connectedRepository) { this.connectedRepository = connectedRepository; return this; } /** * If provided, get the source from this Developer Connect config. * @return value or {@code null} for none */ public GoogleDevtoolsCloudbuildV1DeveloperConnectConfig getDeveloperConnectConfig() { return developerConnectConfig; } /** * If provided, get the source from this Developer Connect config. * @param developerConnectConfig developerConnectConfig or {@code null} for none */ public GoogleDevtoolsCloudbuildV1Source setDeveloperConnectConfig(GoogleDevtoolsCloudbuildV1DeveloperConnectConfig developerConnectConfig) { this.developerConnectConfig = developerConnectConfig; return this; } /** * If provided, get the source from this Git repository. * @return value or {@code null} for none */ public GoogleDevtoolsCloudbuildV1GitSource getGitSource() { return gitSource; } /** * If provided, get the source from this Git repository. * @param gitSource gitSource or {@code null} for none */ public GoogleDevtoolsCloudbuildV1Source setGitSource(GoogleDevtoolsCloudbuildV1GitSource gitSource) { this.gitSource = gitSource; return this; } /** * If provided, get the source from this location in a Cloud Source Repository. * @return value or {@code null} for none */ public GoogleDevtoolsCloudbuildV1RepoSource getRepoSource() { return repoSource; } /** * If provided, get the source from this location in a Cloud Source Repository. * @param repoSource repoSource or {@code null} for none */ public GoogleDevtoolsCloudbuildV1Source setRepoSource(GoogleDevtoolsCloudbuildV1RepoSource repoSource) { this.repoSource = repoSource; return this; } /** * If provided, get the source from this location in Cloud Storage. * @return value or {@code null} for none */ public GoogleDevtoolsCloudbuildV1StorageSource getStorageSource() { return storageSource; } /** * If provided, get the source from this location in Cloud Storage. * @param storageSource storageSource or {@code null} for none */ public GoogleDevtoolsCloudbuildV1Source setStorageSource(GoogleDevtoolsCloudbuildV1StorageSource storageSource) { this.storageSource = storageSource; return this; } /** * If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; * see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs- * fetcher). * @return value or {@code null} for none */ public GoogleDevtoolsCloudbuildV1StorageSourceManifest getStorageSourceManifest() { return storageSourceManifest; } /** * If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; * see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs- * fetcher). * @param storageSourceManifest storageSourceManifest or {@code null} for none */ public GoogleDevtoolsCloudbuildV1Source setStorageSourceManifest(GoogleDevtoolsCloudbuildV1StorageSourceManifest storageSourceManifest) { this.storageSourceManifest = storageSourceManifest; return this; } @Override public GoogleDevtoolsCloudbuildV1Source set(String fieldName, Object value) { return (GoogleDevtoolsCloudbuildV1Source) super.set(fieldName, value); } @Override public GoogleDevtoolsCloudbuildV1Source clone() { return (GoogleDevtoolsCloudbuildV1Source) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy