mirror of https://github.com/dapr/java-sdk.git
Fix things
Signed-off-by: sirivarma <siri.varma@outlook.com>
This commit is contained in:
parent
683beae81c
commit
4c132615fe
|
|
@ -49,9 +49,11 @@ public class AssistantMessage implements ConversationMessage {
|
|||
* Sets the name of the assistant participant.
|
||||
*
|
||||
* @param name the name to set
|
||||
* @return this instance for method chaining
|
||||
*/
|
||||
public void setName(String name) {
|
||||
public AssistantMessage setName(String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -47,9 +47,11 @@ public class DeveloperMessage implements ConversationMessage {
|
|||
* Sets the name of the developer participant.
|
||||
*
|
||||
* @param name the name to set
|
||||
* @return this instance for method chaining
|
||||
*/
|
||||
public void setName(String name) {
|
||||
public DeveloperMessage setName(String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -48,18 +48,22 @@ public class ToolMessage implements ConversationMessage {
|
|||
* Sets the tool identifier.
|
||||
*
|
||||
* @param toolId the tool identifier to set
|
||||
* @return this instance for method chaining
|
||||
*/
|
||||
public void setToolId(String toolId) {
|
||||
public ToolMessage setToolId(String toolId) {
|
||||
this.toolId = toolId;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the name of the tool participant.
|
||||
*
|
||||
* @param name the name to set
|
||||
* @return this instance for method chaining
|
||||
*/
|
||||
public void setName(String name) {
|
||||
public ToolMessage setName(String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -47,9 +47,11 @@ public class UserMessage implements ConversationMessage {
|
|||
* Sets the name of the user participant.
|
||||
*
|
||||
* @param name the name to set
|
||||
* @return this instance for method chaining
|
||||
*/
|
||||
public void setName(String name) {
|
||||
public UserMessage setName(String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue