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 Summary

    Modifier and Type
    Method
    Description
    Regex matching branches to build.
    com.google.protobuf.ByteString
    Regex matching branches to build.
    Explicit commit SHA to build.
    com.google.protobuf.ByteString
    Explicit commit SHA to build.
    Directory, relative to the source root, in which to run the build.
    com.google.protobuf.ByteString
    Directory, relative to the source root, in which to run the build.
    boolean
    Only trigger a build if the revision regex does NOT match the revision regex.
    ID of the project that owns the Cloud Source Repository.
    com.google.protobuf.ByteString
    ID of the project that owns the Cloud Source Repository.
    Name of the Cloud Source Repository.
    com.google.protobuf.ByteString
    Name of the Cloud Source Repository.
     
    Regex matching tags to build.
    com.google.protobuf.ByteString
    Regex matching tags to build.
    boolean
    Regex matching branches to build.
    boolean
    Explicit commit SHA to build.
    boolean
    Regex matching tags to build.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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()