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 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=129
         The 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=129
         The 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=129
         The 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;