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

com.google.api.services.containeranalysis.v1.model.ContaineranalysisGoogleDevtoolsCloudbuildV1Source Maven / Gradle / Ivy

The 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.containeranalysis.v1.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 Container Analysis 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 ContaineranalysisGoogleDevtoolsCloudbuildV1Source 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 ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository connectedRepository; /** * If provided, get the source from this Developer Connect config. * The value may be {@code null}. */ @com.google.api.client.util.Key private ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig developerConnectConfig; /** * If provided, get the source from this Git repository. * The value may be {@code null}. */ @com.google.api.client.util.Key private ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource 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 ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource 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 ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource 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 ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest storageSourceManifest; /** * Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. * @return value or {@code null} for none */ public ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository 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 ContaineranalysisGoogleDevtoolsCloudbuildV1Source setConnectedRepository(ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository connectedRepository) { this.connectedRepository = connectedRepository; return this; } /** * If provided, get the source from this Developer Connect config. * @return value or {@code null} for none */ public ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig getDeveloperConnectConfig() { return developerConnectConfig; } /** * If provided, get the source from this Developer Connect config. * @param developerConnectConfig developerConnectConfig or {@code null} for none */ public ContaineranalysisGoogleDevtoolsCloudbuildV1Source setDeveloperConnectConfig(ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig developerConnectConfig) { this.developerConnectConfig = developerConnectConfig; return this; } /** * If provided, get the source from this Git repository. * @return value or {@code null} for none */ public ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource getGitSource() { return gitSource; } /** * If provided, get the source from this Git repository. * @param gitSource gitSource or {@code null} for none */ public ContaineranalysisGoogleDevtoolsCloudbuildV1Source setGitSource(ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource 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 ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource 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 ContaineranalysisGoogleDevtoolsCloudbuildV1Source setRepoSource(ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource 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 ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource getStorageSource() { return storageSource; } /** * If provided, get the source from this location in Cloud Storage. * @param storageSource storageSource or {@code null} for none */ public ContaineranalysisGoogleDevtoolsCloudbuildV1Source setStorageSource(ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource 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 ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest 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 ContaineranalysisGoogleDevtoolsCloudbuildV1Source setStorageSourceManifest(ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest storageSourceManifest) { this.storageSourceManifest = storageSourceManifest; return this; } @Override public ContaineranalysisGoogleDevtoolsCloudbuildV1Source set(String fieldName, Object value) { return (ContaineranalysisGoogleDevtoolsCloudbuildV1Source) super.set(fieldName, value); } @Override public ContaineranalysisGoogleDevtoolsCloudbuildV1Source clone() { return (ContaineranalysisGoogleDevtoolsCloudbuildV1Source) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy