- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public static final class GitHubEventsConfig.Builder extends GeneratedMessageV3.Builder<GitHubEventsConfig.Builder> implements GitHubEventsConfigOrBuilder
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. This message is experimental.
Protobuf type google.devtools.cloudbuild.v1.GitHubEventsConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GitHubEventsConfig.BuilderImplements
GitHubEventsConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GitHubEventsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GitHubEventsConfig.Builder |
build()
public GitHubEventsConfig build()
Type | Description |
GitHubEventsConfig |
buildPartial()
public GitHubEventsConfig buildPartial()
Type | Description |
GitHubEventsConfig |
clear()
public GitHubEventsConfig.Builder clear()
Type | Description |
GitHubEventsConfig.Builder |
clearEvent()
public GitHubEventsConfig.Builder clearEvent()
Type | Description |
GitHubEventsConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public GitHubEventsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GitHubEventsConfig.Builder |
clearInstallationId() (deprecated)
public GitHubEventsConfig.Builder clearInstallationId()
Deprecated. google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. See google/devtools/cloudbuild/v1/cloudbuild.proto;l=1507
The installationID that emits the GitHub event.
int64 installation_id = 1 [deprecated = true];
Type | Description |
GitHubEventsConfig.Builder | This builder for chaining. |
clearName()
public GitHubEventsConfig.Builder clearName()
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
string name = 7;
Type | Description |
GitHubEventsConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GitHubEventsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GitHubEventsConfig.Builder |
clearOwner()
public GitHubEventsConfig.Builder clearOwner()
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
string owner = 6;
Type | Description |
GitHubEventsConfig.Builder | This builder for chaining. |
clearPullRequest()
public GitHubEventsConfig.Builder clearPullRequest()
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
Type | Description |
GitHubEventsConfig.Builder |
clearPush()
public GitHubEventsConfig.Builder clearPush()
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
Type | Description |
GitHubEventsConfig.Builder |
clone()
public GitHubEventsConfig.Builder clone()
Type | Description |
GitHubEventsConfig.Builder |
getDefaultInstanceForType()
public GitHubEventsConfig getDefaultInstanceForType()
Type | Description |
GitHubEventsConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEventCase()
public GitHubEventsConfig.EventCase getEventCase()
Type | Description |
GitHubEventsConfig.EventCase |
getInstallationId() (deprecated)
public long getInstallationId()
Deprecated. google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. See google/devtools/cloudbuild/v1/cloudbuild.proto;l=1507
The installationID that emits the GitHub event.
int64 installation_id = 1 [deprecated = true];
Type | Description |
long | The installationId. |
getName()
public String getName()
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
string name = 7;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
string name = 7;
Type | Description |
ByteString | The bytes for name. |
getOwner()
public String getOwner()
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
string owner = 6;
Type | Description |
String | The owner. |
getOwnerBytes()
public ByteString getOwnerBytes()
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
string owner = 6;
Type | Description |
ByteString | The bytes for owner. |
getPullRequest()
public PullRequestFilter getPullRequest()
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
Type | Description |
PullRequestFilter | The pullRequest. |
getPullRequestBuilder()
public PullRequestFilter.Builder getPullRequestBuilder()
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
Type | Description |
PullRequestFilter.Builder |
getPullRequestOrBuilder()
public PullRequestFilterOrBuilder getPullRequestOrBuilder()
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
Type | Description |
PullRequestFilterOrBuilder |
getPush()
public PushFilter getPush()
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
Type | Description |
PushFilter | The push. |
getPushBuilder()
public PushFilter.Builder getPushBuilder()
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
Type | Description |
PushFilter.Builder |
getPushOrBuilder()
public PushFilterOrBuilder getPushOrBuilder()
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
Type | Description |
PushFilterOrBuilder |
hasPullRequest()
public boolean hasPullRequest()
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
Type | Description |
boolean | Whether the pullRequest field is set. |
hasPush()
public boolean hasPush()
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
Type | Description |
boolean | Whether the push field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GitHubEventsConfig other)
public GitHubEventsConfig.Builder mergeFrom(GitHubEventsConfig other)
Name | Description |
other | GitHubEventsConfig |
Type | Description |
GitHubEventsConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GitHubEventsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GitHubEventsConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GitHubEventsConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GitHubEventsConfig.Builder |
mergePullRequest(PullRequestFilter value)
public GitHubEventsConfig.Builder mergePullRequest(PullRequestFilter value)
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
Name | Description |
value | PullRequestFilter |
Type | Description |
GitHubEventsConfig.Builder |
mergePush(PushFilter value)
public GitHubEventsConfig.Builder mergePush(PushFilter value)
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
Name | Description |
value | PushFilter |
Type | Description |
GitHubEventsConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GitHubEventsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GitHubEventsConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GitHubEventsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GitHubEventsConfig.Builder |
setInstallationId(long value) (deprecated)
public GitHubEventsConfig.Builder setInstallationId(long value)
Deprecated. google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. See google/devtools/cloudbuild/v1/cloudbuild.proto;l=1507
The installationID that emits the GitHub event.
int64 installation_id = 1 [deprecated = true];
Name | Description |
value | long The installationId to set. |
Type | Description |
GitHubEventsConfig.Builder | This builder for chaining. |
setName(String value)
public GitHubEventsConfig.Builder setName(String value)
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
string name = 7;
Name | Description |
value | String The name to set. |
Type | Description |
GitHubEventsConfig.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public GitHubEventsConfig.Builder setNameBytes(ByteString value)
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
string name = 7;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
GitHubEventsConfig.Builder | This builder for chaining. |
setOwner(String value)
public GitHubEventsConfig.Builder setOwner(String value)
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
string owner = 6;
Name | Description |
value | String The owner to set. |
Type | Description |
GitHubEventsConfig.Builder | This builder for chaining. |
setOwnerBytes(ByteString value)
public GitHubEventsConfig.Builder setOwnerBytes(ByteString value)
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
string owner = 6;
Name | Description |
value | ByteString The bytes for owner to set. |
Type | Description |
GitHubEventsConfig.Builder | This builder for chaining. |
setPullRequest(PullRequestFilter value)
public GitHubEventsConfig.Builder setPullRequest(PullRequestFilter value)
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
Name | Description |
value | PullRequestFilter |
Type | Description |
GitHubEventsConfig.Builder |
setPullRequest(PullRequestFilter.Builder builderForValue)
public GitHubEventsConfig.Builder setPullRequest(PullRequestFilter.Builder builderForValue)
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
Name | Description |
builderForValue | PullRequestFilter.Builder |
Type | Description |
GitHubEventsConfig.Builder |
setPush(PushFilter value)
public GitHubEventsConfig.Builder setPush(PushFilter value)
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
Name | Description |
value | PushFilter |
Type | Description |
GitHubEventsConfig.Builder |
setPush(PushFilter.Builder builderForValue)
public GitHubEventsConfig.Builder setPush(PushFilter.Builder builderForValue)
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
Name | Description |
builderForValue | PushFilter.Builder |
Type | Description |
GitHubEventsConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GitHubEventsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GitHubEventsConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GitHubEventsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GitHubEventsConfig.Builder |