@InterfaceAudience.Private public class ProtobufMessageConverter extends Object
toJsonElement(MessageOrBuilder)
toJsonElement(MessageOrBuilder)
toJavaObject(JsonElement)
Modifier and Type | Method and Description |
---|---|
static Object |
toJavaObject(org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder messageOrBuilder) |
static org.apache.hbase.thirdparty.com.google.gson.JsonElement |
toJsonElement(org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder messageOrBuilder) |
static org.apache.hbase.thirdparty.com.google.gson.JsonElement |
toJsonElement(org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder messageOrBuilder,
boolean removeType) |
static String |
toJsonString(org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder messageOrBuilder) |
public static String toJsonString(org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder messageOrBuilder) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
public static org.apache.hbase.thirdparty.com.google.gson.JsonElement toJsonElement(org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder messageOrBuilder) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
public static org.apache.hbase.thirdparty.com.google.gson.JsonElement toJsonElement(org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder messageOrBuilder, boolean removeType) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
public static Object toJavaObject(org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder messageOrBuilder) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
Copyright © 2007–2019 Cloudera. All rights reserved.