com.google.events.cloud.functions.v2.RepoSourceOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-cloudevent-types Show documentation
Show all versions of google-cloudevent-types Show documentation
Types in Java for CloudEvents issued by Google.
/*
* Copyright 2023 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/events/cloud/functions/v2/data.proto
package com.google.events.cloud.functions.v2;
public interface RepoSourceOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.events.cloud.functions.v2.RepoSource)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Regex matching branches to build.
* The syntax of the regular expressions accepted is the syntax accepted by
* RE2 and described at https://github.com/google/re2/wiki/Syntax
*
*
* string branch_name = 3;
*
* @return Whether the branchName field is set.
*/
boolean hasBranchName();
/**
*
*
*
* Regex matching branches to build.
* The syntax of the regular expressions accepted is the syntax accepted by
* RE2 and described at https://github.com/google/re2/wiki/Syntax
*
*
* string branch_name = 3;
*
* @return The branchName.
*/
java.lang.String getBranchName();
/**
*
*
*
* Regex matching branches to build.
* The syntax of the regular expressions accepted is the syntax accepted by
* RE2 and described at https://github.com/google/re2/wiki/Syntax
*
*
* string branch_name = 3;
*
* @return The bytes for branchName.
*/
com.google.protobuf.ByteString getBranchNameBytes();
/**
*
*
*
* Regex matching tags to build.
* The syntax of the regular expressions accepted is the syntax accepted by
* RE2 and described at https://github.com/google/re2/wiki/Syntax
*
*
* string tag_name = 4;
*
* @return Whether the tagName field is set.
*/
boolean hasTagName();
/**
*
*
*
* Regex matching tags to build.
* The syntax of the regular expressions accepted is the syntax accepted by
* RE2 and described at https://github.com/google/re2/wiki/Syntax
*
*
* string tag_name = 4;
*
* @return The tagName.
*/
java.lang.String getTagName();
/**
*
*
*
* Regex matching tags to build.
* The syntax of the regular expressions accepted is the syntax accepted by
* RE2 and described at https://github.com/google/re2/wiki/Syntax
*
*
* string tag_name = 4;
*
* @return The bytes for tagName.
*/
com.google.protobuf.ByteString getTagNameBytes();
/**
*
*
*
* Explicit commit SHA to build.
*
*
* string commit_sha = 5;
*
* @return Whether the commitSha field is set.
*/
boolean hasCommitSha();
/**
*
*
*
* Explicit commit SHA to build.
*
*
* string commit_sha = 5;
*
* @return The commitSha.
*/
java.lang.String getCommitSha();
/**
*
*
*
* Explicit commit SHA to build.
*
*
* string commit_sha = 5;
*
* @return The bytes for commitSha.
*/
com.google.protobuf.ByteString getCommitShaBytes();
/**
*
*
*
* ID of the project that owns the Cloud Source Repository. If omitted, the
* project ID requesting the build is assumed.
*
*
* string project_id = 1;
*
* @return The projectId.
*/
java.lang.String getProjectId();
/**
*
*
*
* ID of the project that owns the Cloud Source Repository. If omitted, the
* project ID requesting the build is assumed.
*
*
* string project_id = 1;
*
* @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
/**
*
*
*
* Name of the Cloud Source Repository.
*
*
* string repo_name = 2;
*
* @return The repoName.
*/
java.lang.String getRepoName();
/**
*
*
*
* Name of the Cloud Source Repository.
*
*
* string repo_name = 2;
*
* @return The bytes for repoName.
*/
com.google.protobuf.ByteString getRepoNameBytes();
/**
*
*
*
* Directory, relative to the source root, in which to run the build.
* This must be a relative path. If a step's `dir` is specified and is an
* absolute path, this value is ignored for that step's execution.
* eg. helloworld (no leading slash allowed)
*
*
* string dir = 6;
*
* @return The dir.
*/
java.lang.String getDir();
/**
*
*
*
* Directory, relative to the source root, in which to run the build.
* This must be a relative path. If a step's `dir` is specified and is an
* absolute path, this value is ignored for that step's execution.
* eg. helloworld (no leading slash allowed)
*
*
* string dir = 6;
*
* @return The bytes for dir.
*/
com.google.protobuf.ByteString getDirBytes();
/**
*
*
*
* Only trigger a build if the revision regex does NOT match the revision
* regex.
*
*
* bool invert_regex = 7;
*
* @return The invertRegex.
*/
boolean getInvertRegex();
public com.google.events.cloud.functions.v2.RepoSource.RevisionCase getRevisionCase();
}