Package org.languagetool.tools.Cache
Interface ProtoResultCache.CachedRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProtoResultCache.CachedRule,ProtoResultCache.CachedRule.Builder
- Enclosing class:
ProtoResultCache
public static interface ProtoResultCache.CachedRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.lt_ml_server.RuleCategory category = 8;.lt_ml_server.RuleCategory category = 8;string description = 3;com.google.protobuf.ByteStringstring description = 3;intuint32 estimateContextForSureMatch = 4;getId()string id = 1;com.google.protobuf.ByteStringstring id = 1;booleanbool isPremium = 9;string issueType = 6;com.google.protobuf.ByteStringstring issueType = 6;string sourceFile = 5;com.google.protobuf.ByteStringstring sourceFile = 5;getSubId()string subId = 2;com.google.protobuf.ByteStringstring subId = 2;getTags(int index) repeated .lt_ml_server.CachedRule.Tag tags = 10;intrepeated .lt_ml_server.CachedRule.Tag tags = 10;repeated .lt_ml_server.CachedRule.Tag tags = 10;intgetTagsValue(int index) repeated .lt_ml_server.CachedRule.Tag tags = 10;repeated .lt_ml_server.CachedRule.Tag tags = 10;booleanbool tempOff = 7;boolean.lt_ml_server.RuleCategory category = 8;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()string id = 1;- Returns:
- The bytes for id.
-
getSubId
String getSubId()string subId = 2;- Returns:
- The subId.
-
getSubIdBytes
com.google.protobuf.ByteString getSubIdBytes()string subId = 2;- Returns:
- The bytes for subId.
-
getDescription
String getDescription()string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()string description = 3;- Returns:
- The bytes for description.
-
getEstimateContextForSureMatch
int getEstimateContextForSureMatch()uint32 estimateContextForSureMatch = 4;- Returns:
- The estimateContextForSureMatch.
-
getSourceFile
String getSourceFile()string sourceFile = 5;- Returns:
- The sourceFile.
-
getSourceFileBytes
com.google.protobuf.ByteString getSourceFileBytes()string sourceFile = 5;- Returns:
- The bytes for sourceFile.
-
getIssueType
String getIssueType()string issueType = 6;- Returns:
- The issueType.
-
getIssueTypeBytes
com.google.protobuf.ByteString getIssueTypeBytes()string issueType = 6;- Returns:
- The bytes for issueType.
-
getTempOff
boolean getTempOff()bool tempOff = 7;- Returns:
- The tempOff.
-
hasCategory
boolean hasCategory().lt_ml_server.RuleCategory category = 8;- Returns:
- Whether the category field is set.
-
getCategory
MLServerProto.RuleCategory getCategory().lt_ml_server.RuleCategory category = 8;- Returns:
- The category.
-
getCategoryOrBuilder
MLServerProto.RuleCategoryOrBuilder getCategoryOrBuilder().lt_ml_server.RuleCategory category = 8; -
getIsPremium
boolean getIsPremium()bool isPremium = 9;- Returns:
- The isPremium.
-
getTagsList
List<ProtoResultCache.CachedRule.Tag> getTagsList()repeated .lt_ml_server.CachedRule.Tag tags = 10;- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()repeated .lt_ml_server.CachedRule.Tag tags = 10;- Returns:
- The count of tags.
-
getTags
repeated .lt_ml_server.CachedRule.Tag tags = 10;- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsValueList
repeated .lt_ml_server.CachedRule.Tag tags = 10;- Returns:
- A list containing the enum numeric values on the wire for tags.
-
getTagsValue
int getTagsValue(int index) repeated .lt_ml_server.CachedRule.Tag tags = 10;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of tags at the given index.
-