Class TrainedModelConfig
java.lang.Object
org.elasticsearch.client.ml.inference.TrainedModelConfig
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class TrainedModelConfig
extends Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static String
static org.elasticsearch.common.xcontent.ObjectParser<TrainedModelConfig.Builder,Void>
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionstatic TrainedModelConfig.Builder
builder()
boolean
static TrainedModelConfig
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
org.elasticsearch.common.unit.ByteSizeValue
getInput()
getTags()
org.elasticsearch.Version
int
hashCode()
toString()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
NAME
- See Also:
- Constant Field Values
-
MODEL_ID
public static final org.elasticsearch.common.xcontent.ParseField MODEL_ID -
CREATED_BY
public static final org.elasticsearch.common.xcontent.ParseField CREATED_BY -
VERSION
public static final org.elasticsearch.common.xcontent.ParseField VERSION -
DESCRIPTION
public static final org.elasticsearch.common.xcontent.ParseField DESCRIPTION -
CREATE_TIME
public static final org.elasticsearch.common.xcontent.ParseField CREATE_TIME -
DEFINITION
public static final org.elasticsearch.common.xcontent.ParseField DEFINITION -
COMPRESSED_DEFINITION
public static final org.elasticsearch.common.xcontent.ParseField COMPRESSED_DEFINITION -
TAGS
public static final org.elasticsearch.common.xcontent.ParseField TAGS -
METADATA
public static final org.elasticsearch.common.xcontent.ParseField METADATA -
INPUT
public static final org.elasticsearch.common.xcontent.ParseField INPUT -
ESTIMATED_HEAP_MEMORY_USAGE_BYTES
public static final org.elasticsearch.common.xcontent.ParseField ESTIMATED_HEAP_MEMORY_USAGE_BYTES -
ESTIMATED_OPERATIONS
public static final org.elasticsearch.common.xcontent.ParseField ESTIMATED_OPERATIONS -
LICENSE_LEVEL
public static final org.elasticsearch.common.xcontent.ParseField LICENSE_LEVEL -
DEFAULT_FIELD_MAP
public static final org.elasticsearch.common.xcontent.ParseField DEFAULT_FIELD_MAP -
INFERENCE_CONFIG
public static final org.elasticsearch.common.xcontent.ParseField INFERENCE_CONFIG -
PARSER
public static final org.elasticsearch.common.xcontent.ObjectParser<TrainedModelConfig.Builder,Void> PARSER
-
-
Method Details
-
fromXContent
public static TrainedModelConfig fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Throws:
IOException
-
getModelId
-
getCreatedBy
-
getVersion
public org.elasticsearch.Version getVersion() -
getDescription
-
getCreateTime
-
getTags
-
getMetadata
-
getDefinition
-
getCompressedDefinition
-
getInput
-
getEstimatedHeapMemory
public org.elasticsearch.common.unit.ByteSizeValue getEstimatedHeapMemory() -
getEstimatedHeapMemoryBytes
-
getEstimatedOperations
-
getLicenseLevel
-
getDefaultFieldMap
-
getInferenceConfig
-
builder
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
IOException
-
toString
-
equals
-
hashCode
public int hashCode()
-