Package io.grafeas.v1beta1.source
Interface GerritSourceContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GerritSourceContext,GerritSourceContext.Builder
@Generated
public interface GerritSourceContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAn alias, which may be a branch or tag.An alias, which may be a branch or tag.The full project name within the host.com.google.protobuf.ByteStringThe full project name within the host.The URI of a running Gerrit instance.com.google.protobuf.ByteStringThe URI of a running Gerrit instance.A revision (commit) ID.com.google.protobuf.ByteStringA revision (commit) ID.booleanAn alias, which may be a branch or tag.booleanA revision (commit) ID.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-
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.
-
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()
-