Package com.google.cloudbuild.v1
Interface RepositoryEventConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RepositoryEventConfig,RepositoryEventConfig.Builder
@Generated
public interface RepositoryEventConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionFilter to match changes in pull requests.Filter to match changes in pull requests.getPush()Filter to match changes in refs like branches, tags.Filter to match changes in refs like branches, tags.The resource name of the Repo API resource.com.google.protobuf.ByteStringThe resource name of the Repo API resource.Output only.intOutput only.booleanFilter to match changes in pull requests.booleanhasPush()Filter to match changes in refs like branches, tags.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRepository
String getRepository()The resource name of the Repo API resource.
string repository = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The repository.
-
getRepositoryBytes
com.google.protobuf.ByteString getRepositoryBytes()The resource name of the Repo API resource.
string repository = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for repository.
-
getRepositoryTypeValue
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:
- The enum numeric value on the wire for repositoryType.
-
getRepositoryType
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:
- The repositoryType.
-
hasPullRequest
boolean hasPullRequest()Filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;- Returns:
- Whether the pullRequest field is set.
-
getPullRequest
PullRequestFilter getPullRequest()Filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;- Returns:
- The pullRequest.
-
getPullRequestOrBuilder
PullRequestFilterOrBuilder getPullRequestOrBuilder()Filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3; -
hasPush
boolean hasPush()Filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 4;- Returns:
- Whether the push field is set.
-
getPush
PushFilter getPush()Filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 4;- Returns:
- The push.
-
getPushOrBuilder
PushFilterOrBuilder getPushOrBuilder()Filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 4; -
getFilterCase
RepositoryEventConfig.FilterCase getFilterCase()
-