Class GetMessageResponse
java.lang.Object
org.opensearch.client.opensearch.ml.GetMessageResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetMessageResponse.Builder,GetMessageResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetMessageResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetMessageResponse.Builder,GetMessageResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetMessageResponse> Json deserializer forGetMessageResponse -
Method Summary
Modifier and TypeMethodDescriptionAPI name:additional_infostatic GetMessageResponse.Builderbuilder()final StringThe create time.booleaninthashCode()final Stringinput()The question in the message.final StringmemoryId()API name:memory_idfinal StringAPI name:message_idstatic GetMessageResponsefinal Stringorigin()The system name that generated the response.final StringThe parent message ID.final StringThe prompt template.final Stringresponse()The answer to the question.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final LongThe trace number.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGetMessageResponse
-
-
Method Details
-
of
public static GetMessageResponse of(Function<GetMessageResponse.Builder, ObjectBuilder<GetMessageResponse>> fn) -
additionalInfo
API name:additional_info -
createTime
The create time.API name:
create_time -
input
The question in the message.API name:
input -
memoryId
API name:memory_id -
messageId
API name:message_id -
origin
The system name that generated the response.API name:
origin -
parentMessageId
The parent message ID.API name:
parent_message_id -
promptTemplate
The prompt template.API name:
prompt_template -
response
The answer to the question.API name:
response -
traceNumber
The trace number.API name:
trace_number -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetMessageResponse.Builder,GetMessageResponse> - Returns:
- a new builder instance.
-
builder
-
setupGetMessageResponseDeserializer
protected static void setupGetMessageResponseDeserializer(ObjectDeserializer<GetMessageResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-