Interface PluginProtos.VersionOrBuilder

public static interface PluginProtos.VersionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMajor()

public abstract int getMajor()

optional int32 major = 1;

Returns
TypeDescription
int

The major.

getMinor()

public abstract int getMinor()

optional int32 minor = 2;

Returns
TypeDescription
int

The minor.

getPatch()

public abstract int getPatch()

optional int32 patch = 3;

Returns
TypeDescription
int

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
TypeDescription
String

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
TypeDescription
ByteString

The bytes for suffix.

hasMajor()

public abstract boolean hasMajor()

optional int32 major = 1;

Returns
TypeDescription
boolean

Whether the major field is set.

hasMinor()

public abstract boolean hasMinor()

optional int32 minor = 2;

Returns
TypeDescription
boolean

Whether the minor field is set.

hasPatch()

public abstract boolean hasPatch()

optional int32 patch = 3;

Returns
TypeDescription
boolean

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
TypeDescription
boolean

Whether the suffix field is set.