Enum RepositoryEventConfig.RepositoryType (3.48.0)

public enum RepositoryEventConfig.RepositoryType extends Enum<RepositoryEventConfig.RepositoryType> implements ProtocolMessageEnum

All possible SCM repo types from Repo API.

Protobuf enum google.devtools.cloudbuild.v1.RepositoryEventConfig.RepositoryType

Implements

ProtocolMessageEnum

Static Fields

Name Description
GITHUB

The SCM repo is GITHUB.

GITHUB = 1;

GITHUB_ENTERPRISE

The SCM repo is GITHUB Enterprise.

GITHUB_ENTERPRISE = 2;

GITHUB_ENTERPRISE_VALUE

The SCM repo is GITHUB Enterprise.

GITHUB_ENTERPRISE = 2;

GITHUB_VALUE

The SCM repo is GITHUB.

GITHUB = 1;

GITLAB_ENTERPRISE

The SCM repo is GITLAB Enterprise.

GITLAB_ENTERPRISE = 3;

GITLAB_ENTERPRISE_VALUE

The SCM repo is GITLAB Enterprise.

GITLAB_ENTERPRISE = 3;

REPOSITORY_TYPE_UNSPECIFIED

If unspecified, RepositoryType defaults to GITHUB.

REPOSITORY_TYPE_UNSPECIFIED = 0;

REPOSITORY_TYPE_UNSPECIFIED_VALUE

If unspecified, RepositoryType defaults to GITHUB.

REPOSITORY_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()