Interface CloudRepoSourceContextOrBuilder (2.33.0)

public interface CloudRepoSourceContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAliasContext()

public abstract AliasContext getAliasContext()

An alias, which may be a branch or tag.

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

Returns
TypeDescription
AliasContext

The aliasContext.

getAliasContextOrBuilder()

public abstract AliasContextOrBuilder getAliasContextOrBuilder()

An alias, which may be a branch or tag.

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

Returns
TypeDescription
AliasContextOrBuilder

getRepoId()

public abstract RepoId getRepoId()

The ID of the repo.

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

Returns
TypeDescription
RepoId

The repoId.

getRepoIdOrBuilder()

public abstract RepoIdOrBuilder getRepoIdOrBuilder()

The ID of the repo.

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

Returns
TypeDescription
RepoIdOrBuilder

getRevisionCase()

public abstract CloudRepoSourceContext.RevisionCase getRevisionCase()
Returns
TypeDescription
CloudRepoSourceContext.RevisionCase

getRevisionId()

public abstract String getRevisionId()

A revision ID.

string revision_id = 2;

Returns
TypeDescription
String

The revisionId.

getRevisionIdBytes()

public abstract ByteString getRevisionIdBytes()

A revision ID.

string revision_id = 2;

Returns
TypeDescription
ByteString

The bytes for revisionId.

hasAliasContext()

public abstract boolean hasAliasContext()

An alias, which may be a branch or tag.

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

Returns
TypeDescription
boolean

Whether the aliasContext field is set.

hasRepoId()

public abstract boolean hasRepoId()

The ID of the repo.

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

Returns
TypeDescription
boolean

Whether the repoId field is set.