Interface RepositoryEventConfigOrBuilder (3.46.0)

public interface RepositoryEventConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilterCase()

public abstract RepositoryEventConfig.FilterCase getFilterCase()
Returns
Type Description
RepositoryEventConfig.FilterCase

getPullRequest()

public abstract PullRequestFilter getPullRequest()

Filter to match changes in pull requests.

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

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 = 3;

Returns
Type Description
PullRequestFilterOrBuilder

getPush()

public abstract PushFilter getPush()

Filter to match changes in refs like branches, tags.

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

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 = 4;

Returns
Type Description
PushFilterOrBuilder

getRepository()

public abstract String getRepository()

The resource name of the Repo API resource.

string repository = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The repository.

getRepositoryBytes()

public abstract ByteString getRepositoryBytes()

The resource name of the Repo API resource.

string repository = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for repository.

getRepositoryType()

public abstract RepositoryEventConfig.RepositoryType getRepositoryType()

Output only. The type of the SCM vendor the repository points to.

.google.devtools.cloudbuild.v1.RepositoryEventConfig.RepositoryType repository_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RepositoryEventConfig.RepositoryType

The repositoryType.

getRepositoryTypeValue()

public abstract int getRepositoryTypeValue()

Output only. The type of the SCM vendor the repository points to.

.google.devtools.cloudbuild.v1.RepositoryEventConfig.RepositoryType repository_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for repositoryType.

hasPullRequest()

public abstract boolean hasPullRequest()

Filter to match changes in pull requests.

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

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 = 4;

Returns
Type Description
boolean

Whether the push field is set.