Class: Google::Devtools::Source::V1::GerritSourceContext

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/source/v1/source_context.rb

Overview

A SourceContext referring to a Gerrit project.

Instance Attribute Summary collapse

Instance Attribute Details

#alias_context::Google::Devtools::Source::V1::AliasContext

Returns An alias, which may be a branch or tag.

Returns:



144
145
146
147
# File 'proto_docs/google/devtools/source/v1/source_context.rb', line 144

class GerritSourceContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#alias_name::String

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

Returns:

  • (::String)

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



144
145
146
147
# File 'proto_docs/google/devtools/source/v1/source_context.rb', line 144

class GerritSourceContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gerrit_project::String

Returns 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.

Returns:

  • (::String)

    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.



144
145
146
147
# File 'proto_docs/google/devtools/source/v1/source_context.rb', line 144

class GerritSourceContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#host_uri::String

Returns The URI of a running Gerrit instance.

Returns:

  • (::String)

    The URI of a running Gerrit instance.



144
145
146
147
# File 'proto_docs/google/devtools/source/v1/source_context.rb', line 144

class GerritSourceContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#revision_id::String

Returns A revision (commit) ID.

Returns:

  • (::String)

    A revision (commit) ID.



144
145
146
147
# File 'proto_docs/google/devtools/source/v1/source_context.rb', line 144

class GerritSourceContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end