Package org.elasticsearch.client.ml
Class EstimateMemoryUsageResponse
- java.lang.Object
-
- org.elasticsearch.client.ml.EstimateMemoryUsageResponse
-
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class EstimateMemoryUsageResponse extends java.lang.Object implements ToXContentObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ParseField
EXPECTED_MEMORY_WITH_DISK
static ParseField
EXPECTED_MEMORY_WITHOUT_DISK
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description EstimateMemoryUsageResponse(ByteSizeValue expectedMemoryWithoutDisk, ByteSizeValue expectedMemoryWithDisk)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
static EstimateMemoryUsageResponse
fromXContent(XContentParser parser)
ByteSizeValue
getExpectedMemoryWithDisk()
ByteSizeValue
getExpectedMemoryWithoutDisk()
int
hashCode()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
EXPECTED_MEMORY_WITHOUT_DISK
public static final ParseField EXPECTED_MEMORY_WITHOUT_DISK
-
EXPECTED_MEMORY_WITH_DISK
public static final ParseField EXPECTED_MEMORY_WITH_DISK
-
-
Constructor Detail
-
EstimateMemoryUsageResponse
public EstimateMemoryUsageResponse(@Nullable ByteSizeValue expectedMemoryWithoutDisk, @Nullable ByteSizeValue expectedMemoryWithDisk)
-
-
Method Detail
-
fromXContent
public static EstimateMemoryUsageResponse fromXContent(XContentParser parser)
-
getExpectedMemoryWithoutDisk
public ByteSizeValue getExpectedMemoryWithoutDisk()
-
getExpectedMemoryWithDisk
public ByteSizeValue getExpectedMemoryWithDisk()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-