update 【gRPC API】 proto files

This commit is contained in:
社会易姐QwQ
2022-02-02 20:25:16 +08:00
parent 57f264f996
commit c14f8c455e
14 changed files with 1492 additions and 846 deletions

View File

@@ -2,16 +2,6 @@ syntax = "proto3";
package bilibili.metadata.locale;
// Defined by https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPInternational/LanguageandLocaleIDs/LanguageandLocaleIDs.html
message LocaleIds {
// A language designator is a code that represents a language.
string language = 1;
// Writing systems.
string script = 2;
// A region designator is a code that represents a country or an area.
string region = 3;
}
// 区域标识
// gRPC头部:x-bili-locale-bin
message Locale {
@@ -24,3 +14,13 @@ message Locale {
// 时区
string timezone = 4;
}
// Defined by https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPInternational/LanguageandLocaleIDs/LanguageandLocaleIDs.html
message LocaleIds {
// A language designator is a code that represents a language.
string language = 1;
// Writing systems.
string script = 2;
// A region designator is a code that represents a country or an area.
string region = 3;
}