Interface GerritSourceContextOrBuilder (2.42.0)

publicinterface GerritSourceContextOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAliasContext()

publicabstractAliasContextgetAliasContext()

An alias, which may be a branch or tag.

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

Returns
Type Description
AliasContext

The aliasContext.

getAliasContextOrBuilder()

publicabstractAliasContextOrBuildergetAliasContextOrBuilder()

An alias, which may be a branch or tag.

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

Returns
Type Description
AliasContextOrBuilder

getGerritProject()

publicabstractStringgetGerritProject()

The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.

string gerrit_project = 2;

Returns
Type Description
String

The gerritProject.

getGerritProjectBytes()

publicabstractByteStringgetGerritProjectBytes()

The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.

string gerrit_project = 2;

Returns
Type Description
ByteString

The bytes for gerritProject.

getHostUri()

publicabstractStringgetHostUri()

The URI of a running Gerrit instance.

string host_uri = 1;

Returns
Type Description
String

The hostUri.

getHostUriBytes()

publicabstractByteStringgetHostUriBytes()

The URI of a running Gerrit instance.

string host_uri = 1;

Returns
Type Description
ByteString

The bytes for hostUri.

getRevisionCase()

publicabstractGerritSourceContext.RevisionCasegetRevisionCase()
Returns
Type Description
GerritSourceContext.RevisionCase

getRevisionId()

publicabstractStringgetRevisionId()

A revision (commit) ID.

string revision_id = 3;

Returns
Type Description
String

The revisionId.

getRevisionIdBytes()

publicabstractByteStringgetRevisionIdBytes()

A revision (commit) ID.

string revision_id = 3;

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 = 4;

Returns
Type Description
boolean

Whether the aliasContext 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.