public final class GitHubEventsConfig extends GeneratedMessageV3 implements GitHubEventsConfigOrBuilder
GitHubEventsConfig describes the configuration of a trigger that creates a
build whenever a GitHub event is received.
Protobuf type google.devtools.cloudbuild.v1.GitHubEventsConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
INSTALLATION_ID_FIELD_NUMBER
public static final int INSTALLATION_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OWNER_FIELD_NUMBER
public static final int OWNER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PULL_REQUEST_FIELD_NUMBER
public static final int PULL_REQUEST_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PUSH_FIELD_NUMBER
public static final int PUSH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GitHubEventsConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GitHubEventsConfig.Builder newBuilder()
newBuilder(GitHubEventsConfig prototype)
public static GitHubEventsConfig.Builder newBuilder(GitHubEventsConfig prototype)
public static GitHubEventsConfig parseDelimitedFrom(InputStream input)
public static GitHubEventsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GitHubEventsConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GitHubEventsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GitHubEventsConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GitHubEventsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GitHubEventsConfig parseFrom(CodedInputStream input)
public static GitHubEventsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GitHubEventsConfig parseFrom(InputStream input)
public static GitHubEventsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GitHubEventsConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GitHubEventsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GitHubEventsConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public GitHubEventsConfig getDefaultInstanceForType()
getEventCase()
public GitHubEventsConfig.EventCase getEventCase()
getInstallationId() (deprecated)
public long getInstallationId()
Deprecated. google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. See
google/devtools/cloudbuild/v1/cloudbuild.proto;l=1861
The installationID that emits the GitHub event.
int64 installation_id = 1 [deprecated = true];
Returns |
---|
Type | Description |
long | The installationId.
|
getName()
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getOwner()
Returns |
---|
Type | Description |
String | The owner.
|
getOwnerBytes()
public ByteString getOwnerBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for owner.
|
getParserForType()
public Parser<GitHubEventsConfig> getParserForType()
Overrides
getPullRequest()
public PullRequestFilter getPullRequest()
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
getPullRequestOrBuilder()
public PullRequestFilterOrBuilder getPullRequestOrBuilder()
filter to match changes in pull requests.
.google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
getPush()
public PushFilter getPush()
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
getPushOrBuilder()
public PushFilterOrBuilder getPushOrBuilder()
filter to match changes in refs like branches, tags.
.google.devtools.cloudbuild.v1.PushFilter push = 5;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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()
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GitHubEventsConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GitHubEventsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GitHubEventsConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides