- 3.53.0 (latest)
- 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 RepositoryEventConfig.Builder extends GeneratedMessageV3.Builder<RepositoryEventConfig.Builder> implements RepositoryEventConfigOrBuilder
The configuration of a trigger that creates a build whenever an event from Repo API is received.
Protobuf type google.devtools.cloudbuild.v1.RepositoryEventConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RepositoryEventConfig.BuilderImplements
RepositoryEventConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RepositoryEventConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
build()
public RepositoryEventConfig build()
Returns | |
---|---|
Type | Description |
RepositoryEventConfig |
buildPartial()
public RepositoryEventConfig buildPartial()
Returns | |
---|---|
Type | Description |
RepositoryEventConfig |
clear()
public RepositoryEventConfig.Builder clear()
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public RepositoryEventConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
clearFilter()
public RepositoryEventConfig.Builder clearFilter()
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RepositoryEventConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
clearPullRequest()
public RepositoryEventConfig.Builder clearPullRequest()
Filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
clearPush()
public RepositoryEventConfig.Builder clearPush()
Filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 4;
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
clearRepository()
public RepositoryEventConfig.Builder clearRepository()
The resource name of the Repo API resource.
string repository = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
This builder for chaining. |
clearRepositoryType()
public RepositoryEventConfig.Builder clearRepositoryType()
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 | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
This builder for chaining. |
clone()
public RepositoryEventConfig.Builder clone()
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
getDefaultInstanceForType()
public RepositoryEventConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RepositoryEventConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilterCase()
public RepositoryEventConfig.FilterCase getFilterCase()
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.FilterCase |
getPullRequest()
public PullRequestFilter getPullRequest()
Filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;
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 = 3;
Returns | |
---|---|
Type | Description |
PullRequestFilter.Builder |
getPullRequestOrBuilder()
public PullRequestFilterOrBuilder getPullRequestOrBuilder()
Filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;
Returns | |
---|---|
Type | Description |
PullRequestFilterOrBuilder |
getPush()
public PushFilter getPush()
Filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 4;
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 = 4;
Returns | |
---|---|
Type | Description |
PushFilter.Builder |
getPushOrBuilder()
public PushFilterOrBuilder getPushOrBuilder()
Filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 4;
Returns | |
---|---|
Type | Description |
PushFilterOrBuilder |
getRepository()
public String getRepository()
The resource name of the Repo API resource.
string repository = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The repository. |
getRepositoryBytes()
public ByteString getRepositoryBytes()
The resource name of the Repo API resource.
string repository = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for repository. |
getRepositoryType()
public 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 | |
---|---|
Type | Description |
RepositoryEventConfig.RepositoryType |
The repositoryType. |
getRepositoryTypeValue()
public 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 | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for repositoryType. |
hasPullRequest()
public boolean hasPullRequest()
Filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;
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 = 4;
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(RepositoryEventConfig other)
public RepositoryEventConfig.Builder mergeFrom(RepositoryEventConfig other)
Parameter | |
---|---|
Name | Description |
other |
RepositoryEventConfig |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RepositoryEventConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RepositoryEventConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
mergePullRequest(PullRequestFilter value)
public RepositoryEventConfig.Builder mergePullRequest(PullRequestFilter value)
Filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;
Parameter | |
---|---|
Name | Description |
value |
PullRequestFilter |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
mergePush(PushFilter value)
public RepositoryEventConfig.Builder mergePush(PushFilter value)
Filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 4;
Parameter | |
---|---|
Name | Description |
value |
PushFilter |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RepositoryEventConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RepositoryEventConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
setPullRequest(PullRequestFilter value)
public RepositoryEventConfig.Builder setPullRequest(PullRequestFilter value)
Filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;
Parameter | |
---|---|
Name | Description |
value |
PullRequestFilter |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
setPullRequest(PullRequestFilter.Builder builderForValue)
public RepositoryEventConfig.Builder setPullRequest(PullRequestFilter.Builder builderForValue)
Filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
PullRequestFilter.Builder |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
setPush(PushFilter value)
public RepositoryEventConfig.Builder setPush(PushFilter value)
Filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 4;
Parameter | |
---|---|
Name | Description |
value |
PushFilter |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
setPush(PushFilter.Builder builderForValue)
public RepositoryEventConfig.Builder setPush(PushFilter.Builder builderForValue)
Filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
PushFilter.Builder |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RepositoryEventConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
setRepository(String value)
public RepositoryEventConfig.Builder setRepository(String value)
The resource name of the Repo API resource.
string repository = 1 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The repository to set. |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
This builder for chaining. |
setRepositoryBytes(ByteString value)
public RepositoryEventConfig.Builder setRepositoryBytes(ByteString value)
The resource name of the Repo API resource.
string repository = 1 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for repository to set. |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
This builder for chaining. |
setRepositoryType(RepositoryEventConfig.RepositoryType value)
public RepositoryEventConfig.Builder setRepositoryType(RepositoryEventConfig.RepositoryType value)
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];
Parameter | |
---|---|
Name | Description |
value |
RepositoryEventConfig.RepositoryType The repositoryType to set. |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
This builder for chaining. |
setRepositoryTypeValue(int value)
public RepositoryEventConfig.Builder setRepositoryTypeValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for repositoryType to set. |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RepositoryEventConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RepositoryEventConfig.Builder |