接口 Common.PairOrBuilder

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

    public static interface Common.PairOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      Common.Value getKey()
      .common.Value key = 1;
      Common.ValueOrBuilder getKeyOrBuilder()
      .common.Value key = 1;
      Common.Value getVal()
      .common.Value val = 2;
      Common.ValueOrBuilder getValOrBuilder()
      .common.Value val = 2;
      boolean hasKey()
      .common.Value key = 1;
      boolean hasVal()
      .common.Value val = 2;
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

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

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

      • hasKey

        boolean hasKey()
        .common.Value key = 1;
        返回:
        Whether the key field is set.
      • getKey

        Common.Value getKey()
        .common.Value key = 1;
        返回:
        The key.
      • hasVal

        boolean hasVal()
        .common.Value val = 2;
        返回:
        Whether the val field is set.
      • getVal

        Common.Value getVal()
        .common.Value val = 2;
        返回:
        The val.