All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.protostream.descriptors.FieldDescriptor Maven / Gradle / Ivy

Go to download

Users need to implement a marshaller object that interacts with a field writer/reader in order to serialize state.

There is a newer version: 14.0.0.CR2
Show newest version
package org.infinispan.protostream.descriptors;

import static org.infinispan.protostream.descriptors.FileDescriptor.fullName;

import java.util.ArrayList;
import java.util.List;

import org.infinispan.protostream.DescriptorParserException;
import org.infinispan.protostream.config.AnnotationConfiguration;
import org.infinispan.protostream.impl.AnnotatedDescriptorImpl;

/**
 * Represents a field in a proto file.
 *
 * @author gustavonalle
 * @author [email protected]
 * @since 2.0
 */
public class FieldDescriptor extends AnnotatedDescriptorImpl implements AnnotatedDescriptor {
   protected final int number;
   protected final Label label;
   protected final String typeName;
   protected final String defaultValue;
   protected final List




© 2015 - 2024 Weber Informatics LLC | Privacy Policy