Interface GerritSourceContextOrBuilder (1.20.0)

public interface GerritSourceContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAliasContext()

public abstract AliasContext getAliasContext()

An alias, which may be a branch or tag.

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

Returns
TypeDescription
AliasContext

The aliasContext.

getAliasContextOrBuilder()

public abstract AliasContextOrBuilder getAliasContextOrBuilder()

An alias, which may be a branch or tag.

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

Returns
TypeDescription
AliasContextOrBuilder

getAliasName() (deprecated)

public abstract String getAliasName()

Deprecated. google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129

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

string alias_name = 4 [deprecated = true];

Returns
TypeDescription
String

The aliasName.

getAliasNameBytes() (deprecated)

public abstract ByteString getAliasNameBytes()

Deprecated. google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129

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

string alias_name = 4 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for aliasName.

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 hostURI/project.

string gerrit_project = 2;

Returns
TypeDescription
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 hostURI/project.

string gerrit_project = 2;

Returns
TypeDescription
ByteString

The bytes for gerritProject.

getHostUri()

public abstract String getHostUri()

The URI of a running Gerrit instance.

string host_uri = 1;

Returns
TypeDescription
String

The hostUri.

getHostUriBytes()

public abstract ByteString getHostUriBytes()

The URI of a running Gerrit instance.

string host_uri = 1;

Returns
TypeDescription
ByteString

The bytes for hostUri.

getRevisionCase()

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

getRevisionId()

public abstract String getRevisionId()

A revision (commit) ID.

string revision_id = 3;

Returns
TypeDescription
String

The revisionId.

getRevisionIdBytes()

public abstract ByteString getRevisionIdBytes()

A revision (commit) ID.

string revision_id = 3;

Returns
TypeDescription
ByteString

The bytes for revisionId.

hasAliasContext()

public abstract boolean hasAliasContext()

An alias, which may be a branch or tag.

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

Returns
TypeDescription
boolean

Whether the aliasContext field is set.

hasAliasName() (deprecated)

public abstract boolean hasAliasName()

Deprecated. google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129

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

string alias_name = 4 [deprecated = true];

Returns
TypeDescription
boolean

Whether the aliasName field is set.

hasRevisionId()

public abstract boolean hasRevisionId()

A revision (commit) ID.

string revision_id = 3;

Returns
TypeDescription
boolean

Whether the revisionId field is set.