Package io.agentscope.aistio.proto
Class ConversationTurnCommand
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.agentscope.aistio.proto.ConversationTurnCommand
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ConversationTurnCommandOrBuilder,Serializable
public final class ConversationTurnCommand
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConversationTurnCommand is the explicit online invocation protocol.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstring 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 ConversationTurnCommandstatic final com.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;com.google.protobuf.Parser<ConversationTurnCommand>intstring session_id = 4;com.google.protobuf.ByteStringstring session_id = 4;string turn_id = 3;com.google.protobuf.ByteStringstring turn_id = 3;inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ConversationTurnCommand prototype) protected ConversationTurnCommand.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ConversationTurnCommandparseDelimitedFrom(InputStream input) static ConversationTurnCommandparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversationTurnCommandparseFrom(byte[] data) static ConversationTurnCommandparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversationTurnCommandparseFrom(com.google.protobuf.ByteString data) static ConversationTurnCommandparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversationTurnCommandparseFrom(com.google.protobuf.CodedInputStream input) static ConversationTurnCommandparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversationTurnCommandparseFrom(InputStream input) static ConversationTurnCommandparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversationTurnCommandparseFrom(ByteBuffer data) static ConversationTurnCommandparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ConversationTurnCommand>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INVOCATION_ID_FIELD_NUMBER
public static final int INVOCATION_ID_FIELD_NUMBER- See Also:
-
CONVERSATION_ID_FIELD_NUMBER
public static final int CONVERSATION_ID_FIELD_NUMBER- See Also:
-
TURN_ID_FIELD_NUMBER
public static final int TURN_ID_FIELD_NUMBER- See Also:
-
SESSION_ID_FIELD_NUMBER
public static final int SESSION_ID_FIELD_NUMBER- See Also:
-
AGENT_ID_FIELD_NUMBER
public static final int AGENT_ID_FIELD_NUMBER- See Also:
-
BINDING_ID_FIELD_NUMBER
public static final int BINDING_ID_FIELD_NUMBER- See Also:
-
INSTANCE_ID_FIELD_NUMBER
public static final int INSTANCE_ID_FIELD_NUMBER- See Also:
-
GENERATION_FIELD_NUMBER
public static final int GENERATION_FIELD_NUMBER- See Also:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
DEADLINE_FIELD_NUMBER
public static final int DEADLINE_FIELD_NUMBER- See Also:
-
CORRELATION_ID_FIELD_NUMBER
public static final int CORRELATION_ID_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getGeneration
public long getGeneration()int64 generation = 8;- Specified by:
getGenerationin interfaceConversationTurnCommandOrBuilder- Returns:
- The generation.
-
getInput
public com.google.protobuf.ByteString getInput()bytes input = 9;- Specified by:
getInputin interfaceConversationTurnCommandOrBuilder- Returns:
- The input.
-
getDeadline
public long getDeadline()int64 deadline = 10;- Specified by:
getDeadlinein interfaceConversationTurnCommandOrBuilder- Returns:
- The deadline.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ConversationTurnCommand parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationTurnCommand parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationTurnCommand parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationTurnCommand parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationTurnCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationTurnCommand parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ConversationTurnCommand parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ConversationTurnCommand parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ConversationTurnCommand parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ConversationTurnCommand parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConversationTurnCommand.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-