Codota Logo
com.baidu.bjf.remoting.protobuf.annotation
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
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 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 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 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: jhunters/jprotobuf

@Protobuf(order = FieldDescriptorProto.NAME_FIELD_NUMBER)
public String name;
@Protobuf(order = FieldDescriptorProto.EXTENDEE_FIELD_NUMBER)
public String extendee;
@Protobuf(order = FieldDescriptorProto.NUMBER_FIELD_NUMBER)
public Integer number;
@Protobuf(order = FieldDescriptorProto.LABEL_FIELD_NUMBER, fieldType = FieldType.ENUM)
public Label label; 
@Protobuf(order = FieldDescriptorProto.TYPE_FIELD_NUMBER, fieldType = FieldType.ENUM)
public Type type;
@Protobuf(order = FieldDescriptorProto.TYPE_NAME_FIELD_NUMBER)
public String typeName;
@Protobuf(order = FieldDescriptorProto.DEFAULT_VALUE_FIELD_NUMBER)
public String defaultValue;
@Protobuf(order = FieldDescriptorProto.OPTIONS_FIELD_NUMBER, fieldType = FieldType.OBJECT)
public FieldOptionsPOJO options;
origin: jhunters/jprotobuf

@Protobuf(order = UninterpretedOption.NAME_FIELD_NUMBER, fieldType = FieldType.OBJECT)
public List<NamePartPOJO> names;
@Protobuf(order = UninterpretedOption.IDENTIFIER_VALUE_FIELD_NUMBER)
public String identifierValue;
@Protobuf(order = UninterpretedOption.POSITIVE_INT_VALUE_FIELD_NUMBER)
public Long positiveIntValue;
@Protobuf(order = UninterpretedOption.NEGATIVE_INT_VALUE_FIELD_NUMBER)
public Long negativeIntValue;
@Protobuf(order = UninterpretedOption.DOUBLE_VALUE_FIELD_NUMBER)
public Double doubleValue;
@Protobuf(order = UninterpretedOption.STRING_VALUE_FIELD_NUMBER)
public String stringValue;
@Protobuf(order = UninterpretedOption.AGGREGATE_VALUE_FIELD_NUMBER)
public String aggregateValue;
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.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.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.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 + "]";
  }
  
}

com.baidu.bjf.remoting.protobuf.annotation

Most used classes

  • Protobuf
  • ProtobufClass
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now