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

com.google.cloudbuild.v1.GitRepoSourceOrBuilder 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/devtools/cloudbuild/v1/cloudbuild.proto

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

public interface GitRepoSourceOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.GitRepoSource)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The URI of the repo (e.g. https://github.com/user/repo.git).
   * Either `uri` or `repository` can be specified and is required.
   * 
* * string uri = 1; * * @return The uri. */ java.lang.String getUri(); /** * * *
   * The URI of the repo (e.g. https://github.com/user/repo.git).
   * Either `uri` or `repository` can be specified and is required.
   * 
* * string uri = 1; * * @return The bytes for uri. */ com.google.protobuf.ByteString getUriBytes(); /** * * *
   * The connected repository resource name, in the format
   * `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or
   * `repository` can be specified and is required.
   * 
* * string repository = 6 [(.google.api.resource_reference) = { ... } * * @return Whether the repository field is set. */ boolean hasRepository(); /** * * *
   * The connected repository resource name, in the format
   * `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or
   * `repository` can be specified and is required.
   * 
* * string repository = 6 [(.google.api.resource_reference) = { ... } * * @return The repository. */ java.lang.String getRepository(); /** * * *
   * The connected repository resource name, in the format
   * `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or
   * `repository` can be specified and is required.
   * 
* * string repository = 6 [(.google.api.resource_reference) = { ... } * * @return The bytes for repository. */ com.google.protobuf.ByteString getRepositoryBytes(); /** * * *
   * The branch or tag to use. Must start with "refs/" (required).
   * 
* * string ref = 2; * * @return The ref. */ java.lang.String getRef(); /** * * *
   * The branch or tag to use. Must start with "refs/" (required).
   * 
* * string ref = 2; * * @return The bytes for ref. */ com.google.protobuf.ByteString getRefBytes(); /** * * *
   * See RepoType below.
   * 
* * .google.devtools.cloudbuild.v1.GitFileSource.RepoType repo_type = 3; * * @return The enum numeric value on the wire for repoType. */ int getRepoTypeValue(); /** * * *
   * See RepoType below.
   * 
* * .google.devtools.cloudbuild.v1.GitFileSource.RepoType repo_type = 3; * * @return The repoType. */ com.google.cloudbuild.v1.GitFileSource.RepoType getRepoType(); /** * * *
   * The full resource name of the github enterprise config.
   * Format:
   * `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.
   * `projects/{project}/githubEnterpriseConfigs/{id}`.
   * 
* * string github_enterprise_config = 4 [(.google.api.resource_reference) = { ... } * * @return Whether the githubEnterpriseConfig field is set. */ boolean hasGithubEnterpriseConfig(); /** * * *
   * The full resource name of the github enterprise config.
   * Format:
   * `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.
   * `projects/{project}/githubEnterpriseConfigs/{id}`.
   * 
* * string github_enterprise_config = 4 [(.google.api.resource_reference) = { ... } * * @return The githubEnterpriseConfig. */ java.lang.String getGithubEnterpriseConfig(); /** * * *
   * The full resource name of the github enterprise config.
   * Format:
   * `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.
   * `projects/{project}/githubEnterpriseConfigs/{id}`.
   * 
* * string github_enterprise_config = 4 [(.google.api.resource_reference) = { ... } * * @return The bytes for githubEnterpriseConfig. */ com.google.protobuf.ByteString getGithubEnterpriseConfigBytes(); com.google.cloudbuild.v1.GitRepoSource.SourceCase getSourceCase(); com.google.cloudbuild.v1.GitRepoSource.EnterpriseConfigCase getEnterpriseConfigCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy