Package org.a2aproject.sdk.compat03.grpc
Class SendMessageConfiguration
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.a2aproject.sdk.compat03.grpc.SendMessageConfiguration
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,SendMessageConfigurationOrBuilder
@Generated
public final class SendMessageConfiguration
extends com.google.protobuf.GeneratedMessage
implements SendMessageConfigurationOrBuilder
Configuration of a send message request.Protobuf type
a2a.v1.SendMessageConfiguration- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration of a send message request.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 intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAcceptedOutputModes(int index) The output modes that the agent is expected to respond with.com.google.protobuf.ByteStringgetAcceptedOutputModesBytes(int index) The output modes that the agent is expected to respond with.intThe output modes that the agent is expected to respond with.com.google.protobuf.ProtocolStringListThe output modes that the agent is expected to respond with.booleanIf true, the message will be blocking until the task is completed.static SendMessageConfigurationstatic final com.google.protobuf.Descriptors.DescriptorintThe maximum number of messages to include in the history. if 0, the history will be unlimited.com.google.protobuf.Parser<SendMessageConfiguration>A configuration of a webhook that can be used to receive updatesA configuration of a webhook that can be used to receive updatesintinthashCode()booleanA configuration of a webhook that can be used to receive updatesprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(SendMessageConfiguration prototype) protected SendMessageConfiguration.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SendMessageConfigurationparseDelimitedFrom(InputStream input) static SendMessageConfigurationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SendMessageConfigurationparseFrom(byte[] data) static SendMessageConfigurationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SendMessageConfigurationparseFrom(com.google.protobuf.ByteString data) static SendMessageConfigurationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SendMessageConfigurationparseFrom(com.google.protobuf.CodedInputStream input) static SendMessageConfigurationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SendMessageConfigurationparseFrom(InputStream input) static SendMessageConfigurationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SendMessageConfigurationparseFrom(ByteBuffer data) static SendMessageConfigurationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SendMessageConfiguration>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, makeExtensionsImmutable, 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
-
ACCEPTED_OUTPUT_MODES_FIELD_NUMBER
public static final int ACCEPTED_OUTPUT_MODES_FIELD_NUMBER- See Also:
-
PUSH_NOTIFICATION_FIELD_NUMBER
public static final int PUSH_NOTIFICATION_FIELD_NUMBER- See Also:
-
HISTORY_LENGTH_FIELD_NUMBER
public static final int HISTORY_LENGTH_FIELD_NUMBER- See Also:
-
BLOCKING_FIELD_NUMBER
public static final int BLOCKING_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
-
getAcceptedOutputModesList
public com.google.protobuf.ProtocolStringList getAcceptedOutputModesList()The output modes that the agent is expected to respond with.
repeated string accepted_output_modes = 1;- Specified by:
getAcceptedOutputModesListin interfaceSendMessageConfigurationOrBuilder- Returns:
- A list containing the acceptedOutputModes.
-
getAcceptedOutputModesCount
public int getAcceptedOutputModesCount()The output modes that the agent is expected to respond with.
repeated string accepted_output_modes = 1;- Specified by:
getAcceptedOutputModesCountin interfaceSendMessageConfigurationOrBuilder- Returns:
- The count of acceptedOutputModes.
-
getAcceptedOutputModes
The output modes that the agent is expected to respond with.
repeated string accepted_output_modes = 1;- Specified by:
getAcceptedOutputModesin interfaceSendMessageConfigurationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The acceptedOutputModes at the given index.
-
getAcceptedOutputModesBytes
public com.google.protobuf.ByteString getAcceptedOutputModesBytes(int index) The output modes that the agent is expected to respond with.
repeated string accepted_output_modes = 1;- Specified by:
getAcceptedOutputModesBytesin interfaceSendMessageConfigurationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the acceptedOutputModes at the given index.
-
hasPushNotification
public boolean hasPushNotification()A configuration of a webhook that can be used to receive updates
.a2a.v1.PushNotificationConfig push_notification = 2;- Specified by:
hasPushNotificationin interfaceSendMessageConfigurationOrBuilder- Returns:
- Whether the pushNotification field is set.
-
getPushNotification
A configuration of a webhook that can be used to receive updates
.a2a.v1.PushNotificationConfig push_notification = 2;- Specified by:
getPushNotificationin interfaceSendMessageConfigurationOrBuilder- Returns:
- The pushNotification.
-
getPushNotificationOrBuilder
A configuration of a webhook that can be used to receive updates
.a2a.v1.PushNotificationConfig push_notification = 2;- Specified by:
getPushNotificationOrBuilderin interfaceSendMessageConfigurationOrBuilder
-
getHistoryLength
public int getHistoryLength()The maximum number of messages to include in the history. if 0, the history will be unlimited.
int32 history_length = 3;- Specified by:
getHistoryLengthin interfaceSendMessageConfigurationOrBuilder- Returns:
- The historyLength.
-
getBlocking
public boolean getBlocking()If true, the message will be blocking until the task is completed. If false, the message will be non-blocking and the task will be returned immediately. It is the caller's responsibility to check for any task updates.
bool blocking = 4;- Specified by:
getBlockingin interfaceSendMessageConfigurationOrBuilder- Returns:
- The blocking.
-
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 SendMessageConfiguration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendMessageConfiguration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendMessageConfiguration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendMessageConfiguration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendMessageConfiguration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendMessageConfiguration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SendMessageConfiguration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SendMessageConfiguration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SendMessageConfiguration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SendMessageConfiguration 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 SendMessageConfiguration.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
-