org.infinispan.protostream.descriptors.FieldDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protostream Show documentation
Show all versions of protostream Show documentation
Users need to implement a marshaller object that interacts with a field writer/reader in order to serialize
state.
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