proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildTrigger.java
public Builder mergeGithub(com.google.cloudbuild.v1.GitHubEventsConfig value) {
      if (githubBuilder_ == null) {
        if (github_ != null) {
          github_ =
              com.google.cloudbuild.v1.GitHubEventsConfig.newBuilder(github_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          github_ = value;
        }
        onChanged();
      } else {
        githubBuilder_.mergeFrom(value);
      }

      return this;
    }
/**
     *
     *
     * <pre>
     * GitHubEventsConfig describes the configuration of a trigger that creates
     * a build whenever a GitHub event is received.
     * Mutually exclusive with `trigger_template`.
     * </pre>
     *
     * <code>.google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;</code>
     */

GitHubEventsConfig describes the configuration of a trigger that creates
a build whenever a GitHub event is received.
Mutually exclusive with `trigger_template`.


GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received . Mutually exclusive with ` trigger_template ` .
public Builder mergeGithub(com.google.cloudbuild.v1.GitHubEventsConfig value) {
      if (githubBuilder_ == null) {
        if (github_ != null) {
          github_ =
              com.google.cloudbuild.v1.GitHubEventsConfig.newBuilder(github_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          github_ = value;
        }
        onChanged();
      } else {
        githubBuilder_.mergeFrom(value);
      }
      return this;
    }
public Builder mergeGithub ( com . google . cloudbuild . v1 . GitHubEventsConfig value ) { if ( githubBuilder_ == null ) { if ( github_ != null ) { github_ = com . google . cloudbuild . v1 . GitHubEventsConfig . newBuilder ( github_ ) . mergeFrom ( value ) . buildPartial ( ) ; } else { github_ = value ; } onChanged ( ) ; } else { githubBuilder_ . mergeFrom ( value ) ; } return this ; }
<pre>
 GitHubEventsConfig describes the configuration of a trigger that creates
 a build whenever a GitHub event is received.
<pre > GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received .