Interface GerritSourceContextOrBuilder (2.48.0)

public interface GerritSourceContextOrBuilder 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 = 4;

Returns
Type Description
AliasContext

The aliasContext.

getAliasContextOrBuilder()

public abstract AliasContextOrBuilder getAliasContextOrBuilder()

An alias, which may be a branch or tag.

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

Returns
Type Description
AliasContextOrBuilder

getGerritProject()

public abstract String getGerritProject()

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

public abstract ByteString getGerritProjectBytes()

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

public abstract String getHostUri()

The URI of a running Gerrit instance.

string host_uri = 1;

Returns
Type Description
String

The hostUri.

getHostUriBytes()

public abstract ByteString getHostUriBytes()

The URI of a running Gerrit instance.

string host_uri = 1;

Returns
Type Description
ByteString

The bytes for hostUri.

getRevisionCase()

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

getRevisionId()

public abstract String getRevisionId()

A revision (commit) ID.

string revision_id = 3;

Returns
Type Description
String

The revisionId.

getRevisionIdBytes()

public abstract ByteString getRevisionIdBytes()

A revision (commit) ID.

string revision_id = 3;

Returns
Type Description
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 = 4;

Returns
Type Description
boolean

Whether the aliasContext field is set.