Package com.google.protobuf.compiler
Interface PluginProtos.VersionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
PluginProtos.Version,PluginProtos.Version.Builder
- Enclosing class:
- PluginProtos
public static interface PluginProtos.VersionOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetMajor()optional int32 major = 1 [json_name = "major"];intgetMinor()optional int32 minor = 2 [json_name = "minor"];intgetPatch()optional int32 patch = 3 [json_name = "patch"];A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".com.google.protobuf.ByteStringA suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".booleanhasMajor()optional int32 major = 1 [json_name = "major"];booleanhasMinor()optional int32 minor = 2 [json_name = "minor"];booleanhasPatch()optional int32 patch = 3 [json_name = "patch"];booleanA suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasMajor
boolean hasMajor()optional int32 major = 1 [json_name = "major"];- Returns:
- Whether the major field is set.
-
getMajor
int getMajor()optional int32 major = 1 [json_name = "major"];- Returns:
- The major.
-
hasMinor
boolean hasMinor()optional int32 minor = 2 [json_name = "minor"];- Returns:
- Whether the minor field is set.
-
getMinor
int getMinor()optional int32 minor = 2 [json_name = "minor"];- Returns:
- The minor.
-
hasPatch
boolean hasPatch()optional int32 patch = 3 [json_name = "patch"];- Returns:
- Whether the patch field is set.
-
getPatch
int getPatch()optional int32 patch = 3 [json_name = "patch"];- Returns:
- The patch.
-
hasSuffix
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 [json_name = "suffix"];- Returns:
- Whether the suffix field is set.
-
getSuffix
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 [json_name = "suffix"];- Returns:
- The suffix.
-
getSuffixBytes
com.google.protobuf.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 [json_name = "suffix"];- Returns:
- The bytes for suffix.
-