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
getEventTypes()
public List<String> getEventTypes()
getGeneratedId()
public String getGeneratedId()
Returns the service-generated id for the notification.
getObjectNamePrefix()
public String getObjectNamePrefix()
Returns the object name prefix for which this notification configuration applies.
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.
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()
Overrides