- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GitHubEventsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
build()
public GitHubEventsConfig build()
Returns | |
---|---|
Type | Description |
GitHubEventsConfig |
buildPartial()
public GitHubEventsConfig buildPartial()
Returns | |
---|---|
Type | Description |
GitHubEventsConfig |
clear()
public GitHubEventsConfig.Builder clear()
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
clearEvent()
public GitHubEventsConfig.Builder clearEvent()
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public GitHubEventsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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=1508
The installationID that emits the GitHub event.
int64 installation_id = 1 [deprecated = true];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GitHubEventsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
clone()
public GitHubEventsConfig.Builder clone()
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
getDefaultInstanceForType()
public GitHubEventsConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GitHubEventsConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEventCase()
public GitHubEventsConfig.EventCase getEventCase()
Returns | |
---|---|
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=1508
The installationID that emits the GitHub event.
int64 installation_id = 1 [deprecated = true];
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
PullRequestFilter.Builder |
getPullRequestOrBuilder()
public PullRequestFilterOrBuilder getPullRequestOrBuilder()
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
Returns | |
---|---|
Type | Description |
PullRequestFilterOrBuilder |
getPush()
public PushFilter getPush()
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
PushFilter.Builder |
getPushOrBuilder()
public PushFilterOrBuilder getPushOrBuilder()
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
Returns | |
---|---|
Type | Description |
PushFilterOrBuilder |
hasPullRequest()
public boolean hasPullRequest()
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the push field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GitHubEventsConfig other)
public GitHubEventsConfig.Builder mergeFrom(GitHubEventsConfig other)
Parameter | |
---|---|
Name | Description |
other | GitHubEventsConfig |
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GitHubEventsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GitHubEventsConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | PullRequestFilter |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | PushFilter |
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GitHubEventsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GitHubEventsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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=1508
The installationID that emits the GitHub event.
int64 installation_id = 1 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | long The installationId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The owner to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for owner to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | PullRequestFilter |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | PullRequestFilter.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | PushFilter |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | PushFilter.Builder |
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GitHubEventsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GitHubEventsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GitHubEventsConfig.Builder |