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
      String getBranchName()
      Regex matching branches to build.
      com.google.protobuf.ByteString getBranchNameBytes()
      Regex matching branches to build.
      String getCommitSha()
      Explicit commit SHA to build.
      com.google.protobuf.ByteString getCommitShaBytes()
      Explicit commit SHA to build.
      String getDir()
      Directory, relative to the source root, in which to run the build.
      com.google.protobuf.ByteString getDirBytes()
      Directory, relative to the source root, in which to run the build.
      boolean getInvertRegex()
      Only trigger a build if the revision regex does NOT match the revision regex.
      String getProjectId()
      ID of the project that owns the Cloud Source Repository.
      com.google.protobuf.ByteString getProjectIdBytes()
      ID of the project that owns the Cloud Source Repository.
      String getRepoName()
      Name of the Cloud Source Repository.
      com.google.protobuf.ByteString getRepoNameBytes()
      Name of the Cloud Source Repository.
      RepoSource.RevisionCase getRevisionCase()  
      String getTagName()
      Regex matching tags to build.
      com.google.protobuf.ByteString getTagNameBytes()
      Regex matching tags to build.
      boolean hasBranchName()
      Regex matching branches to build.
      boolean hasCommitSha()
      Explicit commit SHA to build.
      boolean hasTagName()
      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 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.