Interface SourceContextOrBuilder (1.13.0)

public interface SourceContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudRepo()

public abstract CloudRepoSourceContext getCloudRepo()

A SourceContext referring to a revision in a cloud repo.

.google.devtools.source.v1.CloudRepoSourceContext cloud_repo = 1;

Returns
TypeDescription
CloudRepoSourceContext

The cloudRepo.

getCloudRepoOrBuilder()

public abstract CloudRepoSourceContextOrBuilder getCloudRepoOrBuilder()

A SourceContext referring to a revision in a cloud repo.

.google.devtools.source.v1.CloudRepoSourceContext cloud_repo = 1;

Returns
TypeDescription
CloudRepoSourceContextOrBuilder

getCloudWorkspace()

public abstract CloudWorkspaceSourceContext getCloudWorkspace()

A SourceContext referring to a snapshot in a cloud workspace.

.google.devtools.source.v1.CloudWorkspaceSourceContext cloud_workspace = 2;

Returns
TypeDescription
CloudWorkspaceSourceContext

The cloudWorkspace.

getCloudWorkspaceOrBuilder()

public abstract CloudWorkspaceSourceContextOrBuilder getCloudWorkspaceOrBuilder()

A SourceContext referring to a snapshot in a cloud workspace.

.google.devtools.source.v1.CloudWorkspaceSourceContext cloud_workspace = 2;

Returns
TypeDescription
CloudWorkspaceSourceContextOrBuilder

getContextCase()

public abstract SourceContext.ContextCase getContextCase()
Returns
TypeDescription
SourceContext.ContextCase

getGerrit()

public abstract GerritSourceContext getGerrit()

A SourceContext referring to a Gerrit project.

.google.devtools.source.v1.GerritSourceContext gerrit = 3;

Returns
TypeDescription
GerritSourceContext

The gerrit.

getGerritOrBuilder()

public abstract GerritSourceContextOrBuilder getGerritOrBuilder()

A SourceContext referring to a Gerrit project.

.google.devtools.source.v1.GerritSourceContext gerrit = 3;

Returns
TypeDescription
GerritSourceContextOrBuilder

getGit()

public abstract GitSourceContext getGit()

A SourceContext referring to any third party Git repo (e.g. GitHub).

.google.devtools.source.v1.GitSourceContext git = 6;

Returns
TypeDescription
GitSourceContext

The git.

getGitOrBuilder()

public abstract GitSourceContextOrBuilder getGitOrBuilder()

A SourceContext referring to any third party Git repo (e.g. GitHub).

.google.devtools.source.v1.GitSourceContext git = 6;

Returns
TypeDescription
GitSourceContextOrBuilder

hasCloudRepo()

public abstract boolean hasCloudRepo()

A SourceContext referring to a revision in a cloud repo.

.google.devtools.source.v1.CloudRepoSourceContext cloud_repo = 1;

Returns
TypeDescription
boolean

Whether the cloudRepo field is set.

hasCloudWorkspace()

public abstract boolean hasCloudWorkspace()

A SourceContext referring to a snapshot in a cloud workspace.

.google.devtools.source.v1.CloudWorkspaceSourceContext cloud_workspace = 2;

Returns
TypeDescription
boolean

Whether the cloudWorkspace field is set.

hasGerrit()

public abstract boolean hasGerrit()

A SourceContext referring to a Gerrit project.

.google.devtools.source.v1.GerritSourceContext gerrit = 3;

Returns
TypeDescription
boolean

Whether the gerrit field is set.

hasGit()

public abstract boolean hasGit()

A SourceContext referring to any third party Git repo (e.g. GitHub).

.google.devtools.source.v1.GitSourceContext git = 6;

Returns
TypeDescription
boolean

Whether the git field is set.