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 ParseFieldEXPECTED_MEMORY_WITH_DISKstatic ParseFieldEXPECTED_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 booleanequals(java.lang.Object other)static EstimateMemoryUsageResponsefromXContent(XContentParser parser)ByteSizeValuegetExpectedMemoryWithDisk()ByteSizeValuegetExpectedMemoryWithoutDisk()inthashCode()XContentBuildertoXContent(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:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-