Tabnine Logo
Protobuf.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.baidu.bjf.remoting.protobuf.annotation.Protobuf
constructor

Best Java code snippets using com.baidu.bjf.remoting.protobuf.annotation.Protobuf.<init> (Showing top 20 results out of 315)

origin: jhunters/jprotobuf

/**
 * JProtobuf POJO supports for {@link MethodOptions}
 * @author xiemalin
 * @since 2.0.1
 */
public class MethodOptionsPOJO {
  
  @Protobuf(order = MethodOptions.UNINTERPRETED_OPTION_FIELD_NUMBER, fieldType = FieldType.OBJECT)
  public List<UninterpretedOptionPOJO> uninterpretedOptions;
}

origin: jhunters/jprotobuf

/**
 * JProtobuf POJO supports for {@link EnumValueOptions}
 * @author xiemalin
 * @since 2.0.1
 */
public class EnumValueOptionsPOJO {
  
  @Protobuf(order = EnumValueOptions.UNINTERPRETED_OPTION_FIELD_NUMBER)
  public List<UninterpretedOptionPOJO> uninterpretedOptions;
}

origin: jhunters/jprotobuf

/**
 * JProtobuf supports for {@link SourceCodeInfo}
 * @author xiemalin
 * @since 2.0.1
 */
public class SourceCodeInfoPOJO {

  @Protobuf(order = SourceCodeInfo.LOCATION_FIELD_NUMBER)
  public List<LocationPOJO> locations;

  @Override
  public String toString() {
    return "SourceCodeInfoPOJO [locations=" + locations + "]";
  }
  
  
  
}

origin: jhunters/jprotobuf

/**
 * JProtobuf POJO supports for {@link Location}
 * @author xiemalin
 * @since 2.0.1
 */
public class LocationPOJO {

  @Protobuf(order =  FileDescriptorSet.FILE_FIELD_NUMBER)
  public List<FileDescriptorProtoPOJO> files;

  @Override
  public String toString() {
    return "LocationPOJO [files=" + files + "]";
  }
  
  
}

origin: jhunters/jprotobuf

/**
 * JProtobuf POJO supports for {@link ServiceOptions}
 * @author xiemalin
 * @since 2.0.1
 */
public class ServiceOptionsPOJO {

  @Protobuf(order = ServiceOptions.UNINTERPRETED_OPTION_FIELD_NUMBER, fieldType = FieldType.OBJECT)
  public List<UninterpretedOptionPOJO> uninterpretedOption;

  @Override
  public String toString() {
    return "ServiceOptionsPOJO [uninterpretedOption=" + uninterpretedOption + "]";
  }
  
  
}

origin: jhunters/jprotobuf

/**
 * JProtobuf POJO supports for {@link NamePart}
 * @author xiemalin
 * @since 2.0.1
 */
public class NamePartPOJO {

  @Protobuf(order = FileDescriptorSet.FILE_FIELD_NUMBER)
  public List<FileDescriptorProtoPOJO> files;

  @Override
  public String toString() {
    return "NamePartPOJO [files=" + files + "]";
  }
  
  
}

origin: jhunters/jprotobuf

/**
 * JProtobuf POJO for {@link EnumOptions}
 * @author xiemalin
 * @since 2.0.1
 */
public class EnumOptionsPOJO {

  @Protobuf(order = EnumOptions.ALLOW_ALIAS_FIELD_NUMBER)
  public Boolean allowAlias;
  
  @Protobuf(order = EnumOptions.UNINTERPRETED_OPTION_FIELD_NUMBER, fieldType = FieldType.OBJECT)
  public List<UninterpretedOptionPOJO> uninterpretedOptions;

  @Override
  public String toString() {
    return "EnumOptionsPOJO [allowAlias=" + allowAlias + ", uninterpretedOptions=" + uninterpretedOptions + "]";
  }
  
  
}

origin: jhunters/jprotobuf

/**
 * JProtobuf POJO supports for {@link ExtensionRange}
 * @author xiemalin
 * @since 2.0.1
 */
public class ExtensionRangePOJO {
  
  @Protobuf(order = ExtensionRange.START_FIELD_NUMBER)
  public Integer start;
  
  @Protobuf(order = ExtensionRange.END_FIELD_NUMBER)
  public Integer end;

