Package com.google.protobuf.compiler
Interface PluginProtos.VersionOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
PluginProtos.Version
,PluginProtos.Version.Builder
- Enclosing class:
- PluginProtos
public static interface PluginProtos.VersionOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMajor()
optional int32 major = 1;
int
getMinor()
optional int32 minor = 2;
int
getPatch()
optional int32 patch = 3;
String
getSuffix()
A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".ByteString
getSuffixBytes()
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
hasSuffix()
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 Detail
-
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
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.
-
-