public static interface PluginProtos.VersionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMajor()
public abstract int getMajor()
optional int32 major = 1;
Returns | |
---|---|
Type | Description |
int | The major. |
getMinor()
public abstract int getMinor()
optional int32 minor = 2;
Returns | |
---|---|
Type | Description |
int | The minor. |
getPatch()
public abstract int getPatch()
optional int32 patch = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for suffix. |
hasMajor()
public abstract boolean hasMajor()
optional int32 major = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the major field is set. |
hasMinor()
public abstract boolean hasMinor()
optional int32 minor = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the minor field is set. |
hasPatch()
public abstract boolean hasPatch()
optional int32 patch = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the suffix field is set. |