  @Override
  public String toString() {
    return "ExtensionRangePOJO [start=" + start + ", end=" + end + "]";
  }
  
  

}

origin: jhunters/jprotobuf

/**
 * JProtobuf supports for  {@link ServiceDescriptorProto}
 * 
 * @author xiemalin
 * @since 2.0.1
 */
public class ServiceDescriptorProtoPOJO {

  @Protobuf(order = ServiceDescriptorProto.NAME_FIELD_NUMBER)
  public String name;
  
  @Protobuf(order = ServiceDescriptorProto.METHOD_FIELD_NUMBER, fieldType = FieldType.OBJECT)
  public List<MethodDescriptorProtoPOJO> methods;
  
  @Protobuf(order = ServiceDescriptorProto.OPTIONS_FIELD_NUMBER, fieldType = FieldType.OBJECT)
  public List<ServiceOptionsPOJO> options;
}

origin: jhunters/jprotobuf

/**
 * JProtobuf POJO supports for {@link MethodDescriptorProto}
 * @author xiemalin
 * @since 2.0.1
 */
public class MethodDescriptorProtoPOJO {

  @Protobuf(order = MethodDescriptorProto.NAME_FIELD_NUMBER)
  public String name;
  
  @Protobuf(order = MethodDescriptorProto.INPUT_TYPE_FIELD_NUMBER)
  public String inputType;
  
  @Protobuf(order = MethodDescriptorProto.OUTPUT_TYPE_FIELD_NUMBER)
  public String outputType;
  
  @Protobuf(order = MethodDescriptorProto.OPTIONS_FIELD_NUMBER, fieldType = FieldType.OBJECT)
  public MethodOptionsPOJO options;
  
}

origin: jhunters/jprotobuf

/**
 * JProtobuf POJO supports for {@link EnumValueDescriptorProto}
 * @author xiemalin
 * @since 2.0.1
 */
public class EnumValueDescriptorProtoPOJO {

  @Protobuf(order = EnumValueDescriptorProto.NAME_FIELD_NUMBER)
  public String name;
  
  @Protobuf(order = EnumValueDescriptorProto.NUMBER_FIELD_NUMBER)
  public Integer number;
  
  @Protobuf(order = EnumValueDescriptorProto.OPTIONS_FIELD_NUMBER, fieldType = FieldType.OBJECT)
  public List<EnumValueOptionsPOJO> options;

  @Override
  public String toString() {
    return "EnumValueDescriptorProtoPOJO [name=" + name + ", number=" + number + ", options=" + options + "]";
  }
  
}

origin: jhunters/jprotobuf

/**
 * JProtobuf POJO supports for {@link EnumDescriptorProto}
 * @author xiemalin
 * @since 2.0.1
 */
public class EnumDescriptorProtoPOJO {

  @Protobuf(order = EnumDescriptorProto.NAME_FIELD_NUMBER)
  public String name;
  
  
  @Protobuf(order = EnumDescriptorProto.VALUE_FIELD_NUMBER, fieldType = FieldType.OBJECT)
  public List<EnumValueDescriptorProtoPOJO> values;
  
  @Protobuf(order = EnumDescriptorProto.OPTIONS_FIELD_NUMBER, fieldType = FieldType.OBJECT)
  public List<EnumOptionsPOJO> options;

  @Override
  public String toString() {
    return "EnumDescriptorProtoPOJO [name=" + name + ", values=" + values + ", options=" + options + "]";
  }
  
  
}

origin: jhunters/jprotobuf

/**
 * JProtobuf supports for {@link MessageOptions}
 * @author xiemalin
 * @since 2.0.1
 */
public class MessageOptionsPOJO {

  @Protobuf(order = MessageOptions.MESSAGE_SET_WIRE_FORMAT_FIELD_NUMBER)
  public Boolean messageSetWireFormat;
  
  @Protobuf(order = MessageOptions.NO_STANDARD_DESCRIPTOR_ACCESSOR_FIELD_NUMBER)
  public Boolean noStandardDescriptorAccessor;
  
  @Protobuf(order = MessageOptions.UNINTERPRETED_OPTION_FIELD_NUMBER, fieldType = FieldType.OBJECT)
  public List<UninterpretedOptionPOJO> uninterpretedOptions;

