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:
  • 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:
      internalGetFieldAccessorTable in class com.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:
      getAcceptedOutputModesList in interface SendMessageConfigurationOrBuilder
      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:
      getAcceptedOutputModesCount in interface SendMessageConfigurationOrBuilder
      Returns:
      The count of acceptedOutputModes.
    • getAcceptedOutputModes

      public String getAcceptedOutputModes(int index)
       The output modes that the agent is expected to respond with.
       
      repeated string accepted_output_modes = 1;
      Specified by:
      getAcceptedOutputModes in interface SendMessageConfigurationOrBuilder
      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:
      getAcceptedOutputModesBytes in interface SendMessageConfigurationOrBuilder
      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:
      hasPushNotification in interface SendMessageConfigurationOrBuilder
      Returns:
      Whether the pushNotification field is set.
    • getPushNotification

      public PushNotificationConfig getPushNotification()
       A configuration of a webhook that can be used to receive updates
       
      .a2a.v1.PushNotificationConfig push_notification = 2;
      Specified by:
      getPushNotification in interface SendMessageConfigurationOrBuilder
      Returns:
      The pushNotification.
    • getPushNotificationOrBuilder

      public PushNotificationConfigOrBuilder getPushNotificationOrBuilder()
       A configuration of a webhook that can be used to receive updates
       
      .a2a.v1.PushNotificationConfig push_notification = 2;
      Specified by:
      getPushNotificationOrBuilder in interface SendMessageConfigurationOrBuilder
    • 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:
      getHistoryLength in interface SendMessageConfigurationOrBuilder
      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:
      getBlocking in interface SendMessageConfigurationOrBuilder
      Returns:
      The blocking.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static SendMessageConfiguration parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SendMessageConfiguration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SendMessageConfiguration parseDelimitedFrom(InputStream input) throws IOException
      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

      public SendMessageConfiguration.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SendMessageConfiguration.Builder newBuilder()
    • newBuilder

      public static SendMessageConfiguration.Builder newBuilder(SendMessageConfiguration prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SendMessageConfiguration.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SendMessageConfiguration getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SendMessageConfiguration> parser()
    • getParserForType

      public com.google.protobuf.Parser<SendMessageConfiguration> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SendMessageConfiguration getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder