Package io.agentscope.aistio.proto
Class ConversationTurnCommand.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConversationTurnCommand.Builder>
io.agentscope.aistio.proto.ConversationTurnCommand.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ConversationTurnCommandOrBuilder,Cloneable
- Enclosing class:
- ConversationTurnCommand
public static final class ConversationTurnCommand.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConversationTurnCommand.Builder>
implements ConversationTurnCommandOrBuilder
ConversationTurnCommand is the explicit online invocation protocol. It is separate from SessionCommand because user turns require public invocation identity, fencing, acknowledgement, streaming, and a final result.Protobuf type
agentscope.protocol.v1.ConversationTurnCommand-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()string agent_id = 5;string binding_id = 6;string conversation_id = 2;string correlation_id = 11;int64 deadline = 10;int64 generation = 8;bytes input = 9;string instance_id = 7;string invocation_id = 1;string session_id = 4;string turn_id = 3;string agent_id = 5;com.google.protobuf.ByteStringstring agent_id = 5;string binding_id = 6;com.google.protobuf.ByteStringstring binding_id = 6;string conversation_id = 2;com.google.protobuf.ByteStringstring conversation_id = 2;string correlation_id = 11;com.google.protobuf.ByteStringstring correlation_id = 11;longint64 deadline = 10;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongint64 generation = 8;com.google.protobuf.ByteStringgetInput()bytes input = 9;string instance_id = 7;com.google.protobuf.ByteStringstring instance_id = 7;string invocation_id = 1;com.google.protobuf.ByteStringstring invocation_id = 1;string session_id = 4;com.google.protobuf.ByteStringstring session_id = 4;string turn_id = 3;com.google.protobuf.ByteStringstring turn_id = 3;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ConversationTurnCommand other) setAgentId(String value) string agent_id = 5;setAgentIdBytes(com.google.protobuf.ByteString value) string agent_id = 5;setBindingId(String value) string binding_id = 6;setBindingIdBytes(com.google.protobuf.ByteString value) string binding_id = 6;setConversationId(String value) string conversation_id = 2;setConversationIdBytes(com.google.protobuf.ByteString value) string conversation_id = 2;setCorrelationId(String value) string correlation_id = 11;setCorrelationIdBytes(com.google.protobuf.ByteString value) string correlation_id = 11;setDeadline(long value) int64 deadline = 10;setGeneration(long value) int64 generation = 8;setInput(com.google.protobuf.ByteString value) bytes input = 9;setInstanceId(String value) string instance_id = 7;setInstanceIdBytes(com.google.protobuf.ByteString value) string instance_id = 7;setInvocationId(String value) string invocation_id = 1;setInvocationIdBytes(com.google.protobuf.ByteString value) string invocation_id = 1;setSessionId(String value) string session_id = 4;setSessionIdBytes(com.google.protobuf.ByteString value) string session_id = 4;string turn_id = 3;setTurnIdBytes(com.google.protobuf.ByteString value) string turn_id = 3;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConversationTurnCommand.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConversationTurnCommand.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConversationTurnCommand.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationTurnCommand.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConversationTurnCommand.Builder>
-
mergeFrom
public ConversationTurnCommand.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationTurnCommand.Builder>- Throws:
IOException
-
getInvocationId
string invocation_id = 1;- Specified by:
getInvocationIdin interfaceConversationTurnCommandOrBuilder- Returns:
- The invocationId.
-
getInvocationIdBytes
public com.google.protobuf.ByteString getInvocationIdBytes()string invocation_id = 1;- Specified by:
getInvocationIdBytesin interfaceConversationTurnCommandOrBuilder- Returns:
- The bytes for invocationId.
-
setInvocationId
string invocation_id = 1;- Parameters:
value- The invocationId to set.- Returns:
- This builder for chaining.
-
clearInvocationId
string invocation_id = 1;- Returns:
- This builder for chaining.
-
setInvocationIdBytes
string invocation_id = 1;- Parameters:
value- The bytes for invocationId to set.- Returns:
- This builder for chaining.
-
getConversationId
string conversation_id = 2;- Specified by:
getConversationIdin interfaceConversationTurnCommandOrBuilder- Returns:
- The conversationId.
-
getConversationIdBytes
public com.google.protobuf.ByteString getConversationIdBytes()string conversation_id = 2;- Specified by:
getConversationIdBytesin interfaceConversationTurnCommandOrBuilder- Returns:
- The bytes for conversationId.
-
setConversationId
string conversation_id = 2;- Parameters:
value- The conversationId to set.- Returns:
- This builder for chaining.
-
clearConversationId
string conversation_id = 2;- Returns:
- This builder for chaining.
-
setConversationIdBytes
string conversation_id = 2;- Parameters:
value- The bytes for conversationId to set.- Returns:
- This builder for chaining.
-
getTurnId
string turn_id = 3;- Specified by:
getTurnIdin interfaceConversationTurnCommandOrBuilder- Returns:
- The turnId.
-
getTurnIdBytes
public com.google.protobuf.ByteString getTurnIdBytes()string turn_id = 3;- Specified by:
getTurnIdBytesin interfaceConversationTurnCommandOrBuilder- Returns:
- The bytes for turnId.
-
setTurnId
string turn_id = 3;- Parameters:
value- The turnId to set.- Returns:
- This builder for chaining.
-
clearTurnId
string turn_id = 3;- Returns:
- This builder for chaining.
-
setTurnIdBytes
string turn_id = 3;- Parameters:
value- The bytes for turnId to set.- Returns:
- This builder for chaining.
-
getSessionId
string session_id = 4;- Specified by:
getSessionIdin interfaceConversationTurnCommandOrBuilder- Returns:
- The sessionId.
-
getSessionIdBytes
public com.google.protobuf.ByteString getSessionIdBytes()string session_id = 4;- Specified by:
getSessionIdBytesin interfaceConversationTurnCommandOrBuilder- Returns:
- The bytes for sessionId.
-
setSessionId
string session_id = 4;- Parameters:
value- The sessionId to set.- Returns:
- This builder for chaining.
-
clearSessionId
string session_id = 4;- Returns:
- This builder for chaining.
-
setSessionIdBytes
string session_id = 4;- Parameters:
value- The bytes for sessionId to set.- Returns:
- This builder for chaining.
-
getAgentId
string agent_id = 5;- Specified by:
getAgentIdin interfaceConversationTurnCommandOrBuilder- Returns:
- The agentId.
-
getAgentIdBytes
public com.google.protobuf.ByteString getAgentIdBytes()string agent_id = 5;- Specified by:
getAgentIdBytesin interfaceConversationTurnCommandOrBuilder- Returns:
- The bytes for agentId.
-
setAgentId
string agent_id = 5;- Parameters:
value- The agentId to set.- Returns:
- This builder for chaining.
-
clearAgentId
string agent_id = 5;- Returns:
- This builder for chaining.
-
setAgentIdBytes
string agent_id = 5;- Parameters:
value- The bytes for agentId to set.- Returns:
- This builder for chaining.
-
getBindingId
string binding_id = 6;- Specified by:
getBindingIdin interfaceConversationTurnCommandOrBuilder- Returns:
- The bindingId.
-
getBindingIdBytes
public com.google.protobuf.ByteString getBindingIdBytes()string binding_id = 6;- Specified by:
getBindingIdBytesin interfaceConversationTurnCommandOrBuilder- Returns:
- The bytes for bindingId.
-
setBindingId
string binding_id = 6;- Parameters:
value- The bindingId to set.- Returns:
- This builder for chaining.
-
clearBindingId
string binding_id = 6;- Returns:
- This builder for chaining.
-
setBindingIdBytes
string binding_id = 6;- Parameters:
value- The bytes for bindingId to set.- Returns:
- This builder for chaining.
-
getInstanceId
string instance_id = 7;- Specified by:
getInstanceIdin interfaceConversationTurnCommandOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()string instance_id = 7;- Specified by:
getInstanceIdBytesin interfaceConversationTurnCommandOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
string instance_id = 7;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
string instance_id = 7;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
string instance_id = 7;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getGeneration
public long getGeneration()int64 generation = 8;- Specified by:
getGenerationin interfaceConversationTurnCommandOrBuilder- Returns:
- The generation.
-
setGeneration
int64 generation = 8;- Parameters:
value- The generation to set.- Returns:
- This builder for chaining.
-
clearGeneration
int64 generation = 8;- Returns:
- This builder for chaining.
-
getInput
public com.google.protobuf.ByteString getInput()bytes input = 9;- Specified by:
getInputin interfaceConversationTurnCommandOrBuilder- Returns:
- The input.
-
setInput
bytes input = 9;- Parameters:
value- The input to set.- Returns:
- This builder for chaining.
-
clearInput
bytes input = 9;- Returns:
- This builder for chaining.
-
getDeadline
public long getDeadline()int64 deadline = 10;- Specified by:
getDeadlinein interfaceConversationTurnCommandOrBuilder- Returns:
- The deadline.
-
setDeadline
int64 deadline = 10;- Parameters:
value- The deadline to set.- Returns:
- This builder for chaining.
-
clearDeadline
int64 deadline = 10;- Returns:
- This builder for chaining.
-
getCorrelationId
string correlation_id = 11;- Specified by:
getCorrelationIdin interfaceConversationTurnCommandOrBuilder- Returns:
- The correlationId.
-
getCorrelationIdBytes
public com.google.protobuf.ByteString getCorrelationIdBytes()string correlation_id = 11;- Specified by:
getCorrelationIdBytesin interfaceConversationTurnCommandOrBuilder- Returns:
- The bytes for correlationId.
-
setCorrelationId
string correlation_id = 11;- Parameters:
value- The correlationId to set.- Returns:
- This builder for chaining.
-
clearCorrelationId
string correlation_id = 11;- Returns:
- This builder for chaining.
-
setCorrelationIdBytes
string correlation_id = 11;- Parameters:
value- The bytes for correlationId to set.- Returns:
- This builder for chaining.
-