Interface CustomSerDesClient
-
@PubSubClient public interface CustomSerDesClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
send(byte[] data)
void
send(com.google.pubsub.v1.PubsubMessage pubsubMessage)
void
send(Animal animal)
void
sendWithCustomType(byte[] data)
void
sendWithCustomType(Animal animal)
-
-
-
Method Detail
-
send
@Topic("animals") void send(com.google.pubsub.v1.PubsubMessage pubsubMessage)
-
send
@Topic("animals") void send(byte[] data)
-
sendWithCustomType
@Topic(value="animals", contentType="image/gif") void sendWithCustomType(byte[] data)
-
sendWithCustomType
@Topic(value="animals", contentType="application/xml") void sendWithCustomType(Animal animal)
-
-