Package com.google.devtools.source.v1
Interface GerritSourceContextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GerritSourceContext,GerritSourceContext.Builder
public interface GerritSourceContextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AliasContextgetAliasContext()An alias, which may be a branch or tag.AliasContextOrBuildergetAliasContextOrBuilder()An alias, which may be a branch or tag.StringgetAliasName()Deprecated.google.devtools.source.v1.GerritSourceContext.alias_name is deprecated.com.google.protobuf.ByteStringgetAliasNameBytes()Deprecated.google.devtools.source.v1.GerritSourceContext.alias_name is deprecated.StringgetGerritProject()The full project name within the host.com.google.protobuf.ByteStringgetGerritProjectBytes()The full project name within the host.StringgetHostUri()The URI of a running Gerrit instance.com.google.protobuf.ByteStringgetHostUriBytes()The URI of a running Gerrit instance.GerritSourceContext.RevisionCasegetRevisionCase()StringgetRevisionId()A revision (commit) ID.com.google.protobuf.ByteStringgetRevisionIdBytes()A revision (commit) ID.booleanhasAliasContext()An alias, which may be a branch or tag.booleanhasAliasName()Deprecated.google.devtools.source.v1.GerritSourceContext.alias_name is deprecated.booleanhasRevisionId()A revision (commit) ID.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getHostUri
String getHostUri()
The URI of a running Gerrit instance.
string host_uri = 1;- Returns:
- The hostUri.
-
getHostUriBytes
com.google.protobuf.ByteString getHostUriBytes()
The URI of a running Gerrit instance.
string host_uri = 1;- Returns:
- The bytes for hostUri.
-
getGerritProject
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:
- The gerritProject.
-
getGerritProjectBytes
com.google.protobuf.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:
- The bytes for gerritProject.
-
hasRevisionId
boolean hasRevisionId()
A revision (commit) ID.
string revision_id = 3;- Returns:
- Whether the revisionId field is set.
-
getRevisionId
String getRevisionId()
A revision (commit) ID.
string revision_id = 3;- Returns:
- The revisionId.
-
getRevisionIdBytes
com.google.protobuf.ByteString getRevisionIdBytes()
A revision (commit) ID.
string revision_id = 3;- Returns:
- The bytes for revisionId.
-
hasAliasName
@Deprecated boolean hasAliasName()
Deprecated.google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129The name of an alias (branch, tag, etc.).
string alias_name = 4 [deprecated = true];- Returns:
- Whether the aliasName field is set.
-
getAliasName
@Deprecated String getAliasName()
Deprecated.google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129The name of an alias (branch, tag, etc.).
string alias_name = 4 [deprecated = true];- Returns:
- The aliasName.
-
getAliasNameBytes
@Deprecated com.google.protobuf.ByteString getAliasNameBytes()
Deprecated.google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129The name of an alias (branch, tag, etc.).
string alias_name = 4 [deprecated = true];- Returns:
- The bytes for aliasName.
-
hasAliasContext
boolean hasAliasContext()
An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;- Returns:
- Whether the aliasContext field is set.
-
getAliasContext
AliasContext getAliasContext()
An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;- Returns:
- The aliasContext.
-
getAliasContextOrBuilder
AliasContextOrBuilder getAliasContextOrBuilder()
An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;
-
getRevisionCase
GerritSourceContext.RevisionCase getRevisionCase()
-
-