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