Package org.a2aproject.sdk.grpc
Class TaskPushNotificationConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.a2aproject.sdk.grpc.TaskPushNotificationConfig
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,TaskPushNotificationConfigOrBuilder
@Generated
public final class TaskPushNotificationConfig
extends com.google.protobuf.GeneratedMessage
implements TaskPushNotificationConfigOrBuilder
A container associating a push notification configuration with a specific task.Protobuf type
lf.a2a.v1.TaskPushNotificationConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA container associating a push notification configuration with a specific task.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 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 TypeMethodDescriptionbooleanAuthentication information required to send the notification.Authentication information required to send the notification.static TaskPushNotificationConfigstatic final com.google.protobuf.Descriptors.DescriptorgetId()The push notification configuration details.com.google.protobuf.ByteStringThe push notification configuration details.com.google.protobuf.Parser<TaskPushNotificationConfig>intThe ID of the task this configuration is associated with.com.google.protobuf.ByteStringThe ID of the task this configuration is associated with.Optional.com.google.protobuf.ByteStringOptional.getToken()A token unique for this task or session.com.google.protobuf.ByteStringA token unique for this task or session.getUrl()The URL where the notification should be sent.com.google.protobuf.ByteStringThe URL where the notification should be sent.booleanAuthentication information required to send the notification.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(TaskPushNotificationConfig prototype) protected TaskPushNotificationConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TaskPushNotificationConfigparseDelimitedFrom(InputStream input) static TaskPushNotificationConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TaskPushNotificationConfigparseFrom(byte[] data) static TaskPushNotificationConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TaskPushNotificationConfigparseFrom(com.google.protobuf.ByteString data) static TaskPushNotificationConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TaskPushNotificationConfigparseFrom(com.google.protobuf.CodedInputStream input) static TaskPushNotificationConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TaskPushNotificationConfigparseFrom(InputStream input) static TaskPushNotificationConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TaskPushNotificationConfigparseFrom(ByteBuffer data) static TaskPushNotificationConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TaskPushNotificationConfig>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
-
TENANT_FIELD_NUMBER
public static final int TENANT_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
TASK_ID_FIELD_NUMBER
public static final int TASK_ID_FIELD_NUMBER- See Also:
-
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER- See Also:
-
TOKEN_FIELD_NUMBER
public static final int TOKEN_FIELD_NUMBER- See Also:
-
AUTHENTICATION_FIELD_NUMBER
public static final int AUTHENTICATION_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
-
getTenant
Optional. Tenant ID.
string tenant = 1;- Specified by:
getTenantin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The tenant.
-
getTenantBytes
public com.google.protobuf.ByteString getTenantBytes()Optional. Tenant ID.
string tenant = 1;- Specified by:
getTenantBytesin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The bytes for tenant.
-
getId
The push notification configuration details. A unique identifier (e.g. UUID) for this push notification configuration.
string id = 2;- Specified by:
getIdin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The push notification configuration details. A unique identifier (e.g. UUID) for this push notification configuration.
string id = 2;- Specified by:
getIdBytesin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The bytes for id.
-
getTaskId
The ID of the task this configuration is associated with.
string task_id = 3;- Specified by:
getTaskIdin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The taskId.
-
getTaskIdBytes
public com.google.protobuf.ByteString getTaskIdBytes()The ID of the task this configuration is associated with.
string task_id = 3;- Specified by:
getTaskIdBytesin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The bytes for taskId.
-
getUrl
The URL where the notification should be sent.
string url = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getUrlin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()The URL where the notification should be sent.
string url = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getUrlBytesin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The bytes for url.
-
getToken
A token unique for this task or session.
string token = 5;- Specified by:
getTokenin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The token.
-
getTokenBytes
public com.google.protobuf.ByteString getTokenBytes()A token unique for this task or session.
string token = 5;- Specified by:
getTokenBytesin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The bytes for token.
-
hasAuthentication
public boolean hasAuthentication()Authentication information required to send the notification.
.lf.a2a.v1.AuthenticationInfo authentication = 6;- Specified by:
hasAuthenticationin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- Whether the authentication field is set.
-
getAuthentication
Authentication information required to send the notification.
.lf.a2a.v1.AuthenticationInfo authentication = 6;- Specified by:
getAuthenticationin interfaceTaskPushNotificationConfigOrBuilder- Returns:
- The authentication.
-
getAuthenticationOrBuilder
Authentication information required to send the notification.
.lf.a2a.v1.AuthenticationInfo authentication = 6;- Specified by:
getAuthenticationOrBuilderin interfaceTaskPushNotificationConfigOrBuilder
-
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 TaskPushNotificationConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskPushNotificationConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskPushNotificationConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskPushNotificationConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskPushNotificationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskPushNotificationConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TaskPushNotificationConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TaskPushNotificationConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TaskPushNotificationConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TaskPushNotificationConfig 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 TaskPushNotificationConfig.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
-