Interface MessageContent

from protobuf message MessageContent

interface MessageContent {
    column: string;
    row: string & Brand<"Id">;
    table: string;
    value:
        | {
            oneofKind: "stringValue";
            stringValue: string;
        }
        | {
            numberValue: string;
            oneofKind: "numberValue";
        }
        | {
            bytesValue: Uint8Array;
            oneofKind: "bytesValue";
        }
        | {
            jsonValue: string;
            oneofKind: "jsonValue";
        }
        | {
            oneofKind: undefined;
        };
}

Properties

Properties

column: string

from protobuf field: string column = 3;

row: string & Brand<"Id">

from protobuf field: string row = 2;

table: string

from protobuf field: string table = 1;

value:
    | {
        oneofKind: "stringValue";
        stringValue: string;
    }
    | {
        numberValue: string;
        oneofKind: "numberValue";
    }
    | {
        bytesValue: Uint8Array;
        oneofKind: "bytesValue";
    }
    | {
        jsonValue: string;
        oneofKind: "jsonValue";
    }
    | {
        oneofKind: undefined;
    }

Type declaration

  • oneofKind: "stringValue"
  • stringValue: string

    from protobuf field: string stringValue = 4;

Type declaration

  • numberValue: string

    from protobuf field: string numberValue = 5;

  • oneofKind: "numberValue"

Type declaration

  • bytesValue: Uint8Array

    from protobuf field: bytes bytesValue = 6;

  • oneofKind: "bytesValue"

Type declaration

  • jsonValue: string

    from protobuf field: string jsonValue = 7;

  • oneofKind: "jsonValue"

from protobuf oneof: value