Enum GitFileSource.RepoType (3.56.0)

public enum GitFileSource.RepoType extends Enum<GitFileSource.RepoType> implements ProtocolMessageEnum

The type of the repo, since it may not be explicit from the repo field (e.g from a URL).

Protobuf enum google.devtools.cloudbuild.v1.GitFileSource.RepoType

Implements

ProtocolMessageEnum

Static Fields

Name Description
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

BITBUCKET_SERVER = 3;

BITBUCKET_SERVER_VALUE

A Bitbucket Server-hosted repo.

BITBUCKET_SERVER = 3;

CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

CLOUD_SOURCE_REPOSITORIES = 1;

CLOUD_SOURCE_REPOSITORIES_VALUE

A Google Cloud Source Repositories-hosted repo.

CLOUD_SOURCE_REPOSITORIES = 1;

GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

GITHUB = 2;

GITHUB_VALUE

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

GITHUB = 2;

GITLAB

A GitLab-hosted repo.

GITLAB = 4;

GITLAB_VALUE

A GitLab-hosted repo.

GITLAB = 4;

UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

UNKNOWN = 0;

UNKNOWN_VALUE

The default, unknown repo type. Don't use it, instead use one of the other repo types.

UNKNOWN = 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()