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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(Class<?> clazz)
     
    org.apache.dubbo.metadata.definition.model.TypeDefinition
    build(Type type, Class<?> clazz, Map<String,org.apache.dubbo.metadata.definition.model.TypeDefinition> typeCache)
     
    int
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.dubbo.common.lang.Prioritized

    compareTo
  • Constructor Details

    • ProtobufTypeBuilder

      public ProtobufTypeBuilder()
  • Method Details

    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface org.apache.dubbo.common.lang.Prioritized
    • accept

      public boolean accept(Class<?> clazz)
      Specified by:
      accept in interface org.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:
      build in interface org.apache.dubbo.metadata.definition.builder.TypeBuilder