Interface GitHubEventsConfigOrBuilder

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

@Generated public interface GitHubEventsConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Deprecated.
    google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated.
    Name of the repository.
    com.google.protobuf.ByteString
    Name of the repository.
    Owner of the repository.
    com.google.protobuf.ByteString
    Owner of the repository.
    filter to match changes in pull requests.
    filter to match changes in pull requests.
    filter to match changes in refs like branches, tags.
    filter to match changes in refs like branches, tags.
    boolean
    filter to match changes in pull requests.
    boolean
    filter to match changes in refs like branches, tags.

    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

    • getInstallationId

      @Deprecated long getInstallationId()
      Deprecated.
      google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. See google/devtools/cloudbuild/v1/cloudbuild.proto;l=2139
       The installationID that emits the GitHub event.
       
      int64 installation_id = 1 [deprecated = true];
      Returns:
      The installationId.
    • getOwner

      String getOwner()
       Owner of the repository. For example: The owner for
       https://github.com/googlecloudplatform/cloud-builders is
       "googlecloudplatform".
       
      string owner = 6;
      Returns:
      The owner.
    • getOwnerBytes

      com.google.protobuf.ByteString getOwnerBytes()
       Owner of the repository. For example: The owner for
       https://github.com/googlecloudplatform/cloud-builders is
       "googlecloudplatform".
       
      string owner = 6;
      Returns:
      The bytes for owner.
    • getName

      String getName()
       Name of the repository. For example: The name for
       https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
       
      string name = 7;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Name of the repository. For example: The name for
       https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
       
      string name = 7;
      Returns:
      The bytes for name.
    • hasPullRequest

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

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

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

      boolean hasPush()
       filter to match changes in refs like branches, tags.
       
      .google.devtools.cloudbuild.v1.PushFilter push = 5;
      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 = 5;
      Returns:
      The push.
    • getPushOrBuilder

      PushFilterOrBuilder getPushOrBuilder()
       filter to match changes in refs like branches, tags.
       
      .google.devtools.cloudbuild.v1.PushFilter push = 5;
    • getEventCase