Class: Grafeas::V1::Version
- Inherits:
-
Object
- Object
- Grafeas::V1::Version
- 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
-
#epoch ⇒ ::Integer
Used to correct mistakes in the version numbering scheme.
-
#full_name ⇒ ::String
Human readable version string.
-
#kind ⇒ ::Grafeas::V1::Version::VersionKind
Required.
-
#name ⇒ ::String
Required only when version kind is NORMAL.
-
#revision ⇒ ::String
The iteration of the package build from the above version.
Instance Attribute Details
#epoch ⇒ ::Integer
Returns 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
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.
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.
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.
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 |