@Metadata(firstVersion="2.2.0", label="dataformat,transformation", title="Protobuf") public class ProtobufDataFormat extends DataFormatDefinition
Constructor and Description |
---|
ProtobufDataFormat() |
ProtobufDataFormat(String instanceClass) |
ProtobufDataFormat(String instanceClass,
String contentTypeFormat) |
Modifier and Type | Method and Description |
---|---|
String |
getContentTypeFormat() |
Object |
getDefaultInstance() |
String |
getInstanceClass() |
void |
setContentTypeFormat(String contentTypeFormat)
Defines a content type format in which protobuf message will be
serialized/deserialized from(to) the Java been.
|
void |
setDefaultInstance(Object defaultInstance) |
void |
setInstanceClass(String instanceClass)
Name of class to use when unarmshalling
|
getContentTypeHeader, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributes
getId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getReadPropertyPlaceholderOptions, getWritePropertyPlaceholderOptions
public ProtobufDataFormat()
public ProtobufDataFormat(String instanceClass)
public ProtobufDataFormat(String instanceClass, String contentTypeFormat)
public String getInstanceClass()
public void setInstanceClass(String instanceClass)
public void setContentTypeFormat(String contentTypeFormat)
public String getContentTypeFormat()
public Object getDefaultInstance()
public void setDefaultInstance(Object defaultInstance)
Apache Camel