Interface RepositoryEventConfigOrBuilder (3.36.0)

public interface RepositoryEventConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilterCase()

public abstract RepositoryEventConfig.FilterCase getFilterCase()
Returns
TypeDescription
RepositoryEventConfig.FilterCase

getPullRequest()

public abstract PullRequestFilter getPullRequest()

Filter to match changes in pull requests.

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

Returns
TypeDescription
PullRequestFilter

The pullRequest.

getPullRequestOrBuilder()

public abstract PullRequestFilterOrBuilder getPullRequestOrBuilder()

Filter to match changes in pull requests.

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

Returns
TypeDescription
PullRequestFilterOrBuilder

getPush()

public abstract PushFilter getPush()

Filter to match changes in refs like branches, tags.

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

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

Returns
TypeDescription
PushFilterOrBuilder

getRepository()

public abstract String getRepository()

The resource name of the Repo API resource.

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

Returns
TypeDescription
String

The repository.

getRepositoryBytes()

public abstract ByteString getRepositoryBytes()

The resource name of the Repo API resource.

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

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

Returns
TypeDescription
boolean

Whether the push field is set.