接口 Aio.PacketOrBuilder

  • 所有超级接口:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    所有已知实现类:
    Aio.Packet, Aio.Packet.Builder
    封闭类:
    Aio

    public static interface Aio.PacketOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      int getCode()
      uint32 code = 3;
      com.google.protobuf.Any getData()
      .google.protobuf.Any data = 6;
      com.google.protobuf.AnyOrBuilder getDataOrBuilder()
      .google.protobuf.Any data = 6;
      String getKey()
      string key = 1;
      com.google.protobuf.ByteString getKeyBytes()
      string key = 1;
      String getMessage()
      string message = 4;
      com.google.protobuf.ByteString getMessageBytes()
      string message = 4;
      int getPriority()
      uint32 priority = 2;
      long getTimestamp()
      uint64 timestamp = 5;
      boolean hasData()
      .google.protobuf.Any data = 6;
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 从接口继承的方法 com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 方法详细资料

      • getKey

        String getKey()
        string key = 1;
        返回:
        The key.
      • getKeyBytes

        com.google.protobuf.ByteString getKeyBytes()
        string key = 1;
        返回:
        The bytes for key.
      • getPriority

        int getPriority()
        uint32 priority = 2;
        返回:
        The priority.
      • getCode

        int getCode()
        uint32 code = 3;
        返回:
        The code.
      • getMessage

        String getMessage()
        string message = 4;
        返回:
        The message.
      • getMessageBytes

        com.google.protobuf.ByteString getMessageBytes()
        string message = 4;
        返回:
        The bytes for message.
      • getTimestamp

        long getTimestamp()
        uint64 timestamp = 5;
        返回:
        The timestamp.
      • hasData

        boolean hasData()
        .google.protobuf.Any data = 6;
        返回:
        Whether the data field is set.
      • getData

        com.google.protobuf.Any getData()
        .google.protobuf.Any data = 6;
        返回:
        The data.
      • getDataOrBuilder

        com.google.protobuf.AnyOrBuilder getDataOrBuilder()
        .google.protobuf.Any data = 6;