Package com.google.protobuf.compiler
Interface PluginProtos.VersionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PluginProtos.Version
,PluginProtos.Version.Builder
- Enclosing class:
- PluginProtos
public static interface PluginProtos.VersionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
getMajor()
optional int32 major = 1;
int
getMinor()
optional int32 minor = 2;
int
getPatch()
optional int32 patch = 3;
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".com.google.protobuf.ByteString
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".boolean
hasMajor()
optional int32 major = 1;
boolean
hasMinor()
optional int32 minor = 2;
boolean
hasPatch()
optional int32 patch = 3;
boolean
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMajor
boolean hasMajor()optional int32 major = 1;
- Returns:
- Whether the major field is set.
-
getMajor
int getMajor()optional int32 major = 1;
- Returns:
- The major.
-
hasMinor
boolean hasMinor()optional int32 minor = 2;
- Returns:
- Whether the minor field is set.
-
getMinor
int getMinor()optional int32 minor = 2;
- Returns:
- The minor.
-
hasPatch
boolean hasPatch()optional int32 patch = 3;
- Returns:
- Whether the patch field is set.
-
getPatch
int getPatch()optional int32 patch = 3;
- 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;
- 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;
- 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;
- Returns:
- The bytes for suffix.
-