Class MLServerProto.ProcessingOptions

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.languagetool.rules.ml.MLServerProto.ProcessingOptions
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, MLServerProto.ProcessingOptionsOrBuilder
Enclosing class:
MLServerProto

public static final class MLServerProto.ProcessingOptions extends com.google.protobuf.GeneratedMessageV3 implements MLServerProto.ProcessingOptionsOrBuilder
Protobuf type lt_ml_server.ProcessingOptions
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • LANGUAGE_FIELD_NUMBER

      public static final int LANGUAGE_FIELD_NUMBER
      See Also:
    • language_

      private volatile Object language_
    • TEMPOFF_FIELD_NUMBER

      public static final int TEMPOFF_FIELD_NUMBER
      See Also:
    • tempOff_

      private boolean tempOff_
    • LEVEL_FIELD_NUMBER

      public static final int LEVEL_FIELD_NUMBER
      See Also:
    • level_

      private int level_
    • PREMIUM_FIELD_NUMBER

      public static final int PREMIUM_FIELD_NUMBER
      See Also:
    • premium_

      private boolean premium_
    • ENABLEDONLY_FIELD_NUMBER

      public static final int ENABLEDONLY_FIELD_NUMBER
      See Also:
    • enabledOnly_

      private boolean enabledOnly_
    • ENABLEDRULES_FIELD_NUMBER

      public static final int ENABLEDRULES_FIELD_NUMBER
      See Also:
    • enabledRules_

      private com.google.protobuf.LazyStringArrayList enabledRules_
    • DISABLEDRULES_FIELD_NUMBER

      public static final int DISABLEDRULES_FIELD_NUMBER
      See Also:
    • disabledRules_

      private com.google.protobuf.LazyStringArrayList disabledRules_
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final MLServerProto.ProcessingOptions DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<MLServerProto.ProcessingOptions> PARSER
  • Constructor Details

    • ProcessingOptions

      private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
    • ProcessingOptions

      private ProcessingOptions()
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getLanguage

      public String getLanguage()
      string language = 1;
      Specified by:
      getLanguage in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      The language.
    • getLanguageBytes

      public com.google.protobuf.ByteString getLanguageBytes()
      string language = 1;
      Specified by:
      getLanguageBytes in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      The bytes for language.
    • getTempOff

      public boolean getTempOff()
      bool tempOff = 2;
      Specified by:
      getTempOff in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      The tempOff.
    • getLevelValue

      public int getLevelValue()
      .lt_ml_server.ProcessingOptions.Level level = 3;
      Specified by:
      getLevelValue in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      The enum numeric value on the wire for level.
    • getLevel

      .lt_ml_server.ProcessingOptions.Level level = 3;
      Specified by:
      getLevel in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      The level.
    • getPremium

      public boolean getPremium()
      bool premium = 4;
      Specified by:
      getPremium in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      The premium.
    • getEnabledOnly

      public boolean getEnabledOnly()
      bool enabledOnly = 5;
      Specified by:
      getEnabledOnly in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      The enabledOnly.
    • getEnabledRulesList

      public com.google.protobuf.ProtocolStringList getEnabledRulesList()
      repeated string enabledRules = 6;
      Specified by:
      getEnabledRulesList in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      A list containing the enabledRules.
    • getEnabledRulesCount

      public int getEnabledRulesCount()
      repeated string enabledRules = 6;
      Specified by:
      getEnabledRulesCount in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      The count of enabledRules.
    • getEnabledRules

      public String getEnabledRules(int index)
      repeated string enabledRules = 6;
      Specified by:
      getEnabledRules in interface MLServerProto.ProcessingOptionsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The enabledRules at the given index.
    • getEnabledRulesBytes

      public com.google.protobuf.ByteString getEnabledRulesBytes(int index)
      repeated string enabledRules = 6;
      Specified by:
      getEnabledRulesBytes in interface MLServerProto.ProcessingOptionsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the enabledRules at the given index.
    • getDisabledRulesList

      public com.google.protobuf.ProtocolStringList getDisabledRulesList()
      repeated string disabledRules = 7;
      Specified by:
      getDisabledRulesList in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      A list containing the disabledRules.
    • getDisabledRulesCount

      public int getDisabledRulesCount()
      repeated string disabledRules = 7;
      Specified by:
      getDisabledRulesCount in interface MLServerProto.ProcessingOptionsOrBuilder
      Returns:
      The count of disabledRules.
    • getDisabledRules

      public String getDisabledRules(int index)
      repeated string disabledRules = 7;
      Specified by:
      getDisabledRules in interface MLServerProto.ProcessingOptionsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The disabledRules at the given index.
    • getDisabledRulesBytes

      public com.google.protobuf.ByteString getDisabledRulesBytes(int index)
      repeated string disabledRules = 7;
      Specified by:
      getDisabledRulesBytes in interface MLServerProto.ProcessingOptionsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the disabledRules at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MLServerProto.ProcessingOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MLServerProto.ProcessingOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MLServerProto.ProcessingOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MLServerProto.ProcessingOptions 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.ProcessingOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MLServerProto.ProcessingOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MLServerProto.ProcessingOptions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MLServerProto.ProcessingOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MLServerProto.ProcessingOptions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MLServerProto.ProcessingOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MLServerProto.ProcessingOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MLServerProto.ProcessingOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public MLServerProto.ProcessingOptions.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MLServerProto.ProcessingOptions.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MLServerProto.ProcessingOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static MLServerProto.ProcessingOptions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MLServerProto.ProcessingOptions> parser()
    • getParserForType

      public com.google.protobuf.Parser<MLServerProto.ProcessingOptions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public MLServerProto.ProcessingOptions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder