aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/datatransfer/v1/endpoint/serializers.proto
blob: 83c21ad15f5d0dca758741c583e0aaa82d9022a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
syntax = "proto3";

package yandex.cloud.datatransfer.v1.endpoint;

option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/datatransfer/v1/endpoint;endpoint";
option java_package = "yandex.cloud.api.datatransfer.v1.endpoint";
option csharp_namespace = "Yandex.Cloud.Datatransfer.V1.EndPoint"; // there is a clash with class Endpoint in namespace Yandex.Cloud.Datatransfer.V1

message SerializerAuto {
}
message SerializerJSON {
}
message DebeziumSerializerParameter {
    // Name of the serializer parameter
    string key = 1;
    // Value of the serializer parameter
    string value = 2;
}
message SerializerDebezium {
    // Settings of sterilization parameters as key-value pairs
    repeated DebeziumSerializerParameter serializer_parameters = 1;
}
// Data serialization format
message Serializer {
    oneof serializer {
        // Select the serialization format automatically
        SerializerAuto serializer_auto = 1;
        // Serialize data in json format
        SerializerJSON serializer_json = 2;
        // Serialize data in debezium format
        SerializerDebezium serializer_debezium = 3;
    }
}