Package org.languagetool.rules.ml
Interface MLServerProto.MatchRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MLServerProto.MatchRequest,MLServerProto.MatchRequest.Builder
- Enclosing class:
MLServerProto
public static interface MLServerProto.MatchRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanallow logging of input on errorgetSentences(int index) input text to be analyzedcom.google.protobuf.ByteStringgetSentencesBytes(int index) input text to be analyzedintinput text to be analyzedinput text to be analyzedlonggetTextSessionID(int index) session ID, for partial rollout & A/B testsintsession ID, for partial rollout & A/B testssession ID, for partial rollout & A/B testsMethods 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
-
getSentencesList
input text to be analyzed
repeated string sentences = 1;- Returns:
- A list containing the sentences.
-
getSentencesCount
int getSentencesCount()input text to be analyzed
repeated string sentences = 1;- Returns:
- The count of sentences.
-
getSentences
input text to be analyzed
repeated string sentences = 1;- Parameters:
index- The index of the element to return.- Returns:
- The sentences at the given index.
-
getSentencesBytes
com.google.protobuf.ByteString getSentencesBytes(int index) input text to be analyzed
repeated string sentences = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sentences at the given index.
-
getInputLogging
boolean getInputLogging()allow logging of input on error
bool inputLogging = 2;- Returns:
- The inputLogging.
-
getTextSessionIDList
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3;- Returns:
- A list containing the textSessionID.
-
getTextSessionIDCount
int getTextSessionIDCount()session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3;- Returns:
- The count of textSessionID.
-
getTextSessionID
long getTextSessionID(int index) session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3;- Parameters:
index- The index of the element to return.- Returns:
- The textSessionID at the given index.
-