# Interface PluginProtos.VersionOrBuilder (3.19.4)

    public static interface PluginProtos.VersionOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder)

## Methods

### getMajor()

    public abstract int getMajor()

`optional int32 major = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The major. |

### getMinor()

    public abstract int getMinor()

`optional int32 minor = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The minor. |

### getPatch()

    public abstract int getPatch()

`optional int32 patch = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The patch. |

### getSuffix()

    public abstract String getSuffix()

A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should
be empty for mainline stable releases.

`optional string suffix = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The suffix. |

### getSuffixBytes()

    public abstract ByteString getSuffixBytes()

A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should
be empty for mainline stable releases.

`optional string suffix = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString` | The bytes for suffix. |

### hasMajor()

    public abstract boolean hasMajor()

`optional int32 major = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the major field is set. |

### hasMinor()

    public abstract boolean hasMinor()

`optional int32 minor = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the minor field is set. |

### hasPatch()

    public abstract boolean hasPatch()

`optional int32 patch = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the patch field is set. |

### hasSuffix()

    public abstract boolean hasSuffix()

A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should
be empty for mainline stable releases.

`optional string suffix = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the suffix field is set. |