diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1a7ba50..73eda2c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,17 +10,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Setup buf - uses: bufbuild/buf-setup-action@v1 - - name: Lint schema files - uses: bufbuild/buf-lint-action@v1 - with: - input: 'schema' - - name: Check for breaking changes - uses: bufbuild/buf-breaking-action@v1 - with: - input: 'schema' - against: 'https://github.com/gaming-platform/api.git#branch=main,subdir=schema' - name: Ensure no uncommitted changes run: | ./project protoc @@ -33,3 +22,14 @@ jobs: echo "$DIFF" exit 1 fi + - name: Setup buf + uses: bufbuild/buf-setup-action@v1 + - name: Lint schema files + uses: bufbuild/buf-lint-action@v1 + with: + input: 'schema' + - name: Check for breaking changes + uses: bufbuild/buf-breaking-action@v1 + with: + input: 'schema' + against: 'https://github.com/gaming-platform/api.git#branch=main,subdir=schema' diff --git a/Dockerfile b/Dockerfile index 09c6464..ac9c7a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,15 +2,23 @@ FROM ubuntu:22.04 WORKDIR /project +ENV PATH="/usr/local/go/bin:${PATH}" \ + GOPATH="/usr/local/go" + RUN apt-get update && \ apt-get upgrade --yes && \ apt-get install --yes curl unzip && \ curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protoc-25.1-linux-x86_64.zip && \ unzip protoc-25.1-linux-x86_64.zip -d /usr/local bin/protoc && \ unzip protoc-25.1-linux-x86_64.zip -d /usr/local include/* && \ - rm protoc-25.1-linux-x86_64.zip + rm protoc-25.1-linux-x86_64.zip && \ + curl -LO https://go.dev/dl/go1.25.4.linux-amd64.tar.gz && \ + tar -C /usr/local -xzf go1.25.4.linux-amd64.tar.gz && \ + rm -rf go1.25.4.linux-amd64.tar.gz && \ + go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.10 CMD protoc \ --proto_path=schema/ \ --php_out=php/ \ + --go_out=go/ \ $(find schema -name '*.proto') diff --git a/README.md b/README.md index 397f153..4c54db1 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,14 @@ package with the following command. composer require gaming-platform/api ``` +### Go + +Install the package with the following command. + +```bash +go get github.com/gaming-platform/api +``` + ## Contributing You can find the schema definitions in the [/schema](/schema) directory. diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..663be93 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/gaming-platform/api + +go 1.25.4 + +require google.golang.org/protobuf v1.36.10 diff --git a/go/chat/v1/messaging.pb.go b/go/chat/v1/messaging.pb.go new file mode 100644 index 0000000..ba20c1d --- /dev/null +++ b/go/chat/v1/messaging.pb.go @@ -0,0 +1,282 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.10 +// protoc v4.25.1 +// source: gamingplatform/api/chat/v1/messaging.proto + +package chatv1 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +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) +) + +type InitiateChat struct { + state protoimpl.MessageState `protogen:"open.v1"` + IdempotencyKey string `protobuf:"bytes,1,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"` + CorrelationId string `protobuf:"bytes,2,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` + Authors []string `protobuf:"bytes,3,rep,name=authors,proto3" json:"authors,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *InitiateChat) Reset() { + *x = InitiateChat{} + mi := &file_gamingplatform_api_chat_v1_messaging_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *InitiateChat) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InitiateChat) ProtoMessage() {} + +func (x *InitiateChat) ProtoReflect() protoreflect.Message { + mi := &file_gamingplatform_api_chat_v1_messaging_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InitiateChat.ProtoReflect.Descriptor instead. +func (*InitiateChat) Descriptor() ([]byte, []int) { + return file_gamingplatform_api_chat_v1_messaging_proto_rawDescGZIP(), []int{0} +} + +func (x *InitiateChat) GetIdempotencyKey() string { + if x != nil { + return x.IdempotencyKey + } + return "" +} + +func (x *InitiateChat) GetCorrelationId() string { + if x != nil { + return x.CorrelationId + } + return "" +} + +func (x *InitiateChat) GetAuthors() []string { + if x != nil { + return x.Authors + } + return nil +} + +type InitiateChatResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + CorrelationId string `protobuf:"bytes,2,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *InitiateChatResponse) Reset() { + *x = InitiateChatResponse{} + mi := &file_gamingplatform_api_chat_v1_messaging_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *InitiateChatResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InitiateChatResponse) ProtoMessage() {} + +func (x *InitiateChatResponse) ProtoReflect() protoreflect.Message { + mi := &file_gamingplatform_api_chat_v1_messaging_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InitiateChatResponse.ProtoReflect.Descriptor instead. +func (*InitiateChatResponse) Descriptor() ([]byte, []int) { + return file_gamingplatform_api_chat_v1_messaging_proto_rawDescGZIP(), []int{1} +} + +func (x *InitiateChatResponse) GetChatId() string { + if x != nil { + return x.ChatId + } + return "" +} + +func (x *InitiateChatResponse) GetCorrelationId() string { + if x != nil { + return x.CorrelationId + } + return "" +} + +type MessageWritten struct { + state protoimpl.MessageState `protogen:"open.v1"` + ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` + AuthorId string `protobuf:"bytes,3,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"` + // Specifies the date and time the message was written in ISO 8601 format. + WrittenAt string `protobuf:"bytes,4,opt,name=written_at,json=writtenAt,proto3" json:"written_at,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageWritten) Reset() { + *x = MessageWritten{} + mi := &file_gamingplatform_api_chat_v1_messaging_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageWritten) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageWritten) ProtoMessage() {} + +func (x *MessageWritten) ProtoReflect() protoreflect.Message { + mi := &file_gamingplatform_api_chat_v1_messaging_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageWritten.ProtoReflect.Descriptor instead. +func (*MessageWritten) Descriptor() ([]byte, []int) { + return file_gamingplatform_api_chat_v1_messaging_proto_rawDescGZIP(), []int{2} +} + +func (x *MessageWritten) GetChatId() string { + if x != nil { + return x.ChatId + } + return "" +} + +func (x *MessageWritten) GetMessageId() string { + if x != nil { + return x.MessageId + } + return "" +} + +func (x *MessageWritten) GetAuthorId() string { + if x != nil { + return x.AuthorId + } + return "" +} + +func (x *MessageWritten) GetWrittenAt() string { + if x != nil { + return x.WrittenAt + } + return "" +} + +func (x *MessageWritten) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +var File_gamingplatform_api_chat_v1_messaging_proto protoreflect.FileDescriptor + +const file_gamingplatform_api_chat_v1_messaging_proto_rawDesc = "" + + "\n" + + "*gamingplatform/api/chat/v1/messaging.proto\x12\x1agamingplatform.api.chat.v1\"x\n" + + "\fInitiateChat\x12'\n" + + "\x0fidempotency_key\x18\x01 \x01(\tR\x0eidempotencyKey\x12%\n" + + "\x0ecorrelation_id\x18\x02 \x01(\tR\rcorrelationId\x12\x18\n" + + "\aauthors\x18\x03 \x03(\tR\aauthors\"V\n" + + "\x14InitiateChatResponse\x12\x17\n" + + "\achat_id\x18\x01 \x01(\tR\x06chatId\x12%\n" + + "\x0ecorrelation_id\x18\x02 \x01(\tR\rcorrelationId\"\x9e\x01\n" + + "\x0eMessageWritten\x12\x17\n" + + "\achat_id\x18\x01 \x01(\tR\x06chatId\x12\x1d\n" + + "\n" + + "message_id\x18\x02 \x01(\tR\tmessageId\x12\x1b\n" + + "\tauthor_id\x18\x03 \x01(\tR\bauthorId\x12\x1d\n" + + "\n" + + "written_at\x18\x04 \x01(\tR\twrittenAt\x12\x18\n" + + "\amessage\x18\x05 \x01(\tR\amessageBVZ\x0echat/v1;chatv1\xca\x02\x1aGamingPlatform\\Api\\Chat\\V1\xe2\x02&GamingPlatform\\Api\\GPBMetadata\\Chat\\V1b\x06proto3" + +var ( + file_gamingplatform_api_chat_v1_messaging_proto_rawDescOnce sync.Once + file_gamingplatform_api_chat_v1_messaging_proto_rawDescData []byte +) + +func file_gamingplatform_api_chat_v1_messaging_proto_rawDescGZIP() []byte { + file_gamingplatform_api_chat_v1_messaging_proto_rawDescOnce.Do(func() { + file_gamingplatform_api_chat_v1_messaging_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_gamingplatform_api_chat_v1_messaging_proto_rawDesc), len(file_gamingplatform_api_chat_v1_messaging_proto_rawDesc))) + }) + return file_gamingplatform_api_chat_v1_messaging_proto_rawDescData +} + +var file_gamingplatform_api_chat_v1_messaging_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_gamingplatform_api_chat_v1_messaging_proto_goTypes = []any{ + (*InitiateChat)(nil), // 0: gamingplatform.api.chat.v1.InitiateChat + (*InitiateChatResponse)(nil), // 1: gamingplatform.api.chat.v1.InitiateChatResponse + (*MessageWritten)(nil), // 2: gamingplatform.api.chat.v1.MessageWritten +} +var file_gamingplatform_api_chat_v1_messaging_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_gamingplatform_api_chat_v1_messaging_proto_init() } +func file_gamingplatform_api_chat_v1_messaging_proto_init() { + if File_gamingplatform_api_chat_v1_messaging_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_gamingplatform_api_chat_v1_messaging_proto_rawDesc), len(file_gamingplatform_api_chat_v1_messaging_proto_rawDesc)), + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_gamingplatform_api_chat_v1_messaging_proto_goTypes, + DependencyIndexes: file_gamingplatform_api_chat_v1_messaging_proto_depIdxs, + MessageInfos: file_gamingplatform_api_chat_v1_messaging_proto_msgTypes, + }.Build() + File_gamingplatform_api_chat_v1_messaging_proto = out.File + file_gamingplatform_api_chat_v1_messaging_proto_goTypes = nil + file_gamingplatform_api_chat_v1_messaging_proto_depIdxs = nil +} diff --git a/go/identity/v1/messaging.pb.go b/go/identity/v1/messaging.pb.go new file mode 100644 index 0000000..69061b6 --- /dev/null +++ b/go/identity/v1/messaging.pb.go @@ -0,0 +1,187 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.10 +// protoc v4.25.1 +// source: gamingplatform/api/identity/v1/messaging.proto + +package identityv1 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +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) +) + +type UserArrived struct { + state protoimpl.MessageState `protogen:"open.v1"` + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UserArrived) Reset() { + *x = UserArrived{} + mi := &file_gamingplatform_api_identity_v1_messaging_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UserArrived) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserArrived) ProtoMessage() {} + +func (x *UserArrived) ProtoReflect() protoreflect.Message { + mi := &file_gamingplatform_api_identity_v1_messaging_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserArrived.ProtoReflect.Descriptor instead. +func (*UserArrived) Descriptor() ([]byte, []int) { + return file_gamingplatform_api_identity_v1_messaging_proto_rawDescGZIP(), []int{0} +} + +func (x *UserArrived) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +type UserSignedUp struct { + state protoimpl.MessageState `protogen:"open.v1"` + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UserSignedUp) Reset() { + *x = UserSignedUp{} + mi := &file_gamingplatform_api_identity_v1_messaging_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UserSignedUp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserSignedUp) ProtoMessage() {} + +func (x *UserSignedUp) ProtoReflect() protoreflect.Message { + mi := &file_gamingplatform_api_identity_v1_messaging_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserSignedUp.ProtoReflect.Descriptor instead. +func (*UserSignedUp) Descriptor() ([]byte, []int) { + return file_gamingplatform_api_identity_v1_messaging_proto_rawDescGZIP(), []int{1} +} + +func (x *UserSignedUp) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *UserSignedUp) GetUsername() string { + if x != nil { + return x.Username + } + return "" +} + +func (x *UserSignedUp) GetEmail() string { + if x != nil { + return x.Email + } + return "" +} + +var File_gamingplatform_api_identity_v1_messaging_proto protoreflect.FileDescriptor + +const file_gamingplatform_api_identity_v1_messaging_proto_rawDesc = "" + + "\n" + + ".gamingplatform/api/identity/v1/messaging.proto\x12\x1egamingplatform.api.identity.v1\"&\n" + + "\vUserArrived\x12\x17\n" + + "\auser_id\x18\x01 \x01(\tR\x06userId\"Y\n" + + "\fUserSignedUp\x12\x17\n" + + "\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1a\n" + + "\busername\x18\x02 \x01(\tR\busername\x12\x14\n" + + "\x05email\x18\x03 \x01(\tR\x05emailBfZ\x16identity/v1;identityv1\xca\x02\x1eGamingPlatform\\Api\\Identity\\V1\xe2\x02*GamingPlatform\\Api\\GPBMetadata\\Identity\\V1b\x06proto3" + +var ( + file_gamingplatform_api_identity_v1_messaging_proto_rawDescOnce sync.Once + file_gamingplatform_api_identity_v1_messaging_proto_rawDescData []byte +) + +func file_gamingplatform_api_identity_v1_messaging_proto_rawDescGZIP() []byte { + file_gamingplatform_api_identity_v1_messaging_proto_rawDescOnce.Do(func() { + file_gamingplatform_api_identity_v1_messaging_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_gamingplatform_api_identity_v1_messaging_proto_rawDesc), len(file_gamingplatform_api_identity_v1_messaging_proto_rawDesc))) + }) + return file_gamingplatform_api_identity_v1_messaging_proto_rawDescData +} + +var file_gamingplatform_api_identity_v1_messaging_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_gamingplatform_api_identity_v1_messaging_proto_goTypes = []any{ + (*UserArrived)(nil), // 0: gamingplatform.api.identity.v1.UserArrived + (*UserSignedUp)(nil), // 1: gamingplatform.api.identity.v1.UserSignedUp +} +var file_gamingplatform_api_identity_v1_messaging_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_gamingplatform_api_identity_v1_messaging_proto_init() } +func file_gamingplatform_api_identity_v1_messaging_proto_init() { + if File_gamingplatform_api_identity_v1_messaging_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_gamingplatform_api_identity_v1_messaging_proto_rawDesc), len(file_gamingplatform_api_identity_v1_messaging_proto_rawDesc)), + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_gamingplatform_api_identity_v1_messaging_proto_goTypes, + DependencyIndexes: file_gamingplatform_api_identity_v1_messaging_proto_depIdxs, + MessageInfos: file_gamingplatform_api_identity_v1_messaging_proto_msgTypes, + }.Build() + File_gamingplatform_api_identity_v1_messaging_proto = out.File + file_gamingplatform_api_identity_v1_messaging_proto_goTypes = nil + file_gamingplatform_api_identity_v1_messaging_proto_depIdxs = nil +} diff --git a/php/GamingPlatform/Api/GPBMetadata/Chat/V1/Messaging.php b/php/GamingPlatform/Api/GPBMetadata/Chat/V1/Messaging.php index d837f3b..22d9127 100644 --- a/php/GamingPlatform/Api/GPBMetadata/Chat/V1/Messaging.php +++ b/php/GamingPlatform/Api/GPBMetadata/Chat/V1/Messaging.php @@ -16,7 +16,7 @@ public static function initOnce() { } $pool->internalAddGeneratedFile( ' -š +ª *gamingplatform/api/chat/v1/messaging.protogamingplatform.api.chat.v1"P InitiateChat idempotency_key (  @@ -32,7 +32,7 @@ public static function initOnce() { author_id (  written_at (  -message ( BFÊGamingPlatform\\Api\\Chat\\V1â&GamingPlatform\\Api\\GPBMetadata\\Chat\\V1bproto3' +message ( BVZchat/v1;chatv1ÊGamingPlatform\\Api\\Chat\\V1â&GamingPlatform\\Api\\GPBMetadata\\Chat\\V1bproto3' , true); static::$is_initialized = true; diff --git a/php/GamingPlatform/Api/GPBMetadata/Identity/V1/Messaging.php b/php/GamingPlatform/Api/GPBMetadata/Identity/V1/Messaging.php index 61b39bf..fc9b00f 100644 --- a/php/GamingPlatform/Api/GPBMetadata/Identity/V1/Messaging.php +++ b/php/GamingPlatform/Api/GPBMetadata/Identity/V1/Messaging.php @@ -16,14 +16,14 @@ public static function initOnce() { } $pool->internalAddGeneratedFile( ' -Š +¢ .gamingplatform/api/identity/v1/messaging.protogamingplatform.api.identity.v1" UserArrived user_id ( "@ UserSignedUp user_id (  username (  -email ( BNÊGamingPlatform\\Api\\Identity\\V1â*GamingPlatform\\Api\\GPBMetadata\\Identity\\V1bproto3' +email ( BfZidentity/v1;identityv1ÊGamingPlatform\\Api\\Identity\\V1â*GamingPlatform\\Api\\GPBMetadata\\Identity\\V1bproto3' , true); static::$is_initialized = true; diff --git a/schema/gamingplatform/api/chat/v1/messaging.proto b/schema/gamingplatform/api/chat/v1/messaging.proto index a92470f..af129c6 100644 --- a/schema/gamingplatform/api/chat/v1/messaging.proto +++ b/schema/gamingplatform/api/chat/v1/messaging.proto @@ -2,6 +2,7 @@ syntax = "proto3"; package gamingplatform.api.chat.v1; +option go_package = "chat/v1;chatv1"; option php_namespace = "GamingPlatform\\Api\\Chat\\V1"; option php_metadata_namespace = "GamingPlatform\\Api\\GPBMetadata\\Chat\\V1"; diff --git a/schema/gamingplatform/api/identity/v1/messaging.proto b/schema/gamingplatform/api/identity/v1/messaging.proto index 752b1df..a19c2bc 100644 --- a/schema/gamingplatform/api/identity/v1/messaging.proto +++ b/schema/gamingplatform/api/identity/v1/messaging.proto @@ -2,6 +2,7 @@ syntax = "proto3"; package gamingplatform.api.identity.v1; +option go_package = "identity/v1;identityv1"; option php_namespace = "GamingPlatform\\Api\\Identity\\V1"; option php_metadata_namespace = "GamingPlatform\\Api\\GPBMetadata\\Identity\\V1";