Interface CloudRepoSourceContextOrBuilder (2.42.0)

publicinterface CloudRepoSourceContextOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAliasContext()

publicabstractAliasContextgetAliasContext()

An alias, which may be a branch or tag.

.grafeas.v1beta1.source.AliasContext alias_context = 3;

Returns
Type Description
AliasContext

The aliasContext.

getAliasContextOrBuilder()

publicabstractAliasContextOrBuildergetAliasContextOrBuilder()

An alias, which may be a branch or tag.

.grafeas.v1beta1.source.AliasContext alias_context = 3;

Returns
Type Description
AliasContextOrBuilder

getRepoId()

publicabstractRepoIdgetRepoId()

The ID of the repo.

.grafeas.v1beta1.source.RepoId repo_id = 1;

Returns
Type Description
RepoId

The repoId.

getRepoIdOrBuilder()

publicabstractRepoIdOrBuildergetRepoIdOrBuilder()

The ID of the repo.

.grafeas.v1beta1.source.RepoId repo_id = 1;

Returns
Type Description
RepoIdOrBuilder

getRevisionCase()

publicabstractCloudRepoSourceContext.RevisionCasegetRevisionCase()
Returns
Type Description
CloudRepoSourceContext.RevisionCase

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.

.grafeas.v1beta1.source.AliasContext alias_context = 3;

Returns
Type Description
boolean

Whether the aliasContext field is set.

hasRepoId()

publicabstractbooleanhasRepoId()

The ID of the repo.

.grafeas.v1beta1.source.RepoId repo_id = 1;

Returns
Type Description
boolean

Whether the repoId 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年11月19日 UTC.