Package io.grafeas.v1beta1.source
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 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.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.-
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 the 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 the hostURI/project.
string gerrit_project = 2;- Returns:
- The bytes for gerritProject.
-
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.
-
hasAliasContext
boolean hasAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;- Returns:
- Whether the aliasContext field is set.
-
getAliasContext
AliasContext getAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;- Returns:
- The aliasContext.
-
getAliasContextOrBuilder
AliasContextOrBuilder getAliasContextOrBuilder()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;
-
getRevisionCase
GerritSourceContext.RevisionCase getRevisionCase()
-
-