Class ProtobufTypeBuilder
java.lang.Object
org.apache.dubbo.metadata.definition.protobuf.ProtobufTypeBuilder
- All Implemented Interfaces:
Comparable<org.apache.dubbo.common.lang.Prioritized>,org.apache.dubbo.common.lang.Prioritized,org.apache.dubbo.metadata.definition.builder.TypeBuilder
@Activate(onClass="com.google.protobuf.GeneratedMessageV3")
public class ProtobufTypeBuilder
extends Object
implements org.apache.dubbo.metadata.definition.builder.TypeBuilder, org.apache.dubbo.common.lang.Prioritized
-
Field Summary
Fields inherited from interface org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.common.lang.Prioritized
compareTo
-
Constructor Details
-
ProtobufTypeBuilder
public ProtobufTypeBuilder()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceorg.apache.dubbo.common.lang.Prioritized
-
accept
- Specified by:
acceptin interfaceorg.apache.dubbo.metadata.definition.builder.TypeBuilder
-
build
public org.apache.dubbo.metadata.definition.model.TypeDefinition build(Type type, Class<?> clazz, Map<String, org.apache.dubbo.metadata.definition.model.TypeDefinition> typeCache) - Specified by:
buildin interfaceorg.apache.dubbo.metadata.definition.builder.TypeBuilder
-