Module org.elasticsearch.xcore
Class PutTrainedModelVocabularyAction.Request
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.AbstractTransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.LegacyActionRequest
org.elasticsearch.action.support.master.MasterNodeRequest<PutTrainedModelVocabularyAction.Request>
org.elasticsearch.action.support.master.AcknowledgedRequest<PutTrainedModelVocabularyAction.Request>
org.elasticsearch.xpack.core.ml.action.PutTrainedModelVocabularyAction.Request
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted,TaskAwareRequest,TransportRequest
- Enclosing class:
PutTrainedModelVocabularyAction
public static class PutTrainedModelVocabularyAction.Request
extends AcknowledgedRequest<PutTrainedModelVocabularyAction.Request>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
AcknowledgedRequest.PlainNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldFields inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
DEFAULT_ACK_TIMEOUTFields inherited from class org.elasticsearch.action.support.master.MasterNodeRequest
INFINITE_MASTER_NODE_TIMEOUT, TRAPPY_IMPLICIT_DEFAULT_MASTER_NODE_TIMEOUTFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanparseRequest(String modelId, org.elasticsearch.xcontent.XContentParser parser) validate()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
ackTimeout, ackTimeoutMethods inherited from class org.elasticsearch.action.support.master.MasterNodeRequest
masterNodeTimeout, masterNodeTimeout, masterTermMethods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.AbstractTransportRequest
getParentTask, getRequestId, remoteAddress, remoteAddress, setParentTask, setRequestId, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
decRef, hasReferences, incRef, mustIncRef, tryIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, createTask, getDescription, setParentTask
-
Field Details
-
VOCABULARY
public static final org.elasticsearch.xcontent.ParseField VOCABULARY -
MERGES
public static final org.elasticsearch.xcontent.ParseField MERGES -
SCORES
public static final org.elasticsearch.xcontent.ParseField SCORES
-
-
Constructor Details
-
Request
-
Request
- Throws:
IOException
-
-
Method Details
-
parseRequest
public static PutTrainedModelVocabularyAction.Request parseRequest(String modelId, org.elasticsearch.xcontent.XContentParser parser) -
validate
- Overrides:
validatein classAcknowledgedRequest<PutTrainedModelVocabularyAction.Request>
-
equals
-
hashCode
public int hashCode() -
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classAcknowledgedRequest<PutTrainedModelVocabularyAction.Request>- Throws:
IOException
-
getModelId
-
getVocabulary
-
getMerges
-
getScores
-
isOverwritingAllowed
public boolean isOverwritingAllowed()
-