类 Common.Value

  • 所有已实现的接口:
    Common.ValueOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    封闭类:
    Common

    public static final class Common.Value
    extends com.google.protobuf.GeneratedMessageV3
    implements Common.ValueOrBuilder
    Protobuf type common.Value
    另请参阅:
    序列化表格
    • 字段详细资料

      • BOOLEAN_FIELD_NUMBER

        public static final int BOOLEAN_FIELD_NUMBER
        另请参阅:
        常量字段值
      • I32_FIELD_NUMBER

        public static final int I32_FIELD_NUMBER
        另请参阅:
        常量字段值
      • I64_FIELD_NUMBER

        public static final int I64_FIELD_NUMBER
        另请参阅:
        常量字段值
      • F64_FIELD_NUMBER

        public static final int F64_FIELD_NUMBER
        另请参阅:
        常量字段值
      • STR_FIELD_NUMBER

        public static final int STR_FIELD_NUMBER
        另请参阅:
        常量字段值
      • BLOB_FIELD_NUMBER

        public static final int BLOB_FIELD_NUMBER
        另请参阅:
        常量字段值
      • I32_ARRAY_FIELD_NUMBER

        public static final int I32_ARRAY_FIELD_NUMBER
        另请参阅:
        常量字段值
      • I64_ARRAY_FIELD_NUMBER

        public static final int I64_ARRAY_FIELD_NUMBER
        另请参阅:
        常量字段值
      • F64_ARRAY_FIELD_NUMBER

        public static final int F64_ARRAY_FIELD_NUMBER
        另请参阅:
        常量字段值
      • STR_ARRAY_FIELD_NUMBER

        public static final int STR_ARRAY_FIELD_NUMBER
        另请参阅:
        常量字段值
      • PAIR_ARRAY_FIELD_NUMBER

        public static final int PAIR_ARRAY_FIELD_NUMBER
        另请参阅:
        常量字段值
      • NONE_FIELD_NUMBER

        public static final int NONE_FIELD_NUMBER
        另请参阅:
        常量字段值
      • DATE_FIELD_NUMBER

        public static final int DATE_FIELD_NUMBER
        另请参阅:
        常量字段值
      • TIME_FIELD_NUMBER

        public static final int TIME_FIELD_NUMBER
        另请参阅:
        常量字段值
      • TIMESTAMP_FIELD_NUMBER

        public static final int TIMESTAMP_FIELD_NUMBER
        另请参阅:
        常量字段值
    • 方法详细资料

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        覆盖:
        newInstance 在类中 com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
      • hasBoolean

        public boolean hasBoolean()
        bool boolean = 2;
        指定者:
        hasBoolean 在接口中 Common.ValueOrBuilder
        返回:
        Whether the boolean field is set.
      • hasI32

        public boolean hasI32()
        int32 i32 = 3;
        指定者:
        hasI32 在接口中 Common.ValueOrBuilder
        返回:
        Whether the i32 field is set.
      • hasI64

        public boolean hasI64()
        int64 i64 = 4;
        指定者:
        hasI64 在接口中 Common.ValueOrBuilder
        返回:
        Whether the i64 field is set.
      • hasF64

        public boolean hasF64()
        double f64 = 5;
        指定者:
        hasF64 在接口中 Common.ValueOrBuilder
        返回:
        Whether the f64 field is set.
      • hasStr

        public boolean hasStr()
        string str = 6;
        指定者:
        hasStr 在接口中 Common.ValueOrBuilder
        返回:
        Whether the str field is set.
      • getStrBytes

        public com.google.protobuf.ByteString getStrBytes()
        string str = 6;
        指定者:
        getStrBytes 在接口中 Common.ValueOrBuilder
        返回:
        The bytes for str.
      • hasBlob

        public boolean hasBlob()
        bytes blob = 7;
        指定者:
        hasBlob 在接口中 Common.ValueOrBuilder
        返回:
        Whether the blob field is set.
      • getBlob

        public com.google.protobuf.ByteString getBlob()
        bytes blob = 7;
        指定者:
        getBlob 在接口中 Common.ValueOrBuilder
        返回:
        The blob.
      • hasI32Array

        public boolean hasI32Array()
        .common.I32Array i32_array = 8;
        指定者:
        hasI32Array 在接口中 Common.ValueOrBuilder
        返回:
        Whether the i32Array field is set.
      • hasI64Array

        public boolean hasI64Array()
        .common.I64Array i64_array = 9;
        指定者:
        hasI64Array 在接口中 Common.ValueOrBuilder
        返回:
        Whether the i64Array field is set.
      • hasF64Array

        public boolean hasF64Array()
        .common.DoubleArray f64_array = 10;
        指定者:
        hasF64Array 在接口中 Common.ValueOrBuilder
        返回:
        Whether the f64Array field is set.
      • hasStrArray

        public boolean hasStrArray()
        .common.StringArray str_array = 11;
        指定者:
        hasStrArray 在接口中 Common.ValueOrBuilder
        返回:
        Whether the strArray field is set.
      • hasPairArray

        public boolean hasPairArray()
        .common.PairArray pair_array = 12;
        指定者:
        hasPairArray 在接口中 Common.ValueOrBuilder
        返回:
        Whether the pairArray field is set.
      • hasNone

        public boolean hasNone()
        .common.None none = 13;
        指定者:
        hasNone 在接口中 Common.ValueOrBuilder
        返回:
        Whether the none field is set.
      • hasDate

        public boolean hasDate()
        .common.Date32 date = 14;
        指定者:
        hasDate 在接口中 Common.ValueOrBuilder
        返回:
        Whether the date field is set.
      • hasTime

        public boolean hasTime()
        .common.Time32 time = 15;
        指定者:
        hasTime 在接口中 Common.ValueOrBuilder
        返回:
        Whether the time field is set.
      • hasTimestamp

        public boolean hasTimestamp()
        .common.Timestamp timestamp = 16;
        指定者:
        hasTimestamp 在接口中 Common.ValueOrBuilder
        返回:
        Whether the timestamp field is set.
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        指定者:
        writeTo 在接口中 com.google.protobuf.MessageLite
        覆盖:
        writeTo 在类中 com.google.protobuf.GeneratedMessageV3
        抛出:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        指定者:
        getSerializedSize 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        指定者:
        equals 在接口中 com.google.protobuf.Message
        覆盖:
        equals 在类中 com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在接口中 com.google.protobuf.Message
        覆盖:
        hashCode 在类中 com.google.protobuf.AbstractMessage
      • parseFrom

        public static Common.Value parseFrom​(ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Common.Value parseFrom​(ByteBuffer data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Common.Value parseFrom​(com.google.protobuf.ByteString data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Common.Value parseFrom​(com.google.protobuf.ByteString data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Common.Value parseFrom​(byte[] data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Common.Value parseFrom​(byte[] data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Common.Value parseFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        抛出:
        IOException
      • newBuilderForType

        public Common.Value.Builder newBuilderForType()
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.Message
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.MessageLite
      • toBuilder

        public Common.Value.Builder toBuilder()
        指定者:
        toBuilder 在接口中 com.google.protobuf.Message
        指定者:
        toBuilder 在接口中 com.google.protobuf.MessageLite
      • newBuilderForType

        protected Common.Value.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Common.Value getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Common.Value> parser()
      • getParserForType

        public com.google.protobuf.Parser<Common.Value> getParserForType()
        指定者:
        getParserForType 在接口中 com.google.protobuf.Message
        指定者:
        getParserForType 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Common.Value getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder