Class: Google::Devtools::Source::V1::AliasContext

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

An alias to a repo revision.

Defined Under Namespace

Modules: Kind

Instance Attribute Summary collapse

Instance Attribute Details

#kind::Google::Devtools::Source::V1::AliasContext::Kind

Returns The alias kind.



72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/devtools/source/v1/source_context.rb', line 72

class AliasContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of an Alias.
  module Kind
    # Do not use.
    ANY = 0

    # Git tag
    FIXED = 1

    # Git branch
    MOVABLE = 2

    # OTHER is used to specify non-standard aliases, those not of the kinds
    # above. For example, if a Git repo has a ref named "refs/foo/bar", it
    # is considered to be of kind OTHER.
    OTHER = 4
  end
end

#name::String

Returns The alias name.

Returns:

  • (::String)

    The alias name.



72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/devtools/source/v1/source_context.rb', line 72

class AliasContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of an Alias.
  module Kind
    # Do not use.
    ANY = 0

    # Git tag
    FIXED = 1

    # Git branch
    MOVABLE = 2

    # OTHER is used to specify non-standard aliases, those not of the kinds
    # above. For example, if a Git repo has a ref named "refs/foo/bar", it
    # is considered to be of kind OTHER.
    OTHER = 4
  end
end