Interface RepositoryEventConfigOrBuilder

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

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

    • getRepository

      String getRepository()
       The resource name of the Repo API resource.
       
      string repository = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The repository.
    • getRepositoryBytes

      com.google.protobuf.ByteString getRepositoryBytes()
       The resource name of the Repo API resource.
       
      string repository = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for repository.
    • getRepositoryTypeValue

      int getRepositoryTypeValue()
       Output only. The type of the SCM vendor the repository points to.
       
      .google.devtools.cloudbuild.v1.RepositoryEventConfig.RepositoryType repository_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for repositoryType.
    • getRepositoryType

       Output only. The type of the SCM vendor the repository points to.
       
      .google.devtools.cloudbuild.v1.RepositoryEventConfig.RepositoryType repository_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The repositoryType.
    • hasPullRequest

      boolean hasPullRequest()
       Filter to match changes in pull requests.
       
      .google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;
      Returns:
      Whether the pullRequest field is set.
    • getPullRequest

      PullRequestFilter getPullRequest()
       Filter to match changes in pull requests.
       
      .google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;
      Returns:
      The pullRequest.
    • getPullRequestOrBuilder

      PullRequestFilterOrBuilder getPullRequestOrBuilder()
       Filter to match changes in pull requests.
       
      .google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;
    • hasPush

      boolean hasPush()
       Filter to match changes in refs like branches, tags.
       
      .google.devtools.cloudbuild.v1.PushFilter push = 4;
      Returns:
      Whether the push field is set.
    • getPush

      PushFilter getPush()
       Filter to match changes in refs like branches, tags.
       
      .google.devtools.cloudbuild.v1.PushFilter push = 4;
      Returns:
      The push.
    • getPushOrBuilder

      PushFilterOrBuilder getPushOrBuilder()
       Filter to match changes in refs like branches, tags.
       
      .google.devtools.cloudbuild.v1.PushFilter push = 4;
    • getFilterCase