Package org.languagetool.rules.ml
Class MLServerProto.Rule
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.languagetool.rules.ml.MLServerProto.Rule
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,MLServerProto.RuleOrBuilder
- Enclosing class:
MLServerProto
public static final class MLServerProto.Rule
extends com.google.protobuf.GeneratedMessageV3
implements MLServerProto.RuleOrBuilder
Protobuf type
lt_ml_server.Rule- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typelt_ml_server.Rulestatic enumProtobuf enumlt_ml_server.Rule.TagNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate MLServerProto.RuleCategorystatic final intprivate static final MLServerProto.Ruleprivate booleanstatic final intprivate Objectstatic final intprivate byteprivate static final com.google.protobuf.Parser<MLServerProto.Rule> private static final longprivate Objectstatic final intprivate static final com.google.protobuf.Internal.ListAdapter.Converter<Integer, MLServerProto.Rule.Tag> static final intprivate intprivate booleanstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean.lt_ml_server.RuleCategory category = 4;.lt_ml_server.RuleCategory category = 4;static MLServerProto.Rulestatic final com.google.protobuf.Descriptors.Descriptorbooleanbool isPremium = 5;see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevaluescom.google.protobuf.ByteStringsee http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevaluescom.google.protobuf.Parser<MLServerProto.Rule> intid, subId, description, url already in Matchcom.google.protobuf.ByteStringid, subId, description, url already in MatchgetTags(int index) repeated .lt_ml_server.Rule.Tag tags = 6;intrepeated .lt_ml_server.Rule.Tag tags = 6;repeated .lt_ml_server.Rule.Tag tags = 6;intgetTagsValue(int index) repeated .lt_ml_server.Rule.Tag tags = 6;repeated .lt_ml_server.Rule.Tag tags = 6;booleanbool tempOff = 3;boolean.lt_ml_server.RuleCategory category = 4;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic MLServerProto.Rule.Builderstatic MLServerProto.Rule.BuildernewBuilder(MLServerProto.Rule prototype) protected MLServerProto.Rule.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MLServerProto.RuleparseDelimitedFrom(InputStream input) static MLServerProto.RuleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MLServerProto.RuleparseFrom(byte[] data) static MLServerProto.RuleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MLServerProto.RuleparseFrom(com.google.protobuf.ByteString data) static MLServerProto.RuleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MLServerProto.RuleparseFrom(com.google.protobuf.CodedInputStream input) static MLServerProto.RuleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MLServerProto.RuleparseFrom(InputStream input) static MLServerProto.RuleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MLServerProto.RuleparseFrom(ByteBuffer data) static MLServerProto.RuleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MLServerProto.Rule> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
SOURCEFILE_FIELD_NUMBER
public static final int SOURCEFILE_FIELD_NUMBER- See Also:
-
sourceFile_
-
ISSUETYPE_FIELD_NUMBER
public static final int ISSUETYPE_FIELD_NUMBER- See Also:
-
issueType_
-
TEMPOFF_FIELD_NUMBER
public static final int TEMPOFF_FIELD_NUMBER- See Also:
-
tempOff_
private boolean tempOff_ -
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER- See Also:
-
category_
-
ISPREMIUM_FIELD_NUMBER
public static final int ISPREMIUM_FIELD_NUMBER- See Also:
-
isPremium_
private boolean isPremium_ -
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
tags_
-
tags_converter_
private static final com.google.protobuf.Internal.ListAdapter.Converter<Integer,MLServerProto.Rule.Tag> tags_converter_ -
tagsMemoizedSerializedSize
private int tagsMemoizedSerializedSize -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
Rule
private Rule(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) -
Rule
private Rule()
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSourceFile
id, subId, description, url already in Match
string sourceFile = 1;- Specified by:
getSourceFilein interfaceMLServerProto.RuleOrBuilder- Returns:
- The sourceFile.
-
getSourceFileBytes
public com.google.protobuf.ByteString getSourceFileBytes()id, subId, description, url already in Match
string sourceFile = 1;- Specified by:
getSourceFileBytesin interfaceMLServerProto.RuleOrBuilder- Returns:
- The bytes for sourceFile.
-
getIssueType
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2;- Specified by:
getIssueTypein interfaceMLServerProto.RuleOrBuilder- Returns:
- The issueType.
-
getIssueTypeBytes
public com.google.protobuf.ByteString getIssueTypeBytes()see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
string issueType = 2;- Specified by:
getIssueTypeBytesin interfaceMLServerProto.RuleOrBuilder- Returns:
- The bytes for issueType.
-
getTempOff
public boolean getTempOff()bool tempOff = 3;- Specified by:
getTempOffin interfaceMLServerProto.RuleOrBuilder- Returns:
- The tempOff.
-
hasCategory
public boolean hasCategory().lt_ml_server.RuleCategory category = 4;- Specified by:
hasCategoryin interfaceMLServerProto.RuleOrBuilder- Returns:
- Whether the category field is set.
-
getCategory
.lt_ml_server.RuleCategory category = 4;- Specified by:
getCategoryin interfaceMLServerProto.RuleOrBuilder- Returns:
- The category.
-
getCategoryOrBuilder
.lt_ml_server.RuleCategory category = 4;- Specified by:
getCategoryOrBuilderin interfaceMLServerProto.RuleOrBuilder
-
getIsPremium
public boolean getIsPremium()bool isPremium = 5;- Specified by:
getIsPremiumin interfaceMLServerProto.RuleOrBuilder- Returns:
- The isPremium.
-
getTagsList
repeated .lt_ml_server.Rule.Tag tags = 6;- Specified by:
getTagsListin interfaceMLServerProto.RuleOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()repeated .lt_ml_server.Rule.Tag tags = 6;- Specified by:
getTagsCountin interfaceMLServerProto.RuleOrBuilder- Returns:
- The count of tags.
-
getTags
repeated .lt_ml_server.Rule.Tag tags = 6;- Specified by:
getTagsin interfaceMLServerProto.RuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsValueList
repeated .lt_ml_server.Rule.Tag tags = 6;- Specified by:
getTagsValueListin interfaceMLServerProto.RuleOrBuilder- Returns:
- A list containing the enum numeric values on the wire for tags.
-
getTagsValue
public int getTagsValue(int index) repeated .lt_ml_server.Rule.Tag tags = 6;- Specified by:
getTagsValuein interfaceMLServerProto.RuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of tags at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MLServerProto.Rule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLServerProto.Rule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLServerProto.Rule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLServerProto.Rule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLServerProto.Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLServerProto.Rule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MLServerProto.Rule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MLServerProto.Rule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MLServerProto.Rule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MLServerProto.Rule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MLServerProto.Rule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-