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 intgetMajor()optional int32 major = 1 [json_name = "major"];intgetMinor()optional int32 minor = 2 [json_name = "minor"];intgetPatch()optional int32 patch = 3 [json_name = "patch"];java.lang.StringgetSuffix()optional string suffix = 4 [json_name = "suffix"];ByteStringgetSuffixBytes()optional string suffix = 4 [json_name = "suffix"];booleanhasMajor()optional int32 major = 1 [json_name = "major"];booleanhasMinor()optional int32 minor = 2 [json_name = "minor"];booleanhasPatch()optional int32 patch = 3 [json_name = "patch"];booleanhasSuffix()optional string suffix = 4 [json_name = "suffix"];-
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 [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()
optional string suffix = 4 [json_name = "suffix"];- Returns:
- Whether the suffix field is set.
-
getSuffix
java.lang.String getSuffix()
optional string suffix = 4 [json_name = "suffix"];- Returns:
- The suffix.
-
getSuffixBytes
ByteString getSuffixBytes()
optional string suffix = 4 [json_name = "suffix"];- Returns:
- The bytes for suffix.
-
-