Interface RepoSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RepoSource, RepoSource.Builder

@Generated public interface RepoSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getProjectId

      String getProjectId()
       Optional. ID of the project that owns the Cloud Source Repository. If
       omitted, the project ID requesting the build is assumed.
       
      string project_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The projectId.
    • getProjectIdBytes

      com.google.protobuf.ByteString getProjectIdBytes()
       Optional. ID of the project that owns the Cloud Source Repository. If
       omitted, the project ID requesting the build is assumed.
       
      string project_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for projectId.
    • getRepoName

      String getRepoName()
       Required. Name of the Cloud Source Repository.
       
      string repo_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The repoName.
    • getRepoNameBytes

      com.google.protobuf.ByteString getRepoNameBytes()
       Required. Name of the Cloud Source Repository.
       
      string repo_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for repoName.
    • 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.
    • getDir

      String getDir()
       Optional. 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.
       
      string dir = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The dir.
    • getDirBytes

      com.google.protobuf.ByteString getDirBytes()
       Optional. 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.
       
      string dir = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for dir.
    • getInvertRegex

      boolean getInvertRegex()
       Optional. Only trigger a build if the revision regex does NOT match the
       revision regex.
       
      bool invert_regex = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The invertRegex.
    • getSubstitutionsCount

      int getSubstitutionsCount()
       Optional. Substitutions to use in a triggered build.
       Should only be used with RunBuildTrigger
       
      map<string, string> substitutions = 9 [(.google.api.field_behavior) = OPTIONAL];
    • containsSubstitutions

      boolean containsSubstitutions(String key)
       Optional. Substitutions to use in a triggered build.
       Should only be used with RunBuildTrigger
       
      map<string, string> substitutions = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getSubstitutions

      @Deprecated Map<String,String> getSubstitutions()
      Deprecated.
    • getSubstitutionsMap

      Map<String,String> getSubstitutionsMap()
       Optional. Substitutions to use in a triggered build.
       Should only be used with RunBuildTrigger
       
      map<string, string> substitutions = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getSubstitutionsOrDefault

      String getSubstitutionsOrDefault(String key, String defaultValue)
       Optional. Substitutions to use in a triggered build.
       Should only be used with RunBuildTrigger
       
      map<string, string> substitutions = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getSubstitutionsOrThrow

      String getSubstitutionsOrThrow(String key)
       Optional. Substitutions to use in a triggered build.
       Should only be used with RunBuildTrigger
       
      map<string, string> substitutions = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getRevisionCase

      RepoSource.RevisionCase getRevisionCase()