Package com.google.cloud.functions.v2
Interface RepoSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RepoSource,RepoSource.Builder
public interface RepoSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBranchName()Regex matching branches to build.com.google.protobuf.ByteStringgetBranchNameBytes()Regex matching branches to build.StringgetCommitSha()Explicit commit SHA to build.com.google.protobuf.ByteStringgetCommitShaBytes()Explicit commit SHA to build.StringgetDir()Directory, relative to the source root, in which to run the build.com.google.protobuf.ByteStringgetDirBytes()Directory, relative to the source root, in which to run the build.booleangetInvertRegex()Only trigger a build if the revision regex does NOT match the revision regex.StringgetProjectId()ID of the project that owns the Cloud Source Repository.com.google.protobuf.ByteStringgetProjectIdBytes()ID of the project that owns the Cloud Source Repository.StringgetRepoName()Name of the Cloud Source Repository.com.google.protobuf.ByteStringgetRepoNameBytes()Name of the Cloud Source Repository.RepoSource.RevisionCasegetRevisionCase()StringgetTagName()Regex matching tags to build.com.google.protobuf.ByteStringgetTagNameBytes()Regex matching tags to build.booleanhasBranchName()Regex matching branches to build.booleanhasCommitSha()Explicit commit SHA to build.booleanhasTagName()Regex matching tags to build.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBranchName
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;- Returns:
- Whether the branchName field is set.
-
getBranchName
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;- Returns:
- The branchName.
-
getBranchNameBytes
com.google.protobuf.ByteString getBranchNameBytes()
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;- Returns:
- The bytes for branchName.
-
hasTagName
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;- Returns:
- Whether the tagName field is set.
-
getTagName
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;- Returns:
- The tagName.
-
getTagNameBytes
com.google.protobuf.ByteString getTagNameBytes()
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;- Returns:
- The bytes for tagName.
-
hasCommitSha
boolean hasCommitSha()
Explicit commit SHA to build.
string commit_sha = 5;- Returns:
- Whether the commitSha field is set.
-
getCommitSha
String getCommitSha()
Explicit commit SHA to build.
string commit_sha = 5;- Returns:
- The commitSha.
-
getCommitShaBytes
com.google.protobuf.ByteString getCommitShaBytes()
Explicit commit SHA to build.
string commit_sha = 5;- Returns:
- The bytes for commitSha.
-
getProjectId
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;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
string project_id = 1;- Returns:
- The bytes for projectId.
-
getRepoName
String getRepoName()
Name of the Cloud Source Repository.
string repo_name = 2;- Returns:
- The repoName.
-
getRepoNameBytes
com.google.protobuf.ByteString getRepoNameBytes()
Name of the Cloud Source Repository.
string repo_name = 2;- Returns:
- The bytes for repoName.
-
getDir
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;- Returns:
- The dir.
-
getDirBytes
com.google.protobuf.ByteString getDirBytes()
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;- Returns:
- The bytes for dir.
-
getInvertRegex
boolean getInvertRegex()
Only trigger a build if the revision regex does NOT match the revision regex.
bool invert_regex = 7;- Returns:
- The invertRegex.
-
getRevisionCase
RepoSource.RevisionCase getRevisionCase()
-
-