public static final class ProtobufEvent.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
io.cloudevents.CloudEvent<?,? extends com.google.protobuf.Message> |
build() |
ProtobufEvent.Builder |
setData(com.google.protobuf.Message data) |
ProtobufEvent.Builder |
setEncoding(java.lang.String encoding) |
ProtobufEvent.Builder |
setId(java.lang.String id) |
ProtobufEvent.Builder |
setRoute(java.lang.String route) |
ProtobufEvent.Builder |
setSource(java.lang.String source) |
ProtobufEvent.Builder |
setSubject(java.lang.String subject) |
ProtobufEvent.Builder |
setTime(java.time.ZonedDateTime time) |
ProtobufEvent.Builder |
setType(java.lang.String type) |
public ProtobufEvent.Builder setType(java.lang.String type)
public ProtobufEvent.Builder setSource(java.lang.String source)
public ProtobufEvent.Builder setSubject(java.lang.String subject)
public ProtobufEvent.Builder setId(java.lang.String id)
public ProtobufEvent.Builder setTime(java.time.ZonedDateTime time)
public ProtobufEvent.Builder setData(com.google.protobuf.Message data)
public ProtobufEvent.Builder setRoute(java.lang.String route)
public ProtobufEvent.Builder setEncoding(java.lang.String encoding)
public io.cloudevents.CloudEvent<?,? extends com.google.protobuf.Message> build()