  @Override
  public String toString() {
    return "MessageOptionsPOJO [messageSetWireFormat=" + messageSetWireFormat + ", noStandardDescriptorAccessor="
        + noStandardDescriptorAccessor + ", uninterpretedOptions=" + uninterpretedOptions + "]";
  }
  
  
}

origin: jhunters/jprotobuf

@Protobuf(order = FieldOptions.CTYPE_FIELD_NUMBER, fieldType = FieldType.ENUM)
public CType ctype;
@Protobuf(order = FieldOptions.PACKED_FIELD_NUMBER)
public Boolean packed;
@Protobuf(order = FieldOptions.DEPRECATED_FIELD_NUMBER)
public Boolean deprecated;
@Protobuf(order = FieldOptions.LAZY_FIELD_NUMBER)
public Boolean lazy;
@Protobuf(order = FieldOptions.WEAK_FIELD_NUMBER)
public Boolean weak;
@Protobuf(order = FieldOptions.UNINTERPRETED_OPTION_FIELD_NUMBER, fieldType = FieldType.OBJECT)
public List<UninterpretedOptionPOJO> uninterpretedOption;
origin: kingston-csj/jforgame

@MessageMeta(module=Modules.LOGIN, cmd=LoginDataPool.REQ_SELECT_PLAYER)
public class ReqSelectPlayerMessage extends Message {
  
  @Protobuf(order = 1)
  private long playerId;

  public long getPlayerId() {
    return playerId;
  }

  public void setPlayerId(long playerId) {
    this.playerId = playerId;
  }

  @Override
  public String toString() {
    return "ReqSelectPlayerMessage [playerId=" + playerId + "]";
  }
  
}

origin: kingston-csj/jforgame

@MessageMeta(module=Modules.SKILL, cmd=SkillDataPool.REQ_USE_SKILL)
public class ReqUseSkillMessage extends Message {

  @Protobuf
  private int skillId;

  public int getSkillId() {
    return skillId;
  }

  public void setSkillId(int skillId) {
    this.skillId = skillId;
  }

  @Override
  public String toString() {
    return "ReqUseSkillMessage [skillId=" + skillId + "]";
  }

}

origin: kingston-csj/jforgame

@MessageMeta(module=Modules.GM, cmd=GmConstant.REQ_GM_EXEC)
public class ReqGmExecMessage extends Message {
  
  @Protobuf(order = 1)
  public String command;

  public String getCommand() {
    return command;
  }

  public void setCommand(String command) {
    this.command = command;
  }

  @Override
  public String toString() {
    return "ReqGmExecMessage [command=" + command + "]";
  }
  
  


}

origin: kingston-csj/jforgame

@MessageMeta(module=Modules.SCENE, cmd=SceneDataPool.RES_ENTER_SCENE)
public class ResPlayerEnterSceneMessage extends Message {
  
  /** 地图id */
  @Protobuf(order = 1)
  private int mapId;

  public int getMapId() {
    return mapId;
  }

  public void setMapId(int mapId) {
    this.mapId = mapId;
  }

  @Override
  public String toString() {
    return "ResPlayerEnterSceneMessage [mapId=" + mapId + "]";
  }

}

origin: kingston-csj/jforgame

@MessageMeta(module=Modules.ACTIVITY, cmd=ActivityDataPool.REQ_OPEN_PANEL)
public class ReqOpenActivityPanelMessage extends Message {
  
  @Protobuf
  private int activityId;

  public int getActivityId() {
    return activityId;
  }

  public void setActivityId(int activityId) {
    this.activityId = activityId;
  }

  @Override
  public String toString() {
    return "ReqOpenActivityPanelMessage [activityId=" + activityId + "]";
  }
  
}

origin: kingston-csj/jforgame

public final class CombineMessage extends Message {
  @Protobuf(order = 1)
  private List<Packet> packets = new ArrayList<>();
com.baidu.bjf.remoting.protobuf.annotationProtobuf<init>

Popular methods of Protobuf

  • description
  • fieldType
  • order
  • required

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • requestLocationUpdates (LocationManager)
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • ImageIO (javax.imageio)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Join (org.hibernate.mapping)
  • Option (scala)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now