proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildTrigger.java
public Builder mergeWebhookConfig(com.google.cloudbuild.v1.WebhookConfig value) {
      if (webhookConfigBuilder_ == null) {
        if (webhookConfig_ != null) {
          webhookConfig_ =
              com.google.cloudbuild.v1.WebhookConfig.newBuilder(webhookConfig_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          webhookConfig_ = value;
        }
        onChanged();
      } else {
        webhookConfigBuilder_.mergeFrom(value);
      }

      return this;
    }
/**
     *
     *
     * <pre>
     * WebhookConfig describes the configuration of a trigger that
     * creates a build whenever a webhook is sent to a trigger's webhook URL.
     * </pre>
     *
     * <code>.google.devtools.cloudbuild.v1.WebhookConfig webhook_config = 31;</code>
     */

WebhookConfig describes the configuration of a trigger that
creates a build whenever a webhook is sent to a trigger's webhook URL.


WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger ' s webhook URL .
public Builder mergeWebhookConfig(com.google.cloudbuild.v1.WebhookConfig value) {
      if (webhookConfigBuilder_ == null) {
        if (webhookConfig_ != null) {
          webhookConfig_ =
              com.google.cloudbuild.v1.WebhookConfig.newBuilder(webhookConfig_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          webhookConfig_ = value;
        }
        onChanged();
      } else {
        webhookConfigBuilder_.mergeFrom(value);
      }
      return this;
    }
public Builder mergeWebhookConfig ( com . google . cloudbuild . v1 . WebhookConfig value ) { if ( webhookConfigBuilder_ == null ) { if ( webhookConfig_ != null ) { webhookConfig_ = com . google . cloudbuild . v1 . WebhookConfig . newBuilder ( webhookConfig_ ) . mergeFrom ( value ) . buildPartial ( ) ; } else { webhookConfig_ = value ; } onChanged ( ) ; } else { webhookConfigBuilder_ . mergeFrom ( value ) ; } return this ; }
<pre>
 WebhookConfig describes the configuration of a trigger that
 creates a build whenever a webhook is sent to a trigger's webhook URL.
<pre > WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger ' s webhook URL .