diff options
author | uzhas <uzhas@ydb.tech> | 2023-08-24 17:06:48 +0300 |
---|---|---|
committer | uzhas <uzhas@ydb.tech> | 2023-08-24 17:22:06 +0300 |
commit | 2491ba899bf158101666fd335447efd32e27cc34 (patch) | |
tree | 81d562b35540926dfdf06e561e3b1875009c7b59 | |
parent | 9b8239370c4354cbd86f763d546469a7b3da3538 (diff) | |
download | ydb-2491ba899bf158101666fd335447efd32e27cc34.tar.gz |
ydb: support go code in OSS
37 files changed, 629 insertions, 35 deletions
diff --git a/library/cpp/lwtrace/protos/lwtrace.proto b/library/cpp/lwtrace/protos/lwtrace.proto index 0051095719..4702f56c0a 100644 --- a/library/cpp/lwtrace/protos/lwtrace.proto +++ b/library/cpp/lwtrace/protos/lwtrace.proto @@ -5,7 +5,7 @@ syntax = "proto3"; package NLWTrace; -option go_package = "a.yandex-team.ru/library/cpp/lwtrace/protos"; +option go_package = "github.com/ydb-platform/ydb/library/cpp/lwtrace/protos"; message TProbeDesc { string Name = 1; // Use either name+provider diff --git a/library/cpp/unified_agent_client/proto/unified_agent.proto b/library/cpp/unified_agent_client/proto/unified_agent.proto index 68efe35747..9a507afa06 100644 --- a/library/cpp/unified_agent_client/proto/unified_agent.proto +++ b/library/cpp/unified_agent_client/proto/unified_agent.proto @@ -4,7 +4,7 @@ import "google/protobuf/descriptor.proto"; package NUnifiedAgentProto; option java_package = "com.yandex.unified_agent"; -option go_package = "a.yandex-team.ru/library/cpp/unified_agent_client/proto;unifiedagent"; +option go_package = "github.com/ydb-platform/ydb/library/cpp/unified_agent_client/proto;unifiedagent"; extend google.protobuf.FileOptions { bool GenerateYaStyle = 66777; diff --git a/library/go/core/buildinfo/buildinfo.go b/library/go/core/buildinfo/buildinfo.go index 88b7d52c9e..fe6b8286cb 100644 --- a/library/go/core/buildinfo/buildinfo.go +++ b/library/go/core/buildinfo/buildinfo.go @@ -14,7 +14,7 @@ type BuildInfo struct { // // Other info: // Build by: prime - // Top src dir: /home/prime/Code/go/src/a.yandex-team.ru + // Top src dir: /home/prime/Code/go/src/github.com/ydb-platform/ydb // Top build dir: /home/prime/.ya/build/build_root/qbh0/000002 // Hostname: 77.88.18.146-red.dhcp.yndx.net // Host information: diff --git a/library/go/core/buildinfo/test/main.go b/library/go/core/buildinfo/test/main.go index a17ac12749..7b13900295 100644 --- a/library/go/core/buildinfo/test/main.go +++ b/library/go/core/buildinfo/test/main.go @@ -3,7 +3,7 @@ package main import ( "fmt" - "a.yandex-team.ru/library/go/core/buildinfo" + "github.com/ydb-platform/ydb/library/go/core/buildinfo" ) func main() { diff --git a/library/go/test/yatest/env.go b/library/go/test/yatest/env.go index d655e4c6da..fd2bacbc26 100644 --- a/library/go/test/yatest/env.go +++ b/library/go/test/yatest/env.go @@ -149,7 +149,7 @@ func CxxCompilerPath() string { // Warn: if you are using build with system python (-DUSE_SYSTEM_PYTHON=X) beware that some python bundles // are built in a stripped-down form that is needed for building, not running tests. // See comments in the file below to find out which version of python is compatible with tests. -// https://a.yandex-team.ru/arc/trunk/arcadia/build/platform/python/resources.inc +// https://github.com/ydb-platform/ydb/arc/trunk/arcadia/build/platform/python/resources.inc func PythonBinPath() string { lazyInit() verifyContext() diff --git a/ydb/library/aclib/protos/aclib.proto b/ydb/library/aclib/protos/aclib.proto index 1f1f7b2bd1..01875d9cc7 100644 --- a/ydb/library/aclib/protos/aclib.proto +++ b/ydb/library/aclib/protos/aclib.proto @@ -1,6 +1,6 @@ package NACLibProto; -option go_package = "a.yandex-team.ru/ydb/library/aclib/protos;aclibpb"; +option go_package = "github.com/ydb-platform/ydb/ydb/library/aclib/protos;aclibpb"; message TACE { optional uint32 AccessType = 1; diff --git a/ydb/library/yql/providers/common/proto/gateways_config.proto b/ydb/library/yql/providers/common/proto/gateways_config.proto index 0ffd18007e..ea862709e2 100644 --- a/ydb/library/yql/providers/common/proto/gateways_config.proto +++ b/ydb/library/yql/providers/common/proto/gateways_config.proto @@ -563,7 +563,7 @@ message TGenericClusterConfig { // you should either set (ServiceAccountId, ServiceAccountIdSignature) pair, // or set IAM Token. // The names of these fields must satisfy this template function: - // https://a.yandex-team.ru/arcadia/contrib/ydb/core/fq/libs/actors/clusters_from_connections.cpp?rev=r11823087#L19 + // https://github.com/ydb-platform/ydb/arcadia/contrib/ydb/core/fq/libs/actors/clusters_from_connections.cpp?rev=r11823087#L19 optional string ServiceAccountId = 6; optional string ServiceAccountIdSignature = 7; optional string Token = 11; diff --git a/ydb/library/yql/providers/common/token_accessor/grpc/token_accessor_pb.proto b/ydb/library/yql/providers/common/token_accessor/grpc/token_accessor_pb.proto index ff2ae3e056..170d2a2cc7 100644 --- a/ydb/library/yql/providers/common/token_accessor/grpc/token_accessor_pb.proto +++ b/ydb/library/yql/providers/common/token_accessor/grpc/token_accessor_pb.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package NYql; -option go_package = "a.yandex-team.ru/ydb/library/yql/providers/common/token_accessor/grpc;token_accessor_pb"; +option go_package = "github.com/ydb-platform/ydb/ydb/library/yql/providers/common/token_accessor/grpc;token_accessor_pb"; service TokenAccessorService { rpc GetToken(GetTokenRequest) returns (GetTokenResponse) {} diff --git a/ydb/library/yql/providers/generic/connector/api/common/data_source.pb.go b/ydb/library/yql/providers/generic/connector/api/common/data_source.pb.go new file mode 100644 index 0000000000..8adf9b4960 --- /dev/null +++ b/ydb/library/yql/providers/generic/connector/api/common/data_source.pb.go @@ -0,0 +1,434 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.19.0 +// source: ydb/library/yql/providers/generic/connector/api/common/data_source.proto + +package common + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// EDataSourceKind enumerates the external data sources +// supported in the federated query system +type EDataSourceKind int32 + +const ( + EDataSourceKind_DATA_SOURCE_KIND_RESERVED EDataSourceKind = 0 + EDataSourceKind_CLICKHOUSE EDataSourceKind = 1 + EDataSourceKind_POSTGRESQL EDataSourceKind = 2 +) + +// Enum value maps for EDataSourceKind. +var ( + EDataSourceKind_name = map[int32]string{ + 0: "DATA_SOURCE_KIND_RESERVED", + 1: "CLICKHOUSE", + 2: "POSTGRESQL", + } + EDataSourceKind_value = map[string]int32{ + "DATA_SOURCE_KIND_RESERVED": 0, + "CLICKHOUSE": 1, + "POSTGRESQL": 2, + } +) + +func (x EDataSourceKind) Enum() *EDataSourceKind { + p := new(EDataSourceKind) + *p = x + return p +} + +func (x EDataSourceKind) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EDataSourceKind) Descriptor() protoreflect.EnumDescriptor { + return file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_enumTypes[0].Descriptor() +} + +func (EDataSourceKind) Type() protoreflect.EnumType { + return &file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_enumTypes[0] +} + +func (x EDataSourceKind) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use EDataSourceKind.Descriptor instead. +func (EDataSourceKind) EnumDescriptor() ([]byte, []int) { + return file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescGZIP(), []int{0} +} + +// TCredentials represents various ways of user authentication in the data source instance +type TCredentials struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Payload: + // *TCredentials_Basic + Payload isTCredentials_Payload `protobuf_oneof:"payload"` +} + +func (x *TCredentials) Reset() { + *x = TCredentials{} + if protoimpl.UnsafeEnabled { + mi := &file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TCredentials) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TCredentials) ProtoMessage() {} + +func (x *TCredentials) ProtoReflect() protoreflect.Message { + mi := &file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TCredentials.ProtoReflect.Descriptor instead. +func (*TCredentials) Descriptor() ([]byte, []int) { + return file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescGZIP(), []int{0} +} + +func (m *TCredentials) GetPayload() isTCredentials_Payload { + if m != nil { + return m.Payload + } + return nil +} + +func (x *TCredentials) GetBasic() *TCredentials_TBasic { + if x, ok := x.GetPayload().(*TCredentials_Basic); ok { + return x.Basic + } + return nil +} + +type isTCredentials_Payload interface { + isTCredentials_Payload() +} + +type TCredentials_Basic struct { + Basic *TCredentials_TBasic `protobuf:"bytes,1,opt,name=basic,proto3,oneof"` +} + +func (*TCredentials_Basic) isTCredentials_Payload() {} + +// TDataSourceInstance helps to identify the instance of a data source to redirect request to. +type TDataSourceInstance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Data source kind + Kind EDataSourceKind `protobuf:"varint,1,opt,name=kind,proto3,enum=NYql.NConnector.NApi.EDataSourceKind" json:"kind,omitempty"` + // Network address + Endpoint *TEndpoint `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + // Database name + Database string `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"` + // Credentials to access database + Credentials *TCredentials `protobuf:"bytes,4,opt,name=credentials,proto3" json:"credentials,omitempty"` + // If true, Connector server will use secure connections to access remote data sources. + // Certificates will be obtained from the standard system paths. + UseTls bool `protobuf:"varint,5,opt,name=use_tls,json=useTls,proto3" json:"use_tls,omitempty"` +} + +func (x *TDataSourceInstance) Reset() { + *x = TDataSourceInstance{} + if protoimpl.UnsafeEnabled { + mi := &file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TDataSourceInstance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TDataSourceInstance) ProtoMessage() {} + +func (x *TDataSourceInstance) ProtoReflect() protoreflect.Message { + mi := &file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TDataSourceInstance.ProtoReflect.Descriptor instead. +func (*TDataSourceInstance) Descriptor() ([]byte, []int) { + return file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescGZIP(), []int{1} +} + +func (x *TDataSourceInstance) GetKind() EDataSourceKind { + if x != nil { + return x.Kind + } + return EDataSourceKind_DATA_SOURCE_KIND_RESERVED +} + +func (x *TDataSourceInstance) GetEndpoint() *TEndpoint { + if x != nil { + return x.Endpoint + } + return nil +} + +func (x *TDataSourceInstance) GetDatabase() string { + if x != nil { + return x.Database + } + return "" +} + +func (x *TDataSourceInstance) GetCredentials() *TCredentials { + if x != nil { + return x.Credentials + } + return nil +} + +func (x *TDataSourceInstance) GetUseTls() bool { + if x != nil { + return x.UseTls + } + return false +} + +type TCredentials_TBasic struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` +} + +func (x *TCredentials_TBasic) Reset() { + *x = TCredentials_TBasic{} + if protoimpl.UnsafeEnabled { + mi := &file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TCredentials_TBasic) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TCredentials_TBasic) ProtoMessage() {} + +func (x *TCredentials_TBasic) ProtoReflect() protoreflect.Message { + mi := &file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TCredentials_TBasic.ProtoReflect.Descriptor instead. +func (*TCredentials_TBasic) Descriptor() ([]byte, []int) { + return file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *TCredentials_TBasic) GetUsername() string { + if x != nil { + return x.Username + } + return "" +} + +func (x *TCredentials_TBasic) GetPassword() string { + if x != nil { + return x.Password + } + return "" +} + +var File_ydb_library_yql_providers_generic_connector_api_common_data_source_proto protoreflect.FileDescriptor + +var file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDesc = []byte{ + 0x0a, 0x48, 0x79, 0x64, 0x62, 0x2f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x2f, 0x79, 0x71, + 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x69, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x4e, 0x59, 0x71, 0x6c, + 0x2e, 0x4e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4e, 0x41, 0x70, 0x69, + 0x1a, 0x45, 0x79, 0x64, 0x62, 0x2f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x2f, 0x79, 0x71, + 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x69, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x0c, 0x54, 0x43, 0x72, 0x65, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x62, 0x61, 0x73, 0x69, + 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x4e, 0x59, 0x71, 0x6c, 0x2e, 0x4e, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4e, 0x41, 0x70, 0x69, 0x2e, 0x54, + 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2e, 0x54, 0x42, 0x61, 0x73, + 0x69, 0x63, 0x48, 0x00, 0x52, 0x05, 0x62, 0x61, 0x73, 0x69, 0x63, 0x1a, 0x40, 0x0a, 0x06, 0x54, + 0x42, 0x61, 0x73, 0x69, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x42, 0x09, 0x0a, + 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x88, 0x02, 0x0a, 0x13, 0x54, 0x44, 0x61, + 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x39, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, + 0x2e, 0x4e, 0x59, 0x71, 0x6c, 0x2e, 0x4e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x4e, 0x41, 0x70, 0x69, 0x2e, 0x45, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x3b, 0x0a, 0x08, 0x65, + 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x4e, 0x59, 0x71, 0x6c, 0x2e, 0x4e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x4e, 0x41, 0x70, 0x69, 0x2e, 0x54, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, + 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, + 0x62, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, + 0x62, 0x61, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x61, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x4e, 0x59, 0x71, 0x6c, + 0x2e, 0x4e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4e, 0x41, 0x70, 0x69, + 0x2e, 0x54, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x0b, 0x63, + 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, + 0x65, 0x5f, 0x74, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65, + 0x54, 0x6c, 0x73, 0x2a, 0x50, 0x0a, 0x0f, 0x45, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x53, + 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x53, 0x45, 0x52, + 0x56, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4c, 0x49, 0x43, 0x4b, 0x48, 0x4f, + 0x55, 0x53, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x4f, 0x53, 0x54, 0x47, 0x52, 0x45, + 0x53, 0x51, 0x4c, 0x10, 0x02, 0x42, 0x49, 0x5a, 0x47, 0x61, 0x2e, 0x79, 0x61, 0x6e, 0x64, 0x65, + 0x78, 0x2d, 0x74, 0x65, 0x61, 0x6d, 0x2e, 0x72, 0x75, 0x2f, 0x79, 0x64, 0x62, 0x2f, 0x6c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x79, 0x2f, 0x79, 0x71, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescOnce sync.Once + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescData = file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDesc +) + +func file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescGZIP() []byte { + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescOnce.Do(func() { + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescData = protoimpl.X.CompressGZIP(file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescData) + }) + return file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDescData +} + +var file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_goTypes = []interface{}{ + (EDataSourceKind)(0), // 0: NYql.NConnector.NApi.EDataSourceKind + (*TCredentials)(nil), // 1: NYql.NConnector.NApi.TCredentials + (*TDataSourceInstance)(nil), // 2: NYql.NConnector.NApi.TDataSourceInstance + (*TCredentials_TBasic)(nil), // 3: NYql.NConnector.NApi.TCredentials.TBasic + (*TEndpoint)(nil), // 4: NYql.NConnector.NApi.TEndpoint +} +var file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_depIdxs = []int32{ + 3, // 0: NYql.NConnector.NApi.TCredentials.basic:type_name -> NYql.NConnector.NApi.TCredentials.TBasic + 0, // 1: NYql.NConnector.NApi.TDataSourceInstance.kind:type_name -> NYql.NConnector.NApi.EDataSourceKind + 4, // 2: NYql.NConnector.NApi.TDataSourceInstance.endpoint:type_name -> NYql.NConnector.NApi.TEndpoint + 1, // 3: NYql.NConnector.NApi.TDataSourceInstance.credentials:type_name -> NYql.NConnector.NApi.TCredentials + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_init() } +func file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_init() { + if File_ydb_library_yql_providers_generic_connector_api_common_data_source_proto != nil { + return + } + file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_init() + if !protoimpl.UnsafeEnabled { + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TCredentials); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TDataSourceInstance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TCredentials_TBasic); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*TCredentials_Basic)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDesc, + NumEnums: 1, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_goTypes, + DependencyIndexes: file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_depIdxs, + EnumInfos: file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_enumTypes, + MessageInfos: file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_msgTypes, + }.Build() + File_ydb_library_yql_providers_generic_connector_api_common_data_source_proto = out.File + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_rawDesc = nil + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_goTypes = nil + file_ydb_library_yql_providers_generic_connector_api_common_data_source_proto_depIdxs = nil +} diff --git a/ydb/library/yql/providers/generic/connector/api/common/data_source.proto b/ydb/library/yql/providers/generic/connector/api/common/data_source.proto index f9da3d4de0..fabd86ee91 100644 --- a/ydb/library/yql/providers/generic/connector/api/common/data_source.proto +++ b/ydb/library/yql/providers/generic/connector/api/common/data_source.proto @@ -4,7 +4,7 @@ package NYql.NConnector.NApi; import "ydb/library/yql/providers/generic/connector/api/common/endpoint.proto"; -option go_package = "a.yandex-team.ru/ydb/library/yql/providers/generic/connector/api/common"; +option go_package = "github.com/ydb-platform/ydb/ydb/library/yql/providers/generic/connector/api/common"; // TCredentials represents various ways of user authentication in the data source instance message TCredentials { diff --git a/ydb/library/yql/providers/generic/connector/api/common/endpoint.pb.go b/ydb/library/yql/providers/generic/connector/api/common/endpoint.pb.go new file mode 100644 index 0000000000..0e6dba6763 --- /dev/null +++ b/ydb/library/yql/providers/generic/connector/api/common/endpoint.pb.go @@ -0,0 +1,160 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.19.0 +// source: ydb/library/yql/providers/generic/connector/api/common/endpoint.proto + +package common + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// TEndpoint represents the network address of a data source instance +type TEndpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` +} + +func (x *TEndpoint) Reset() { + *x = TEndpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TEndpoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TEndpoint) ProtoMessage() {} + +func (x *TEndpoint) ProtoReflect() protoreflect.Message { + mi := &file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TEndpoint.ProtoReflect.Descriptor instead. +func (*TEndpoint) Descriptor() ([]byte, []int) { + return file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDescGZIP(), []int{0} +} + +func (x *TEndpoint) GetHost() string { + if x != nil { + return x.Host + } + return "" +} + +func (x *TEndpoint) GetPort() uint32 { + if x != nil { + return x.Port + } + return 0 +} + +var File_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto protoreflect.FileDescriptor + +var file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDesc = []byte{ + 0x0a, 0x45, 0x79, 0x64, 0x62, 0x2f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x2f, 0x79, 0x71, + 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x69, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x4e, 0x59, 0x71, 0x6c, 0x2e, 0x4e, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4e, 0x41, 0x70, 0x69, 0x22, 0x33, 0x0a, + 0x09, 0x54, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, + 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, + 0x72, 0x74, 0x42, 0x49, 0x5a, 0x47, 0x61, 0x2e, 0x79, 0x61, 0x6e, 0x64, 0x65, 0x78, 0x2d, 0x74, + 0x65, 0x61, 0x6d, 0x2e, 0x72, 0x75, 0x2f, 0x79, 0x64, 0x62, 0x2f, 0x6c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x79, 0x2f, 0x79, 0x71, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, + 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDescOnce sync.Once + file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDescData = file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDesc +) + +func file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDescGZIP() []byte { + file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDescOnce.Do(func() { + file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDescData) + }) + return file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDescData +} + +var file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_goTypes = []interface{}{ + (*TEndpoint)(nil), // 0: NYql.NConnector.NApi.TEndpoint +} +var file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_init() } +func file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_init() { + if File_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TEndpoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_goTypes, + DependencyIndexes: file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_depIdxs, + MessageInfos: file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_msgTypes, + }.Build() + File_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto = out.File + file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_rawDesc = nil + file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_goTypes = nil + file_ydb_library_yql_providers_generic_connector_api_common_endpoint_proto_depIdxs = nil +} diff --git a/ydb/library/yql/providers/generic/connector/api/common/endpoint.proto b/ydb/library/yql/providers/generic/connector/api/common/endpoint.proto index 9944b279fb..1e4f19eff4 100644 --- a/ydb/library/yql/providers/generic/connector/api/common/endpoint.proto +++ b/ydb/library/yql/providers/generic/connector/api/common/endpoint.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package NYql.NConnector.NApi; -option go_package = "a.yandex-team.ru/ydb/library/yql/providers/generic/connector/api/common"; +option go_package = "github.com/ydb-platform/ydb/ydb/library/yql/providers/generic/connector/api/common"; // TEndpoint represents the network address of a data source instance message TEndpoint { diff --git a/ydb/library/yql/providers/generic/connector/api/service/connector.proto b/ydb/library/yql/providers/generic/connector/api/service/connector.proto index 3845de7fe4..056d104478 100644 --- a/ydb/library/yql/providers/generic/connector/api/service/connector.proto +++ b/ydb/library/yql/providers/generic/connector/api/service/connector.proto @@ -5,7 +5,7 @@ package NYql.NConnector.NApi; import "ydb/library/yql/providers/generic/connector/api/service/protos/connector.proto"; // NOTE: Protobuf-generated code for Go will appear in yql (non-public) path -option go_package = "a.yandex-team.ru/yql/providers/connector/api/service"; +option go_package = "github.com/ydb-platform/ydb/yql/providers/connector/api/service"; // Connector provides unified interface for various data sources that can be used to extend capabilities // of YQ and YQL services. diff --git a/ydb/library/yql/providers/generic/connector/api/service/protos/connector.proto b/ydb/library/yql/providers/generic/connector/api/service/protos/connector.proto index 0c662695e0..e93e2abb77 100644 --- a/ydb/library/yql/providers/generic/connector/api/service/protos/connector.proto +++ b/ydb/library/yql/providers/generic/connector/api/service/protos/connector.proto @@ -8,7 +8,7 @@ import "ydb/public/api/protos/ydb_issue_message.proto"; import "ydb/library/yql/providers/generic/connector/api/common/data_source.proto"; // NOTE: Protobuf-generated code for Go will appear in yql (non-public) path -option go_package = "a.yandex-team.ru/yql/providers/connector/api/service/protos"; +option go_package = "github.com/ydb-platform/ydb/yql/providers/connector/api/service/protos"; // ---------- API Requests ---------- diff --git a/yt/yt/core/rpc/unittests/lib/my_service.proto b/yt/yt/core/rpc/unittests/lib/my_service.proto index 617206942e..5997d917d2 100644 --- a/yt/yt/core/rpc/unittests/lib/my_service.proto +++ b/yt/yt/core/rpc/unittests/lib/my_service.proto @@ -2,7 +2,7 @@ package NMyRpc; import "yt_proto/yt/core/misc/proto/guid.proto"; -option go_package = "a.yandex-team.ru/yt/go/proto/core/rpc/unittests;myservice"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/rpc/unittests;myservice"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto b/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto index 4fbab6b571..bb55dc5f05 100644 --- a/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto +++ b/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto @@ -4,7 +4,7 @@ option java_package = "tech.ytsaurus.rpcproxy"; option java_outer_classname = "ApiProtos"; option java_multiple_files = true; -option go_package = "a.yandex-team.ru/yt/go/proto/client/api/rpc_proxy"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/client/api/rpc_proxy"; import "yt_proto/yt/core/misc/proto/guid.proto"; import "yt_proto/yt/core/misc/proto/error.proto"; diff --git a/yt/yt_proto/yt/client/api/rpc_proxy/proto/discovery_service.proto b/yt/yt_proto/yt/client/api/rpc_proxy/proto/discovery_service.proto index 8ac0df236f..d1ab837059 100644 --- a/yt/yt_proto/yt/client/api/rpc_proxy/proto/discovery_service.proto +++ b/yt/yt_proto/yt/client/api/rpc_proxy/proto/discovery_service.proto @@ -4,7 +4,7 @@ option java_package = "tech.ytsaurus"; option java_outer_classname = "DiscoveryProtos"; option java_multiple_files = true; -option go_package = "a.yandex-team.ru/yt/go/proto/client/api/rpc_proxy"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/client/api/rpc_proxy"; //------------------------------------------------------------------------------ diff --git a/yt/yt_proto/yt/client/chaos_client/proto/replication_card.proto b/yt/yt_proto/yt/client/chaos_client/proto/replication_card.proto index fed0cc4df2..1f85bdf866 100644 --- a/yt/yt_proto/yt/client/chaos_client/proto/replication_card.proto +++ b/yt/yt_proto/yt/client/chaos_client/proto/replication_card.proto @@ -1,6 +1,6 @@ package NYT.NChaosClient.NProto; -option go_package = "a.yandex-team.ru/yt/go/proto/client/chaos_client"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/client/chaos_client"; import "yt_proto/yt/core/misc/proto/guid.proto"; diff --git a/yt/yt_proto/yt/client/chunk_client/proto/chunk_meta.proto b/yt/yt_proto/yt/client/chunk_client/proto/chunk_meta.proto index e6c778f4eb..ea16c4ae7b 100644 --- a/yt/yt_proto/yt/client/chunk_client/proto/chunk_meta.proto +++ b/yt/yt_proto/yt/client/chunk_client/proto/chunk_meta.proto @@ -2,7 +2,7 @@ package NYT.NChunkClient.NProto; import "yt_proto/yt/core/misc/proto/protobuf_helpers.proto"; -option go_package = "a.yandex-team.ru/yt/go/proto/client/chunk_client"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/client/chunk_client"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/client/chunk_client/proto/chunk_spec.proto b/yt/yt_proto/yt/client/chunk_client/proto/chunk_spec.proto index f89a1c2321..e93f49089f 100644 --- a/yt/yt_proto/yt/client/chunk_client/proto/chunk_spec.proto +++ b/yt/yt_proto/yt/client/chunk_client/proto/chunk_spec.proto @@ -4,7 +4,7 @@ import "yt_proto/yt/core/misc/proto/guid.proto"; import "yt_proto/yt/client/chunk_client/proto/read_limit.proto"; import "yt_proto/yt/client/chunk_client/proto/chunk_meta.proto"; -option go_package = "a.yandex-team.ru/yt/go/proto/client/chunk_client"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/client/chunk_client"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/client/chunk_client/proto/confirm_chunk_replica_info.proto b/yt/yt_proto/yt/client/chunk_client/proto/confirm_chunk_replica_info.proto index e76a5b4807..e4bf8382f1 100644 --- a/yt/yt_proto/yt/client/chunk_client/proto/confirm_chunk_replica_info.proto +++ b/yt/yt_proto/yt/client/chunk_client/proto/confirm_chunk_replica_info.proto @@ -2,7 +2,7 @@ package NYT.NChunkClient.NProto; import "yt_proto/yt/core/misc/proto/guid.proto"; -option go_package = "a.yandex-team.ru/yt/go/proto/client/chunk_client"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/client/chunk_client"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/client/chunk_client/proto/data_statistics.proto b/yt/yt_proto/yt/client/chunk_client/proto/data_statistics.proto index 9696458aac..bf32df776f 100644 --- a/yt/yt_proto/yt/client/chunk_client/proto/data_statistics.proto +++ b/yt/yt_proto/yt/client/chunk_client/proto/data_statistics.proto @@ -1,6 +1,6 @@ package NYT.NChunkClient.NProto; -option go_package = "a.yandex-team.ru/yt/go/proto/client/chunk_client"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/client/chunk_client"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/client/chunk_client/proto/read_limit.proto b/yt/yt_proto/yt/client/chunk_client/proto/read_limit.proto index f6a49a84e5..e449cce8a5 100644 --- a/yt/yt_proto/yt/client/chunk_client/proto/read_limit.proto +++ b/yt/yt_proto/yt/client/chunk_client/proto/read_limit.proto @@ -1,6 +1,6 @@ package NYT.NChunkClient.NProto; -option go_package = "a.yandex-team.ru/yt/go/proto/client/chunk_client"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/client/chunk_client"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/client/hive/proto/cluster_directory.proto b/yt/yt_proto/yt/client/hive/proto/cluster_directory.proto index 4a6a671b1b..e5d59965d7 100644 --- a/yt/yt_proto/yt/client/hive/proto/cluster_directory.proto +++ b/yt/yt_proto/yt/client/hive/proto/cluster_directory.proto @@ -1,6 +1,6 @@ package NYT.NHiveClient.NProto; -option go_package = "a.yandex-team.ru/yt/go/proto/client/hive"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/client/hive"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/client/hive/proto/timestamp_map.proto b/yt/yt_proto/yt/client/hive/proto/timestamp_map.proto index 43f96bcf9f..93a23cdcc0 100644 --- a/yt/yt_proto/yt/client/hive/proto/timestamp_map.proto +++ b/yt/yt_proto/yt/client/hive/proto/timestamp_map.proto @@ -1,6 +1,6 @@ package NYT.NHiveClient.NProto; -option go_package = "a.yandex-team.ru/yt/go/proto/client/hive"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/client/hive"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/core/misc/proto/bloom_filter.proto b/yt/yt_proto/yt/core/misc/proto/bloom_filter.proto index b950a6cec7..fb31c7127a 100644 --- a/yt/yt_proto/yt/core/misc/proto/bloom_filter.proto +++ b/yt/yt_proto/yt/core/misc/proto/bloom_filter.proto @@ -1,6 +1,6 @@ package NYT.NProto; -option go_package = "a.yandex-team.ru/yt/go/proto/core/misc"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/misc"; message TBloomFilter { diff --git a/yt/yt_proto/yt/core/misc/proto/error.proto b/yt/yt_proto/yt/core/misc/proto/error.proto index 2e20bc0269..8cfc652a56 100644 --- a/yt/yt_proto/yt/core/misc/proto/error.proto +++ b/yt/yt_proto/yt/core/misc/proto/error.proto @@ -3,7 +3,7 @@ package NYT.NProto; option java_package = "tech.ytsaurus"; option java_multiple_files = true; -option go_package = "a.yandex-team.ru/yt/go/proto/core/misc"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/misc"; import "yt_proto/yt/core/ytree/proto/attributes.proto"; diff --git a/yt/yt_proto/yt/core/misc/proto/guid.proto b/yt/yt_proto/yt/core/misc/proto/guid.proto index 61f191bf24..34950daa8a 100644 --- a/yt/yt_proto/yt/core/misc/proto/guid.proto +++ b/yt/yt_proto/yt/core/misc/proto/guid.proto @@ -4,7 +4,7 @@ option java_package = "tech.ytsaurus"; option java_multiple_files = true; -option go_package = "a.yandex-team.ru/yt/go/proto/core/misc"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/misc"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/core/misc/proto/protobuf_helpers.proto b/yt/yt_proto/yt/core/misc/proto/protobuf_helpers.proto index 79b4f242a3..fc3ce08274 100644 --- a/yt/yt_proto/yt/core/misc/proto/protobuf_helpers.proto +++ b/yt/yt_proto/yt/core/misc/proto/protobuf_helpers.proto @@ -3,7 +3,7 @@ package NYT.NProto; option java_package = "tech.ytsaurus"; option java_multiple_files = true; -option go_package = "a.yandex-team.ru/yt/go/proto/core/misc"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/misc"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/core/rpc/proto/rpc.proto b/yt/yt_proto/yt/core/rpc/proto/rpc.proto index 043b2953e2..7d01c9082b 100644 --- a/yt/yt_proto/yt/core/rpc/proto/rpc.proto +++ b/yt/yt_proto/yt/core/rpc/proto/rpc.proto @@ -3,7 +3,7 @@ package NYT.NRpc.NProto; option java_package = "tech.ytsaurus.rpc"; option java_multiple_files = true; -option go_package = "a.yandex-team.ru/yt/go/proto/core/rpc"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/rpc"; import "yt_proto/yt/core/misc/proto/guid.proto"; diff --git a/yt/yt_proto/yt/core/tracing/proto/span.proto b/yt/yt_proto/yt/core/tracing/proto/span.proto index 9d08cc47a6..dce25abf99 100644 --- a/yt/yt_proto/yt/core/tracing/proto/span.proto +++ b/yt/yt_proto/yt/core/tracing/proto/span.proto @@ -5,7 +5,7 @@ import "yt_proto/yt/core/misc/proto/guid.proto"; option java_package = "tech.ytsaurus.tracing"; option java_multiple_files = true; -option go_package = "a.yandex-team.ru/yt/go/proto/core/tracing"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/tracing"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/core/tracing/proto/tracing_ext.proto b/yt/yt_proto/yt/core/tracing/proto/tracing_ext.proto index 8c2740493f..1bf9482d63 100644 --- a/yt/yt_proto/yt/core/tracing/proto/tracing_ext.proto +++ b/yt/yt_proto/yt/core/tracing/proto/tracing_ext.proto @@ -5,7 +5,7 @@ import "yt_proto/yt/core/misc/proto/guid.proto"; option java_package = "tech.ytsaurus.tracing"; option java_multiple_files = true; -option go_package = "a.yandex-team.ru/yt/go/proto/core/tracing"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/tracing"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/core/yson/proto/protobuf_interop.proto b/yt/yt_proto/yt/core/yson/proto/protobuf_interop.proto index 7aca26d4c9..efcdf8c240 100644 --- a/yt/yt_proto/yt/core/yson/proto/protobuf_interop.proto +++ b/yt/yt_proto/yt/core/yson/proto/protobuf_interop.proto @@ -1,6 +1,6 @@ package NYT.NYson.NProto; -option go_package = "a.yandex-team.ru/yt/go/proto/core/yson"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/yson"; import "google/protobuf/descriptor.proto"; diff --git a/yt/yt_proto/yt/core/ytree/proto/attributes.proto b/yt/yt_proto/yt/core/ytree/proto/attributes.proto index cb1b90451e..f936ba4fcb 100644 --- a/yt/yt_proto/yt/core/ytree/proto/attributes.proto +++ b/yt/yt_proto/yt/core/ytree/proto/attributes.proto @@ -5,7 +5,7 @@ import "yt_proto/yt/core/yson/proto/protobuf_interop.proto"; option java_package = "tech.ytsaurus.ytree"; option java_multiple_files = true; -option go_package = "a.yandex-team.ru/yt/go/proto/core/ytree"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/ytree"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/core/ytree/proto/ypath.proto b/yt/yt_proto/yt/core/ytree/proto/ypath.proto index 5fb905d41e..fd50b28a7f 100644 --- a/yt/yt_proto/yt/core/ytree/proto/ypath.proto +++ b/yt/yt_proto/yt/core/ytree/proto/ypath.proto @@ -3,7 +3,7 @@ package NYT.NYTree.NProto; import "yt_proto/yt/core/rpc/proto/rpc.proto"; import "yt_proto/yt/core/ytree/proto/attributes.proto"; -option go_package = "a.yandex-team.ru/yt/go/proto/core/ytree"; +option go_package = "github.com/ydb-platform/ydb/yt/go/proto/core/ytree"; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt_proto/yt/formats/extension.proto b/yt/yt_proto/yt/formats/extension.proto index 80a529ba95..5d0a28f5a7 100644 --- a/yt/yt_proto/yt/formats/extension.proto +++ b/yt/yt_proto/yt/formats/extension.proto @@ -2,7 +2,7 @@ import "google/protobuf/descriptor.proto"; package NYT; -option go_package = "a.yandex-team.ru/yt/yt_proto/yt/formats"; +option go_package = "github.com/ydb-platform/ydb/yt/yt_proto/yt/formats"; message EWrapperFieldFlag { diff --git a/yt/yt_proto/yt/formats/yamr.proto b/yt/yt_proto/yt/formats/yamr.proto index 457de1f9fc..9c9835bc2d 100644 --- a/yt/yt_proto/yt/formats/yamr.proto +++ b/yt/yt_proto/yt/formats/yamr.proto @@ -2,7 +2,7 @@ import "yt/yt_proto/yt/formats/extension.proto"; package NYT; -option go_package = "a.yandex-team.ru/yt/yt_proto/yt/formats"; +option go_package = "github.com/ydb-platform/ydb/yt/yt_proto/yt/formats"; message TYamr { optional string Key = 1 [(NYT.key_column_name) = "key"]; |