Interface CloudRepoSourceContextOrBuilder (1.1.10)

publicinterface CloudRepoSourceContextOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAliasContext()

publicabstractAliasContextgetAliasContext()

An alias, which may be a branch or tag.

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

Returns
Type Description
AliasContext

The aliasContext.

getAliasContextOrBuilder()

publicabstractAliasContextOrBuildergetAliasContextOrBuilder()

An alias, which may be a branch or tag.

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

Returns
Type Description

getAliasName()

publicabstractStringgetAliasName()

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

string alias_name = 3 [deprecated = true];

Returns
Type Description
String

The aliasName.

getAliasNameBytes()

publicabstractByteStringgetAliasNameBytes()

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

string alias_name = 3 [deprecated = true];

Returns
Type Description
ByteString

The bytes for aliasName.

getRepoId()

publicabstractRepoIdgetRepoId()

The ID of the repo.

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

Returns
Type Description
RepoId

The repoId.

getRepoIdOrBuilder()

publicabstractRepoIdOrBuildergetRepoIdOrBuilder()

The ID of the repo.

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

Returns
Type Description

getRevisionCase()

publicabstractCloudRepoSourceContext.RevisionCasegetRevisionCase()
Returns
Type Description

getRevisionId()

publicabstractStringgetRevisionId()

A revision ID.

string revision_id = 2;

Returns
Type Description
String

The revisionId.

getRevisionIdBytes()

publicabstractByteStringgetRevisionIdBytes()

A revision ID.

string revision_id = 2;

Returns
Type Description
ByteString

The bytes for revisionId.

hasAliasContext()

publicabstractbooleanhasAliasContext()

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

publicabstractbooleanhasAliasName()

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

publicabstractbooleanhasRepoId()

The ID of the repo.

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

Returns
Type Description
boolean

Whether the repoId field is set.

hasRevisionId()

publicabstractbooleanhasRevisionId()

A revision ID.

string revision_id = 2;

Returns
Type Description
boolean

Whether the revisionId field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.