接口 Common.ValueOrBuilder

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

    public static interface Common.ValueOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • 方法详细资料

      • hasBoolean

        boolean hasBoolean()
        bool boolean = 2;
        返回:
        Whether the boolean field is set.
      • getBoolean

        boolean getBoolean()
        bool boolean = 2;
        返回:
        The boolean.
      • hasI32

        boolean hasI32()
        int32 i32 = 3;
        返回:
        Whether the i32 field is set.
      • getI32

        int getI32()
        int32 i32 = 3;
        返回:
        The i32.
      • hasI64

        boolean hasI64()
        int64 i64 = 4;
        返回:
        Whether the i64 field is set.
      • getI64

        long getI64()
        int64 i64 = 4;
        返回:
        The i64.
      • hasF64

        boolean hasF64()
        double f64 = 5;
        返回:
        Whether the f64 field is set.
      • getF64

        double getF64()
        double f64 = 5;
        返回:
        The f64.
      • hasStr

        boolean hasStr()
        string str = 6;
        返回:
        Whether the str field is set.
      • getStr

        String getStr()
        string str = 6;
        返回:
        The str.
      • getStrBytes

        com.google.protobuf.ByteString getStrBytes()
        string str = 6;
        返回:
        The bytes for str.
      • hasBlob

        boolean hasBlob()
        bytes blob = 7;
        返回:
        Whether the blob field is set.
      • getBlob

        com.google.protobuf.ByteString getBlob()
        bytes blob = 7;
        返回:
        The blob.
      • hasI32Array

        boolean hasI32Array()
        .common.I32Array i32_array = 8;
        返回:
        Whether the i32Array field is set.
      • getI32Array

        Common.I32Array getI32Array()
        .common.I32Array i32_array = 8;
        返回:
        The i32Array.
      • hasI64Array

        boolean hasI64Array()
        .common.I64Array i64_array = 9;
        返回:
        Whether the i64Array field is set.
      • getI64Array

        Common.I64Array getI64Array()
        .common.I64Array i64_array = 9;
        返回:
        The i64Array.
      • hasF64Array

        boolean hasF64Array()
        .common.DoubleArray f64_array = 10;
        返回:
        Whether the f64Array field is set.
      • getF64Array

        Common.DoubleArray getF64Array()
        .common.DoubleArray f64_array = 10;
        返回:
        The f64Array.
      • hasStrArray

        boolean hasStrArray()
        .common.StringArray str_array = 11;
        返回:
        Whether the strArray field is set.
      • getStrArray

        Common.StringArray getStrArray()
        .common.StringArray str_array = 11;
        返回:
        The strArray.
      • hasPairArray

        boolean hasPairArray()
        .common.PairArray pair_array = 12;
        返回:
        Whether the pairArray field is set.
      • getPairArray

        Common.PairArray getPairArray()
        .common.PairArray pair_array = 12;
        返回:
        The pairArray.
      • hasNone

        boolean hasNone()
        .common.None none = 13;
        返回:
        Whether the none field is set.
      • getNone

        Common.None getNone()
        .common.None none = 13;
        返回:
        The none.
      • hasDate

        boolean hasDate()
        .common.Date32 date = 14;
        返回:
        Whether the date field is set.
      • getDate

        Common.Date32 getDate()
        .common.Date32 date = 14;
        返回:
        The date.
      • hasTime

        boolean hasTime()
        .common.Time32 time = 15;
        返回:
        Whether the time field is set.
      • getTime

        Common.Time32 getTime()
        .common.Time32 time = 15;
        返回:
        The time.
      • hasTimestamp

        boolean hasTimestamp()
        .common.Timestamp timestamp = 16;
        返回:
        Whether the timestamp field is set.
      • getTimestamp

        Common.Timestamp getTimestamp()
        .common.Timestamp timestamp = 16;
        返回:
        The timestamp.