Package org.infinispan.protostream.descriptors

Examples of org.infinispan.protostream.descriptors.Rule


   public FieldDescriptor map(MessageType.Field am) {
      String defaultValue = am.getDefault();

      MessageType.Label label = am.getLabel();
      List<Option> options = am.getOptions();
      Rule rule = Rule.valueOf(label.name());

      return new FieldDescriptor.Builder()
              .withName(am.getName())
              .withNumber(am.getTag())
              .withTypeName(am.getType())
View Full Code Here


   public FieldDescriptor map(MessageType.Field am) {
      String defaultValue = am.getDefault();

      MessageType.Label label = am.getLabel();
      List<Option> options = am.getOptions();
      Rule rule = Rule.valueOf(label.name());

      return new FieldDescriptor.Builder()
              .withName(am.getName())
              .withNumber(am.getTag())
              .withTypeName(am.getType())
View Full Code Here

TOP

Related Classes of org.infinispan.protostream.descriptors.Rule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.