Interface GitHubEventsConfigOrBuilder (3.24.0)

public interface GitHubEventsConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventCase()

public abstract GitHubEventsConfig.EventCase getEventCase()
Returns
TypeDescription
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=1856

The installationID that emits the GitHub event.

int64 installation_id = 1 [deprecated = true];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PullRequestFilter

The pullRequest.

getPullRequestOrBuilder()

public abstract PullRequestFilterOrBuilder getPullRequestOrBuilder()

filter to match changes in pull requests.

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

Returns
TypeDescription
PullRequestFilterOrBuilder

getPush()

public abstract PushFilter getPush()

filter to match changes in refs like branches, tags.

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

Returns
TypeDescription
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
TypeDescription
PushFilterOrBuilder

hasPullRequest()

public abstract boolean hasPullRequest()

filter to match changes in pull requests.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the push field is set.