Class NotificationInfo (0.209.0-beta)
0.209.0-beta (latest)
0.206.0-beta
0.205.0-beta
0.203.0-beta
0.201.0-beta
0.200.0-beta
0.198.0-beta
0.196.0-beta
0.194.0-beta
0.193.0-beta
0.192.0-beta
0.191.0-beta
0.190.0-beta
0.188.0-beta
0.186.0-beta
0.185.0-beta
0.182.0-beta
0.181.0-beta
0.180.0-beta
0.178.0-beta
0.177.0-beta
0.176.0-beta
0.175.0-beta
0.174.0-beta
0.173.0-beta
0.172.0-beta
0.171.0-beta
0.170.0-beta
0.169.0-beta
0.167.0-beta
0.166.0-beta
0.165.0-beta
0.164.0-beta
0.163.0-beta
0.162.0-beta
0.161.0-beta
0.160.0-beta
0.159.0-beta
0.158.0-beta
0.157.0-beta
0.155.0-beta
0.154.0-beta
0.153.0-beta
0.152.0-beta
0.151.0-beta
0.150.0-beta
0.149.0-beta
0.148.0-beta
0.147.0-beta
0.146.0-beta
0.145.0-beta
0.142.0-beta
0.141.0-beta
0.140.0-beta
0.139.0-beta
0.138.0-beta
0.137.0-beta
0.136.0-beta
0.135.0-beta
0.134.0-beta
0.133.0-beta
0.132.0-beta
0.131.0-beta
0.130.0-beta
0.129.0-beta
0.127.0-beta
0.126.0-beta
0.125.0-beta
0.124.0-beta
0.123.21-beta
0.122.29-beta
public class NotificationInfo implements Serializable
Inheritance
Object >
NotificationInfo
Static Methods
newBuilder(ProjectTopicName topic)
public static NotificationInfo . Builder newBuilder ( ProjectTopicName topic )
Returns a NotificationInfo builder where the topic's name is set to the provided name.
Parameter
Name
Description
topic
com.google.pubsub.v1.ProjectTopicName
of(ProjectTopicName topic)
public static NotificationInfo of ( ProjectTopicName topic )
Creates a NotificationInfo object for the provided topic name.
Parameter
Name
Description
topic
com.google.pubsub.v1.ProjectTopicName
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getCustomAttributes()
public Map<String , String > getCustomAttributes ()
Returns the list of additional attributes to attach to each Cloud PubSub message published for
this notification subscription.
See Also: About Access Control Lists
getEtag()
Returns HTTP 1.1 Entity tag for the notification.
See Also: Entity Tags
Returns
Type
Description
String
getEventTypes()
public List<String> getEventTypes ()
getGeneratedId()
public String getGeneratedId ()
Returns the service-generated id for the notification.
Returns
Type
Description
String
getObjectNamePrefix()
public String getObjectNamePrefix ()
Returns the object name prefix for which this notification configuration applies.
Returns
Type
Description
String
public NotificationInfo . PayloadFormat getPayloadFormat ()
Returns the desired content of the Payload.
getSelfLink()
public String getSelfLink ()
Returns the canonical URI of this topic as a string.
Returns
Type
Description
String
getTopic()
public ProjectTopicName getTopic ()
Returns the Cloud PubSub topic to which this subscription publishes.
Returns
Type
Description
com.google.pubsub.v1.ProjectTopicName
hashCode()
Returns
Type
Description
int
Overrides
toBuilder()
public NotificationInfo . Builder toBuilder ()
Returns a builder for the current notification.
toString()
Returns
Type
Description
String
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-25 UTC."],[],[]]