org.infinispan.protostream.descriptors.FieldDescriptor Maven / Gradle / Ivy
package org.infinispan.protostream.descriptors;
import org.infinispan.protostream.config.AnnotationConfig;
import org.infinispan.protostream.impl.AnnotatedDescriptorImpl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static java.util.Collections.unmodifiableList;
/**
* Represents a field in a proto file.
*
* @author gustavonalle
* @author [email protected]
* @since 2.0
*/
public final class FieldDescriptor extends AnnotatedDescriptorImpl implements AnnotatedDescriptor {
private static final String PACKED = "packed";
private final int number;
private final Rule rule;
private final List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy