All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.grafeas.v1.VersionOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.55.0
Show newest version
/*
 * Copyright 2019 The Grafeas Authors. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: grafeas/v1/package.proto

// Protobuf Java Version: 3.25.2
package io.grafeas.v1;

public interface VersionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:grafeas.v1.Version)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Used to correct mistakes in the version numbering scheme.
   * 
* * int32 epoch = 1; * * @return The epoch. */ int getEpoch(); /** * * *
   * Required only when version kind is NORMAL. The main part of the version
   * name.
   * 
* * string name = 2; * * @return The name. */ java.lang.String getName(); /** * * *
   * Required only when version kind is NORMAL. The main part of the version
   * name.
   * 
* * string name = 2; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * The iteration of the package build from the above version.
   * 
* * string revision = 3; * * @return The revision. */ java.lang.String getRevision(); /** * * *
   * The iteration of the package build from the above version.
   * 
* * string revision = 3; * * @return The bytes for revision. */ com.google.protobuf.ByteString getRevisionBytes(); /** * * *
   * Whether this version is specifying part of an inclusive range. Grafeas
   * does not have the capability to specify version ranges; instead we have
   * fields that specify start version and end versions. At times this is
   * insufficient - we also need to specify whether the version is included in
   * the range or is excluded from the range. This boolean is expected to be set
   * to true when the version is included in a range.
   * 
* * bool inclusive = 6; * * @return The inclusive. */ boolean getInclusive(); /** * * *
   * Required. Distinguishes between sentinel MIN/MAX versions and normal
   * versions.
   * 
* * .grafeas.v1.Version.VersionKind kind = 4; * * @return The enum numeric value on the wire for kind. */ int getKindValue(); /** * * *
   * Required. Distinguishes between sentinel MIN/MAX versions and normal
   * versions.
   * 
* * .grafeas.v1.Version.VersionKind kind = 4; * * @return The kind. */ io.grafeas.v1.Version.VersionKind getKind(); /** * * *
   * Human readable version string. This string is of the form
   * <epoch>:<name>-<revision> and is only set when kind is NORMAL.
   * 
* * string full_name = 5; * * @return The fullName. */ java.lang.String getFullName(); /** * * *
   * Human readable version string. This string is of the form
   * <epoch>:<name>-<revision> and is only set when kind is NORMAL.
   * 
* * string full_name = 5; * * @return The bytes for fullName. */ com.google.protobuf.ByteString getFullNameBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy