Package org.a2aproject.sdk.compat03.grpc
Class PushNotificationConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PushNotificationConfig.Builder>
org.a2aproject.sdk.compat03.grpc.PushNotificationConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,PushNotificationConfigOrBuilder
- Enclosing class:
- PushNotificationConfig
public static final class PushNotificationConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PushNotificationConfig.Builder>
implements PushNotificationConfigOrBuilder
Configuration for setting up push notifications for task updates.Protobuf type
a2a.v1.PushNotificationConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Information about the authentication to sent with the notificationclearId()A unique id for this push notification.Token unique for this task/sessionclearUrl()Url to send the notification tooInformation about the authentication to sent with the notificationInformation about the authentication to sent with the notificationInformation about the authentication to sent with the notificationstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()A unique id for this push notification.com.google.protobuf.ByteStringA unique id for this push notification.getToken()Token unique for this task/sessioncom.google.protobuf.ByteStringToken unique for this task/sessiongetUrl()Url to send the notification toocom.google.protobuf.ByteStringUrl to send the notification toobooleanInformation about the authentication to sent with the notificationprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanInformation about the authentication to sent with the notificationmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(PushNotificationConfig other) Information about the authentication to sent with the notificationsetAuthentication(AuthenticationInfo.Builder builderForValue) Information about the authentication to sent with the notificationA unique id for this push notification.setIdBytes(com.google.protobuf.ByteString value) A unique id for this push notification.Token unique for this task/sessionsetTokenBytes(com.google.protobuf.ByteString value) Token unique for this task/sessionUrl to send the notification toosetUrlBytes(com.google.protobuf.ByteString value) Url to send the notification tooMethods 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<PushNotificationConfig.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<PushNotificationConfig.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<PushNotificationConfig.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<PushNotificationConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PushNotificationConfig.Builder>
-
mergeFrom
public PushNotificationConfig.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<PushNotificationConfig.Builder>- Throws:
IOException
-
getId
A unique id for this push notification.
string id = 1;- Specified by:
getIdin interfacePushNotificationConfigOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()A unique id for this push notification.
string id = 1;- Specified by:
getIdBytesin interfacePushNotificationConfigOrBuilder- Returns:
- The bytes for id.
-
setId
A unique id for this push notification.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
A unique id for this push notification.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
A unique id for this push notification.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getUrl
Url to send the notification too
string url = 2;- Specified by:
getUrlin interfacePushNotificationConfigOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()Url to send the notification too
string url = 2;- Specified by:
getUrlBytesin interfacePushNotificationConfigOrBuilder- Returns:
- The bytes for url.
-
setUrl
Url to send the notification too
string url = 2;- Parameters:
value- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
Url to send the notification too
string url = 2;- Returns:
- This builder for chaining.
-
setUrlBytes
Url to send the notification too
string url = 2;- Parameters:
value- The bytes for url to set.- Returns:
- This builder for chaining.
-
getToken
Token unique for this task/session
string token = 3;- Specified by:
getTokenin interfacePushNotificationConfigOrBuilder- Returns:
- The token.
-
getTokenBytes
public com.google.protobuf.ByteString getTokenBytes()Token unique for this task/session
string token = 3;- Specified by:
getTokenBytesin interfacePushNotificationConfigOrBuilder- Returns:
- The bytes for token.
-
setToken
Token unique for this task/session
string token = 3;- Parameters:
value- The token to set.- Returns:
- This builder for chaining.
-
clearToken
Token unique for this task/session
string token = 3;- Returns:
- This builder for chaining.
-
setTokenBytes
Token unique for this task/session
string token = 3;- Parameters:
value- The bytes for token to set.- Returns:
- This builder for chaining.
-
hasAuthentication
public boolean hasAuthentication()Information about the authentication to sent with the notification
.a2a.v1.AuthenticationInfo authentication = 4;- Specified by:
hasAuthenticationin interfacePushNotificationConfigOrBuilder- Returns:
- Whether the authentication field is set.
-
getAuthentication
Information about the authentication to sent with the notification
.a2a.v1.AuthenticationInfo authentication = 4;- Specified by:
getAuthenticationin interfacePushNotificationConfigOrBuilder- Returns:
- The authentication.
-
setAuthentication
Information about the authentication to sent with the notification
.a2a.v1.AuthenticationInfo authentication = 4; -
setAuthentication
Information about the authentication to sent with the notification
.a2a.v1.AuthenticationInfo authentication = 4; -
mergeAuthentication
Information about the authentication to sent with the notification
.a2a.v1.AuthenticationInfo authentication = 4; -
clearAuthentication
Information about the authentication to sent with the notification
.a2a.v1.AuthenticationInfo authentication = 4; -
getAuthenticationBuilder
Information about the authentication to sent with the notification
.a2a.v1.AuthenticationInfo authentication = 4; -
getAuthenticationOrBuilder
Information about the authentication to sent with the notification
.a2a.v1.AuthenticationInfo authentication = 4;- Specified by:
getAuthenticationOrBuilderin interfacePushNotificationConfigOrBuilder
-