Interface GitHubEventsConfigOrBuilder (3.7.0)

publicinterface GitHubEventsConfigOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventCase()

publicabstractGitHubEventsConfig.EventCasegetEventCase()
Returns
Type Description

getInstallationId() (deprecated)

publicabstractlonggetInstallationId()

Deprecated. google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. See google/devtools/cloudbuild/v1/cloudbuild.proto;l=1396

The installationID that emits the GitHub event.

int64 installation_id = 1 [deprecated = true];

Returns
Type Description
long

The installationId.

getName()

publicabstractStringgetName()

Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".

string name = 7;

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".

string name = 7;

Returns
Type Description
ByteString

The bytes for name.

getOwner()

publicabstractStringgetOwner()

Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".

string owner = 6;

Returns
Type Description
String

The owner.

getOwnerBytes()

publicabstractByteStringgetOwnerBytes()

Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".

string owner = 6;

Returns
Type Description
ByteString

The bytes for owner.

getPullRequest()

publicabstractPullRequestFiltergetPullRequest()

filter to match changes in pull requests.

.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;

Returns
Type Description
PullRequestFilter

The pullRequest.

getPullRequestOrBuilder()

publicabstractPullRequestFilterOrBuildergetPullRequestOrBuilder()

filter to match changes in pull requests.

.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;

Returns
Type Description

getPush()

publicabstractPushFiltergetPush()

filter to match changes in refs like branches, tags.

.google.devtools.cloudbuild.v1.PushFilter push = 5;

Returns
Type Description
PushFilter

The push.

getPushOrBuilder()

publicabstractPushFilterOrBuildergetPushOrBuilder()

filter to match changes in refs like branches, tags.

.google.devtools.cloudbuild.v1.PushFilter push = 5;

Returns
Type Description

hasPullRequest()

publicabstractbooleanhasPullRequest()

filter to match changes in pull requests.

.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;

Returns
Type Description
boolean

Whether the pullRequest field is set.

hasPush()

publicabstractbooleanhasPush()

filter to match changes in refs like branches, tags.

.google.devtools.cloudbuild.v1.PushFilter push = 5;

Returns
Type Description
boolean

Whether the push field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.