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
|
Returns
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
|
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
getEtag()
Returns HTTP 1.1 Entity tag for the notification.
See Also: Entity Tags
Returns
getEventTypes()
public List<String> getEventTypes()
Returns
getGeneratedId()
public String getGeneratedId()
Returns the service-generated id for the notification.
Returns
getObjectNamePrefix()
public String getObjectNamePrefix()
Returns the object name prefix for which this notification configuration applies.
Returns
public NotificationInfo.PayloadFormat getPayloadFormat()
Returns the desired content of the Payload.
Returns
getSelfLink()
public String getSelfLink()
Returns the canonical URI of this topic as a string.
Returns
getTopic()
public ProjectTopicName getTopic()
Returns the Cloud PubSub topic to which this subscription publishes.
Returns
Type | Description |
com.google.pubsub.v1.ProjectTopicName | |
hashCode()
Returns
Overrides
toBuilder()
public NotificationInfo.Builder toBuilder()
Returns a builder for the current notification.
Returns
toString()
Returns
Overrides