Interface CloudRepoSourceContextOrBuilder (1.48.0)

public interface CloudRepoSourceContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAliasContext()

public abstract AliasContext getAliasContext()

An alias, which may be a branch or tag.

.google.devtools.source.v1.AliasContext alias_context = 4;

Returns
Type Description
AliasContext

The aliasContext.

getAliasContextOrBuilder()

public abstract AliasContextOrBuilder getAliasContextOrBuilder()

An alias, which may be a branch or tag.

.google.devtools.source.v1.AliasContext alias_context = 4;

Returns
Type Description
AliasContextOrBuilder

getAliasName() (deprecated)

public abstract String getAliasName()

Deprecated. google.devtools.source.v1.CloudRepoSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=95

The name of an alias (branch, tag, etc.).

string alias_name = 3 [deprecated = true];

Returns
Type Description
String

The aliasName.

getAliasNameBytes() (deprecated)

public abstract ByteString getAliasNameBytes()

Deprecated. google.devtools.source.v1.CloudRepoSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=95

The name of an alias (branch, tag, etc.).

string alias_name = 3 [deprecated = true];

Returns
Type Description
ByteString

The bytes for aliasName.

getRepoId()

public abstract RepoId getRepoId()

The ID of the repo.

.google.devtools.source.v1.RepoId repo_id = 1;

Returns
Type Description
RepoId

The repoId.

getRepoIdOrBuilder()

public abstract RepoIdOrBuilder getRepoIdOrBuilder()

The ID of the repo.

.google.devtools.source.v1.RepoId repo_id = 1;

Returns
Type Description
RepoIdOrBuilder

getRevisionCase()

public abstract CloudRepoSourceContext.RevisionCase getRevisionCase()
Returns
Type Description
CloudRepoSourceContext.RevisionCase

getRevisionId()

public abstract String getRevisionId()

A revision ID.

string revision_id = 2;

Returns
Type Description
String

The revisionId.

getRevisionIdBytes()

public abstract ByteString getRevisionIdBytes()

A revision ID.

string revision_id = 2;

Returns
Type Description
ByteString

The bytes for revisionId.

hasAliasContext()

public abstract boolean hasAliasContext()

An alias, which may be a branch or tag.

.google.devtools.source.v1.AliasContext alias_context = 4;

Returns
Type Description
boolean

Whether the aliasContext field is set.

hasAliasName() (deprecated)

public abstract boolean hasAliasName()

Deprecated. google.devtools.source.v1.CloudRepoSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=95

The name of an alias (branch, tag, etc.).

string alias_name = 3 [deprecated = true];

Returns
Type Description
boolean

Whether the aliasName field is set.

hasRepoId()

public abstract boolean hasRepoId()

The ID of the repo.

.google.devtools.source.v1.RepoId repo_id = 1;

Returns
Type Description
boolean

Whether the repoId field is set.

hasRevisionId()

public abstract boolean hasRevisionId()

A revision ID.

string revision_id = 2;

Returns
Type Description
boolean

Whether the revisionId field is set.