Package com.google.cloudbuild.v1
Interface GitHubEventsConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GitHubEventsConfig,GitHubEventsConfig.Builder
@Generated
public interface GitHubEventsConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated.getName()Name of the repository.com.google.protobuf.ByteStringName of the repository.getOwner()Owner of the repository.com.google.protobuf.ByteStringOwner of the repository.filter 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.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
-
getInstallationId
Deprecated.google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. See google/devtools/cloudbuild/v1/cloudbuild.proto;l=2139The installationID that emits the GitHub event.
int64 installation_id = 1 [deprecated = true];- Returns:
- The installationId.
-
getOwner
String getOwner()Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
string owner = 6;- Returns:
- The owner.
-
getOwnerBytes
com.google.protobuf.ByteString getOwnerBytes()Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
string owner = 6;- Returns:
- The bytes for owner.
-
getName
String getName()Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
string name = 7;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
string name = 7;- Returns:
- The bytes for name.
-
hasPullRequest
boolean hasPullRequest()filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;- Returns:
- Whether the pullRequest field is set.
-
getPullRequest
PullRequestFilter getPullRequest()filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;- Returns:
- The pullRequest.
-
getPullRequestOrBuilder
PullRequestFilterOrBuilder getPullRequestOrBuilder()filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4; -
hasPush
boolean hasPush()filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;- 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 = 5;- Returns:
- The push.
-
getPushOrBuilder
PushFilterOrBuilder getPushOrBuilder()filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5; -
getEventCase
GitHubEventsConfig.EventCase getEventCase()
-