Class: Grafeas::V1::Version

Inherits:
Object
  • Object
show all
Extended by:
Google::Protobuf::MessageExts::ClassMethods
Includes:
Google::Protobuf::MessageExts
Defined in:
proto_docs/grafeas/v1/package.rb

Overview

Version contains structured information about the version of a package.

Defined Under Namespace

Modules: VersionKind

Instance Attribute Summary collapse

Instance Attribute Details

#epoch::Integer

Returns Used to correct mistakes in the version numbering scheme.

Returns:

  • (::Integer)

    Used to correct mistakes in the version numbering scheme.



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# File 'proto_docs/grafeas/v1/package.rb', line 112

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

  # Whether this is an ordinary package version or a sentinel MIN/MAX version.
  module VersionKind
    # Unknown.
    VERSION_KIND_UNSPECIFIED = 0

    # A standard package version.
    NORMAL = 1

    # A special version representing negative infinity.
    MINIMUM = 2

    # A special version representing positive infinity.
    MAXIMUM = 3
  end
end

#full_name::String

Returns Human readable version string. This string is of the form :- and is only set when kind is NORMAL.

Returns:

  • (::String)

    Human readable version string. This string is of the form :- and is only set when kind is NORMAL.



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# File 'proto_docs/grafeas/v1/package.rb', line 112

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

  # Whether this is an ordinary package version or a sentinel MIN/MAX version.
  module VersionKind
    # Unknown.
    VERSION_KIND_UNSPECIFIED = 0

    # A standard package version.
    NORMAL = 1

    # A special version representing negative infinity.
    MINIMUM = 2

    # A special version representing positive infinity.
    MAXIMUM = 3
  end
end

#kind::Grafeas::V1::Version::VersionKind

Returns Required. Distinguishes between sentinel MIN/MAX versions and normal versions.

Returns:



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# File 'proto_docs/grafeas/v1/package.rb', line 112

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

  # Whether this is an ordinary package version or a sentinel MIN/MAX version.
  module VersionKind
    # Unknown.
    VERSION_KIND_UNSPECIFIED = 0

    # A standard package version.
    NORMAL = 1

    # A special version representing negative infinity.
    MINIMUM = 2

    # A special version representing positive infinity.
    MAXIMUM = 3
  end
end

#name::String

Returns Required only when version kind is NORMAL. The main part of the version name.

Returns:

  • (::String)

    Required only when version kind is NORMAL. The main part of the version name.



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# File 'proto_docs/grafeas/v1/package.rb', line 112

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

  # Whether this is an ordinary package version or a sentinel MIN/MAX version.
  module VersionKind
    # Unknown.
    VERSION_KIND_UNSPECIFIED = 0

    # A standard package version.
    NORMAL = 1

    # A special version representing negative infinity.
    MINIMUM = 2

    # A special version representing positive infinity.
    MAXIMUM = 3
  end
end

#revision::String

Returns The iteration of the package build from the above version.

Returns:

  • (::String)

    The iteration of the package build from the above version.



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# File 'proto_docs/grafeas/v1/package.rb', line 112

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

  # Whether this is an ordinary package version or a sentinel MIN/MAX version.
  module VersionKind
    # Unknown.
    VERSION_KIND_UNSPECIFIED = 0

    # A standard package version.
    NORMAL = 1

    # A special version representing negative infinity.
    MINIMUM = 2

    # A special version representing positive infinity.
    MAXIMUM = 3
  end
end