Interface GitHubEventsConfigOrBuilder (3.49.0)

public interface GitHubEventsConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventCase()

public abstract GitHubEventsConfig.EventCase getEventCase()
Returns
Type Description
GitHubEventsConfig.EventCase

getInstallationId() (deprecated)

public abstract long getInstallationId()

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

The installationID that emits the GitHub event.

int64 installation_id = 1 [deprecated = true];

Returns
Type Description
long

The installationId.

getName()

public abstract String getName()

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()

public abstract ByteString getNameBytes()

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()

public abstract String getOwner()

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()

public abstract ByteString getOwnerBytes()

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()

public abstract PullRequestFilter getPullRequest()

filter to match changes in pull requests.

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

Returns
Type Description
PullRequestFilter

The pullRequest.

getPullRequestOrBuilder()

public abstract PullRequestFilterOrBuilder getPullRequestOrBuilder()

filter to match changes in pull requests.

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

Returns
Type Description
PullRequestFilterOrBuilder

getPush()

public abstract PushFilter getPush()

filter to match changes in refs like branches, tags.

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

Returns
Type Description
PushFilter

The push.

getPushOrBuilder()

public abstract PushFilterOrBuilder getPushOrBuilder()

filter to match changes in refs like branches, tags.

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

Returns
Type Description
PushFilterOrBuilder

hasPullRequest()

public abstract boolean hasPullRequest()

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()

public abstract boolean hasPush()

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.