diff --git a/larksuite-oapi-shaded-protobuf/pom.xml b/larksuite-oapi-shaded-protobuf/pom.xml new file mode 100644 index 000000000..4dfea83ff --- /dev/null +++ b/larksuite-oapi-shaded-protobuf/pom.xml @@ -0,0 +1,93 @@ + + + 4.0.0 + + com.larksuite.oapi + larksuite + 2.0.0 + + + larksuite-oapi-shaded-protobuf + jar + 2.3.6 + + + 8 + 8 + UTF-8 + + + + + com.google.protobuf + protobuf-java + 3.22.2 + + + + + + + org.apache.maven.plugins + maven-shade-plugin + + true + + + + shade-protobuf + package + + shade + + + + + com.google.protobuf:protobuf-java + + + + + com.google.protobuf:* + + **/* + + + + + + com/google/protobuf + com/lark/oapi/google/protobuf + + + google/ + com.lark.oapi.google. + + **/*.proto + + + + + + + NOTICE + LICENSE + + + + META-INF/LICENSE.txt + ${basedir}/../LICENSE-binary + + + + + + + + + + \ No newline at end of file diff --git a/larksuite-oapi/pom.xml b/larksuite-oapi/pom.xml index 132829c74..d09b66eae 100644 --- a/larksuite-oapi/pom.xml +++ b/larksuite-oapi/pom.xml @@ -185,9 +185,9 @@ 4.5.13 - com.google.protobuf - protobuf-java - 3.22.2 + com.larksuite.oapi + larksuite-oapi-shaded-protobuf + 2.3.6 com.google.guava diff --git a/larksuite-oapi/src/main/java/com/lark/oapi/ws/Client.java b/larksuite-oapi/src/main/java/com/lark/oapi/ws/Client.java index 93812e217..3e4519975 100644 --- a/larksuite-oapi/src/main/java/com/lark/oapi/ws/Client.java +++ b/larksuite-oapi/src/main/java/com/lark/oapi/ws/Client.java @@ -2,7 +2,7 @@ import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; -import com.google.protobuf.ByteString; +import com.lark.oapi.google.protobuf.ByteString; import com.lark.oapi.core.enums.BaseUrlEnum; import com.lark.oapi.core.utils.Jsons; import com.lark.oapi.event.EventDispatcher; @@ -194,28 +194,29 @@ private String getConnUrl() throws IOException { .addHeader("locale", "zh") .post(RequestBody.create(MediaType.parse("application/json; charset=utf-8"), body)) .build(); - Response response = this.httpClient.newCall(request).execute(); - if (response.code() != 200 || response.body() == null) { - throw new ServerException(response.code(), "system busy"); - } + try (Response response = this.httpClient.newCall(request).execute()) { + if (response.code() != 200 || response.body() == null) { + throw new ServerException(response.code(), "system busy"); + } - EndpointResp resp = Jsons.DEFAULT.fromJson(response.body().string(), EndpointResp.class); - if (resp.getCode() == OK) { - // do nothing - } else if (resp.getCode() == SYSTEM_BUSY) { - throw new ServerException(resp.getCode(), "system busy"); - } else if (resp.getCode() == INTERNAL_ERROR) { - throw new ServerException(resp.getCode(), resp.getMsg()); - } else { - throw new ClientException(resp.getCode(), resp.getMsg()); - } + EndpointResp resp = Jsons.DEFAULT.fromJson(response.body().string(), EndpointResp.class); + if (resp.getCode() == OK) { + // do nothing + } else if (resp.getCode() == SYSTEM_BUSY) { + throw new ServerException(resp.getCode(), "system busy"); + } else if (resp.getCode() == INTERNAL_ERROR) { + throw new ServerException(resp.getCode(), resp.getMsg()); + } else { + throw new ClientException(resp.getCode(), resp.getMsg()); + } - Endpoint data = resp.getData(); - if (data.getClientConfig() != null) { - this.configure(data.getClientConfig()); - } + Endpoint data = resp.getData(); + if (data.getClientConfig() != null) { + this.configure(data.getClientConfig()); + } - return data.getUrl(); + return data.getUrl(); + } } private synchronized void connect() throws IOException { @@ -352,7 +353,7 @@ private void configure(ClientConfig conf) { } private HttpUrl parseUrl(String url) { - String httpUrl = connUrl.replace("wss://", "https://").replace("ws://", "https://"); + String httpUrl = url.replace("wss://", "https://").replace("ws://", "https://"); HttpUrl u = HttpUrl.parse(httpUrl); if (u == null) { throw new ServerException(500, "connect url is invalid"); diff --git a/larksuite-oapi/src/main/java/com/lark/oapi/ws/pb/GoGoProtos.java b/larksuite-oapi/src/main/java/com/lark/oapi/ws/pb/GoGoProtos.java index 81818851c..eba913488 100644 --- a/larksuite-oapi/src/main/java/com/lark/oapi/ws/pb/GoGoProtos.java +++ b/larksuite-oapi/src/main/java/com/lark/oapi/ws/pb/GoGoProtos.java @@ -9,9 +9,9 @@ public final class GoGoProtos { * extend .google.protobuf.EnumOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.EnumOptions, - Boolean> goprotoEnumPrefix = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.EnumOptions, + Boolean> goprotoEnumPrefix = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -20,9 +20,9 @@ public final class GoGoProtos { * extend .google.protobuf.EnumOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.EnumOptions, - Boolean> goprotoEnumStringer = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.EnumOptions, + Boolean> goprotoEnumStringer = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -31,9 +31,9 @@ public final class GoGoProtos { * extend .google.protobuf.EnumOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.EnumOptions, - Boolean> enumStringer = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.EnumOptions, + Boolean> enumStringer = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -42,9 +42,9 @@ public final class GoGoProtos { * extend .google.protobuf.EnumOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.EnumOptions, - String> enumCustomname = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.EnumOptions, + String> enumCustomname = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( String.class, null); @@ -53,9 +53,9 @@ public final class GoGoProtos { * extend .google.protobuf.EnumOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.EnumOptions, - Boolean> enumdecl = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.EnumOptions, + Boolean> enumdecl = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -64,9 +64,9 @@ public final class GoGoProtos { * extend .google.protobuf.EnumValueOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.EnumValueOptions, - String> enumvalueCustomname = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.EnumValueOptions, + String> enumvalueCustomname = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( String.class, null); @@ -75,9 +75,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> goprotoGettersAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> goprotoGettersAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -86,9 +86,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> goprotoEnumPrefixAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> goprotoEnumPrefixAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -97,9 +97,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> goprotoStringerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> goprotoStringerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -108,9 +108,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> verboseEqualAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> verboseEqualAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -119,9 +119,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> faceAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> faceAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -130,9 +130,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> gostringAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> gostringAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -141,9 +141,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> populateAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> populateAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -152,9 +152,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> stringerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> stringerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -163,9 +163,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> onlyoneAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> onlyoneAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -174,9 +174,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> equalAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> equalAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -185,9 +185,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> descriptionAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> descriptionAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -196,9 +196,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> testgenAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> testgenAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -207,9 +207,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> benchgenAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> benchgenAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -218,9 +218,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> marshalerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> marshalerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -229,9 +229,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> unmarshalerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> unmarshalerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -240,9 +240,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> stableMarshalerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> stableMarshalerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -251,9 +251,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> sizerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> sizerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -262,9 +262,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> goprotoEnumStringerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> goprotoEnumStringerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -273,9 +273,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> enumStringerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> enumStringerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -284,9 +284,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> unsafeMarshalerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> unsafeMarshalerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -295,9 +295,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> unsafeUnmarshalerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> unsafeUnmarshalerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -306,9 +306,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> goprotoExtensionsMapAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> goprotoExtensionsMapAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -317,9 +317,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> goprotoUnrecognizedAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> goprotoUnrecognizedAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -328,9 +328,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> gogoprotoImport = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> gogoprotoImport = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -339,9 +339,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> protosizerAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> protosizerAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -350,9 +350,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> compareAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> compareAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -361,9 +361,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> typedeclAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> typedeclAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -372,9 +372,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> enumdeclAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> enumdeclAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -383,9 +383,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> goprotoRegistration = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> goprotoRegistration = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -394,9 +394,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> messagenameAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> messagenameAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -405,9 +405,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> goprotoSizecacheAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> goprotoSizecacheAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -416,9 +416,9 @@ public final class GoGoProtos { * extend .google.protobuf.FileOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FileOptions, - Boolean> goprotoUnkeyedAll = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FileOptions, + Boolean> goprotoUnkeyedAll = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -427,9 +427,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> goprotoGetters = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> goprotoGetters = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -438,9 +438,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> goprotoStringer = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> goprotoStringer = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -449,9 +449,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> verboseEqual = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> verboseEqual = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -460,9 +460,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> face = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> face = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -471,9 +471,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> gostring = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> gostring = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -482,9 +482,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> populate = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> populate = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -493,9 +493,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> stringer = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> stringer = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -504,9 +504,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> onlyone = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> onlyone = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -515,9 +515,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> equal = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> equal = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -526,9 +526,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> description = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> description = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -537,9 +537,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> testgen = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> testgen = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -548,9 +548,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> benchgen = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> benchgen = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -559,9 +559,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> marshaler = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> marshaler = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -570,9 +570,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> unmarshaler = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> unmarshaler = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -581,9 +581,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> stableMarshaler = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> stableMarshaler = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -592,9 +592,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> sizer = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> sizer = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -603,9 +603,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> unsafeMarshaler = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> unsafeMarshaler = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -614,9 +614,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> unsafeUnmarshaler = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> unsafeUnmarshaler = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -625,9 +625,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> goprotoExtensionsMap = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> goprotoExtensionsMap = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -636,9 +636,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> goprotoUnrecognized = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> goprotoUnrecognized = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -647,9 +647,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> protosizer = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> protosizer = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -658,9 +658,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> compare = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> compare = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -669,9 +669,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> typedecl = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> typedecl = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -680,9 +680,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> messagename = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> messagename = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -691,9 +691,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> goprotoSizecache = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> goprotoSizecache = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -702,9 +702,9 @@ public final class GoGoProtos { * extend .google.protobuf.MessageOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.MessageOptions, - Boolean> goprotoUnkeyed = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.MessageOptions, + Boolean> goprotoUnkeyed = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -713,9 +713,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - Boolean> nullable = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + Boolean> nullable = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -724,9 +724,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - Boolean> embed = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + Boolean> embed = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -735,9 +735,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - String> customtype = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + String> customtype = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( String.class, null); @@ -746,9 +746,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - String> customname = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + String> customname = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( String.class, null); @@ -757,9 +757,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - String> jsontag = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + String> jsontag = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( String.class, null); @@ -768,9 +768,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - String> moretags = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + String> moretags = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( String.class, null); @@ -779,9 +779,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - String> casttype = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + String> casttype = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( String.class, null); @@ -790,9 +790,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - String> castkey = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + String> castkey = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( String.class, null); @@ -801,9 +801,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - String> castvalue = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + String> castvalue = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( String.class, null); @@ -812,9 +812,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - Boolean> stdtime = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + Boolean> stdtime = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -823,9 +823,9 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - Boolean> stdduration = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + Boolean> stdduration = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); @@ -834,13 +834,13 @@ public final class GoGoProtos { * extend .google.protobuf.FieldOptions { ... } */ public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - Boolean> wktpointer = com.google.protobuf.GeneratedMessage + com.lark.oapi.google.protobuf.GeneratedMessage.GeneratedExtension< + com.lark.oapi.google.protobuf.DescriptorProtos.FieldOptions, + Boolean> wktpointer = com.lark.oapi.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( Boolean.class, null); - private static com.google.protobuf.Descriptors.FileDescriptor + private static com.lark.oapi.google.protobuf.Descriptors.FileDescriptor descriptor; static { @@ -957,10 +957,10 @@ public final class GoGoProtos { "oapi.ws.pbB\nGoGoProtosZ\"github.com/gogo/" + "protobuf/gogoproto" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor + descriptor = com.lark.oapi.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[]{ - com.google.protobuf.DescriptorProtos.getDescriptor(), + new com.lark.oapi.google.protobuf.Descriptors.FileDescriptor[]{ + com.lark.oapi.google.protobuf.DescriptorProtos.getDescriptor(), }); goprotoEnumPrefix.internalInit(descriptor.getExtensions().get(0)); goprotoEnumStringer.internalInit(descriptor.getExtensions().get(1)); @@ -1038,14 +1038,14 @@ public final class GoGoProtos { stdtime.internalInit(descriptor.getExtensions().get(73)); stdduration.internalInit(descriptor.getExtensions().get(74)); wktpointer.internalInit(descriptor.getExtensions().get(75)); - com.google.protobuf.DescriptorProtos.getDescriptor(); + com.lark.oapi.google.protobuf.DescriptorProtos.getDescriptor(); } private GoGoProtos() { } public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { + com.lark.oapi.google.protobuf.ExtensionRegistryLite registry) { registry.add(GoGoProtos.goprotoEnumPrefix); registry.add(GoGoProtos.goprotoEnumStringer); registry.add(GoGoProtos.enumStringer); @@ -1125,12 +1125,12 @@ public static void registerAllExtensions( } public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { + com.lark.oapi.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + (com.lark.oapi.google.protobuf.ExtensionRegistryLite) registry); } - public static com.google.protobuf.Descriptors.FileDescriptor + public static com.lark.oapi.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } diff --git a/larksuite-oapi/src/main/java/com/lark/oapi/ws/pb/Pbbp2.java b/larksuite-oapi/src/main/java/com/lark/oapi/ws/pb/Pbbp2.java index d28febf2d..4b21c3ff6 100644 --- a/larksuite-oapi/src/main/java/com/lark/oapi/ws/pb/Pbbp2.java +++ b/larksuite-oapi/src/main/java/com/lark/oapi/ws/pb/Pbbp2.java @@ -4,17 +4,17 @@ package com.lark.oapi.ws.pb; public final class Pbbp2 { - private static final com.google.protobuf.Descriptors.Descriptor + private static final com.lark.oapi.google.protobuf.Descriptors.Descriptor internal_static_pbbp2_Header_descriptor; private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + com.lark.oapi.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_pbbp2_Header_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor + private static final com.lark.oapi.google.protobuf.Descriptors.Descriptor internal_static_pbbp2_Frame_descriptor; private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + com.lark.oapi.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_pbbp2_Frame_fieldAccessorTable; - private static com.google.protobuf.Descriptors.FileDescriptor + private static com.lark.oapi.google.protobuf.Descriptors.FileDescriptor descriptor; static { @@ -28,27 +28,27 @@ public final class Pbbp2 { "\030\010 \001(\014\022\020\n\010LogIDNew\030\t \001(\tB\025\n\023com.lark.oap" + "i.ws.pb" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor + descriptor = com.lark.oapi.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[]{ + new com.lark.oapi.google.protobuf.Descriptors.FileDescriptor[]{ GoGoProtos.getDescriptor(), }); internal_static_pbbp2_Header_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_pbbp2_Header_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + com.lark.oapi.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pbbp2_Header_descriptor, new String[]{"Key", "Value",}); internal_static_pbbp2_Frame_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_pbbp2_Frame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + com.lark.oapi.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_pbbp2_Frame_descriptor, new String[]{"SeqID", "LogID", "Service", "Method", "Headers", "PayloadEncoding", "PayloadType", "Payload", "LogIDNew",}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); + com.lark.oapi.google.protobuf.ExtensionRegistry registry = + com.lark.oapi.google.protobuf.ExtensionRegistry.newInstance(); registry.add(GoGoProtos.nullable); - com.google.protobuf.Descriptors.FileDescriptor + com.lark.oapi.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); GoGoProtos.getDescriptor(); } @@ -57,23 +57,23 @@ private Pbbp2() { } public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { + com.lark.oapi.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { + com.lark.oapi.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + (com.lark.oapi.google.protobuf.ExtensionRegistryLite) registry); } - public static com.google.protobuf.Descriptors.FileDescriptor + public static com.lark.oapi.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } public interface HeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:pbbp2.Header) - com.google.protobuf.MessageOrBuilder { + com.lark.oapi.google.protobuf.MessageOrBuilder { /** * required string key = 1; @@ -94,7 +94,7 @@ public interface HeaderOrBuilder extends * * @return The bytes for key. */ - com.google.protobuf.ByteString + com.lark.oapi.google.protobuf.ByteString getKeyBytes(); /** @@ -116,13 +116,13 @@ public interface HeaderOrBuilder extends * * @return The bytes for value. */ - com.google.protobuf.ByteString + com.lark.oapi.google.protobuf.ByteString getValueBytes(); } public interface FrameOrBuilder extends // @@protoc_insertion_point(interface_extends:pbbp2.Frame) - com.google.protobuf.MessageOrBuilder { + com.lark.oapi.google.protobuf.MessageOrBuilder { /** * required uint64 SeqID = 1; @@ -239,7 +239,7 @@ HeaderOrBuilder getHeadersOrBuilder( * * @return The bytes for payloadEncoding. */ - com.google.protobuf.ByteString + com.lark.oapi.google.protobuf.ByteString getPayloadEncodingBytes(); /** @@ -273,7 +273,7 @@ HeaderOrBuilder getHeadersOrBuilder( * * @return The bytes for payloadType. */ - com.google.protobuf.ByteString + com.lark.oapi.google.protobuf.ByteString getPayloadTypeBytes(); /** @@ -296,7 +296,7 @@ HeaderOrBuilder getHeadersOrBuilder( * * @return The payload. */ - com.google.protobuf.ByteString getPayload(); + com.lark.oapi.google.protobuf.ByteString getPayload(); /** * optional string LogIDNew = 9; @@ -317,7 +317,7 @@ HeaderOrBuilder getHeadersOrBuilder( * * @return The bytes for logIDNew. */ - com.google.protobuf.ByteString + com.lark.oapi.google.protobuf.ByteString getLogIDNewBytes(); } @@ -325,19 +325,19 @@ HeaderOrBuilder getHeadersOrBuilder( * Protobuf type {@code pbbp2.Header} */ public static final class Header extends - com.google.protobuf.GeneratedMessageV3 implements + com.lark.oapi.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:pbbp2.Header) HeaderOrBuilder { public static final int KEY_FIELD_NUMBER = 1; public static final int VALUE_FIELD_NUMBER = 2; @Deprecated - public static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser
() { + public static final com.lark.oapi.google.protobuf.Parser
+ PARSER = new com.lark.oapi.google.protobuf.AbstractParser
() { @Override public Header parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.CodedInputStream input, + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return new Header(input, extensionRegistry); } }; @@ -355,7 +355,7 @@ public Header parsePartialFrom( private byte memoizedIsInitialized = -1; // Use Header.newBuilder() to construct. - private Header(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Header(com.lark.oapi.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -365,16 +365,16 @@ private Header() { } private Header( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.CodedInputStream input, + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new NullPointerException(); } int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); + com.lark.oapi.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.lark.oapi.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -384,13 +384,13 @@ private Header( done = true; break; case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); + com.lark.oapi.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; key_ = bs; break; } case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); + com.lark.oapi.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; value_ = bs; break; @@ -404,10 +404,10 @@ private Header( } } } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { + } catch (com.lark.oapi.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( + throw new com.lark.oapi.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); @@ -415,89 +415,89 @@ private Header( } } - public static final com.google.protobuf.Descriptors.Descriptor + public static final com.lark.oapi.google.protobuf.Descriptors.Descriptor getDescriptor() { return Pbbp2.internal_static_pbbp2_Header_descriptor; } public static Header parseFrom( java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static Header parseFrom( java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static Header parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.ByteString data) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static Header parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.ByteString data, + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static Header parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static Header parseFrom( byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static Header parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static Header parseFrom( java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static Header parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static Header parseDelimitedFrom( java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static Header parseFrom( - com.google.protobuf.CodedInputStream input) + com.lark.oapi.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static Header parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + com.lark.oapi.google.protobuf.CodedInputStream input, + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @@ -513,7 +513,7 @@ public static Header getDefaultInstance() { return DEFAULT_INSTANCE; } - public static com.google.protobuf.Parser
parser() { + public static com.lark.oapi.google.protobuf.Parser
parser() { return PARSER; } @@ -525,7 +525,7 @@ protected Object newInstance( } @Override - public final com.google.protobuf.UnknownFieldSet + public final com.lark.oapi.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } @@ -559,8 +559,8 @@ public String getKey() { if (ref instanceof String) { return (String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.lark.oapi.google.protobuf.ByteString bs = + (com.lark.oapi.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { key_ = s; @@ -575,17 +575,17 @@ public String getKey() { * @return The bytes for key. */ @Override - public com.google.protobuf.ByteString + public com.lark.oapi.google.protobuf.ByteString getKeyBytes() { Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( + com.lark.oapi.google.protobuf.ByteString b = + com.lark.oapi.google.protobuf.ByteString.copyFromUtf8( (String) ref); key_ = b; return b; } else { - return (com.google.protobuf.ByteString) ref; + return (com.lark.oapi.google.protobuf.ByteString) ref; } } @@ -610,8 +610,8 @@ public String getValue() { if (ref instanceof String) { return (String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.lark.oapi.google.protobuf.ByteString bs = + (com.lark.oapi.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { value_ = s; @@ -626,17 +626,17 @@ public String getValue() { * @return The bytes for value. */ @Override - public com.google.protobuf.ByteString + public com.lark.oapi.google.protobuf.ByteString getValueBytes() { Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( + com.lark.oapi.google.protobuf.ByteString b = + com.lark.oapi.google.protobuf.ByteString.copyFromUtf8( (String) ref); value_ = b; return b; } else { - return (com.google.protobuf.ByteString) ref; + return (com.lark.oapi.google.protobuf.ByteString) ref; } } @@ -659,13 +659,13 @@ public final boolean isInitialized() { } @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) + public void writeTo(com.lark.oapi.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); + com.lark.oapi.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + com.lark.oapi.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); } unknownFields.writeTo(output); } @@ -677,10 +677,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); + size += com.lark.oapi.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + size += com.lark.oapi.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -750,7 +750,7 @@ protected Builder newBuilderForType( } @Override - public com.google.protobuf.Parser
getParserForType() { + public com.lark.oapi.google.protobuf.Parser
getParserForType() { return PARSER; } @@ -763,7 +763,7 @@ public Header getDefaultInstanceForType() { * Protobuf type {@code pbbp2.Header} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + com.lark.oapi.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:pbbp2.Header) HeaderOrBuilder { private int bitField0_; @@ -781,7 +781,7 @@ private Builder( maybeForceBuilderInitialization(); } - public static final com.google.protobuf.Descriptors.Descriptor + public static final com.lark.oapi.google.protobuf.Descriptors.Descriptor getDescriptor() { return Pbbp2.internal_static_pbbp2_Header_descriptor; } @@ -795,7 +795,7 @@ private Builder( } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 + if (com.lark.oapi.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @@ -811,7 +811,7 @@ public Builder clear() { } @Override - public com.google.protobuf.Descriptors.Descriptor + public com.lark.oapi.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return Pbbp2.internal_static_pbbp2_Header_descriptor; } @@ -855,39 +855,39 @@ public Builder clone() { @Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, + com.lark.oapi.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return super.setField(field, value); } @Override public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + com.lark.oapi.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @Override public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + com.lark.oapi.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, + com.lark.oapi.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return super.setRepeatedField(field, index, value); } @Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, + com.lark.oapi.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return super.addRepeatedField(field, value); } @Override - public Builder mergeFrom(com.google.protobuf.Message other) { + public Builder mergeFrom(com.lark.oapi.google.protobuf.Message other) { if (other instanceof Header) { return mergeFrom((Header) other); } else { @@ -926,13 +926,13 @@ public final boolean isInitialized() { @Override public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + com.lark.oapi.google.protobuf.CodedInputStream input, + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { Header parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { + } catch (com.lark.oapi.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (Header) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { @@ -960,8 +960,8 @@ public boolean hasKey() { public String getKey() { Object ref = key_; if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.lark.oapi.google.protobuf.ByteString bs = + (com.lark.oapi.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { key_ = s; @@ -994,17 +994,17 @@ public Builder setKey( * * @return The bytes for key. */ - public com.google.protobuf.ByteString + public com.lark.oapi.google.protobuf.ByteString getKeyBytes() { Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( + com.lark.oapi.google.protobuf.ByteString b = + com.lark.oapi.google.protobuf.ByteString.copyFromUtf8( (String) ref); key_ = b; return b; } else { - return (com.google.protobuf.ByteString) ref; + return (com.lark.oapi.google.protobuf.ByteString) ref; } } @@ -1015,7 +1015,7 @@ public Builder setKey( * @return This builder for chaining. */ public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + com.lark.oapi.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } @@ -1054,8 +1054,8 @@ public boolean hasValue() { public String getValue() { Object ref = value_; if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.lark.oapi.google.protobuf.ByteString bs = + (com.lark.oapi.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { value_ = s; @@ -1088,17 +1088,17 @@ public Builder setValue( * * @return The bytes for value. */ - public com.google.protobuf.ByteString + public com.lark.oapi.google.protobuf.ByteString getValueBytes() { Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( + com.lark.oapi.google.protobuf.ByteString b = + com.lark.oapi.google.protobuf.ByteString.copyFromUtf8( (String) ref); value_ = b; return b; } else { - return (com.google.protobuf.ByteString) ref; + return (com.lark.oapi.google.protobuf.ByteString) ref; } } @@ -1109,7 +1109,7 @@ public Builder setValue( * @return This builder for chaining. */ public Builder setValueBytes( - com.google.protobuf.ByteString value) { + com.lark.oapi.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } @@ -1133,13 +1133,13 @@ public Builder clearValue() { @Override public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + final com.lark.oapi.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @Override public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + final com.lark.oapi.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } @@ -1157,7 +1157,7 @@ public final Builder mergeUnknownFields( * Protobuf type {@code pbbp2.Frame} */ public static final class Frame extends - com.google.protobuf.GeneratedMessageV3 implements + com.lark.oapi.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:pbbp2.Frame) FrameOrBuilder { public static final int SEQID_FIELD_NUMBER = 1; @@ -1170,13 +1170,13 @@ public static final class Frame extends public static final int PAYLOAD_FIELD_NUMBER = 8; public static final int LOGIDNEW_FIELD_NUMBER = 9; @Deprecated - public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + public static final com.lark.oapi.google.protobuf.Parser + PARSER = new com.lark.oapi.google.protobuf.AbstractParser() { @Override public Frame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.CodedInputStream input, + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return new Frame(input, extensionRegistry); } }; @@ -1196,12 +1196,12 @@ public Frame parsePartialFrom( private java.util.List
headers_; private volatile Object payloadEncoding_; private volatile Object payloadType_; - private com.google.protobuf.ByteString payload_; + private com.lark.oapi.google.protobuf.ByteString payload_; private volatile Object logIDNew_; private byte memoizedIsInitialized = -1; // Use Frame.newBuilder() to construct. - private Frame(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Frame(com.lark.oapi.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -1209,21 +1209,21 @@ private Frame() { headers_ = java.util.Collections.emptyList(); payloadEncoding_ = ""; payloadType_ = ""; - payload_ = com.google.protobuf.ByteString.EMPTY; + payload_ = com.lark.oapi.google.protobuf.ByteString.EMPTY; logIDNew_ = ""; } private Frame( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.CodedInputStream input, + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new NullPointerException(); } int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); + com.lark.oapi.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.lark.oapi.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -1262,13 +1262,13 @@ private Frame( break; } case 50: { - com.google.protobuf.ByteString bs = input.readBytes(); + com.lark.oapi.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; payloadEncoding_ = bs; break; } case 58: { - com.google.protobuf.ByteString bs = input.readBytes(); + com.lark.oapi.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; payloadType_ = bs; break; @@ -1279,7 +1279,7 @@ private Frame( break; } case 74: { - com.google.protobuf.ByteString bs = input.readBytes(); + com.lark.oapi.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; logIDNew_ = bs; break; @@ -1293,10 +1293,10 @@ private Frame( } } } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { + } catch (com.lark.oapi.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( + throw new com.lark.oapi.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000010) != 0)) { @@ -1307,89 +1307,89 @@ private Frame( } } - public static final com.google.protobuf.Descriptors.Descriptor + public static final com.lark.oapi.google.protobuf.Descriptors.Descriptor getDescriptor() { return Pbbp2.internal_static_pbbp2_Frame_descriptor; } public static Frame parseFrom( java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static Frame parseFrom( java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static Frame parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.ByteString data) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static Frame parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.ByteString data, + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static Frame parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static Frame parseFrom( byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.lark.oapi.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static Frame parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static Frame parseFrom( java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static Frame parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static Frame parseDelimitedFrom( java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static Frame parseFrom( - com.google.protobuf.CodedInputStream input) + com.lark.oapi.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static Frame parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + com.lark.oapi.google.protobuf.CodedInputStream input, + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 + return com.lark.oapi.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @@ -1405,7 +1405,7 @@ public static Frame getDefaultInstance() { return DEFAULT_INSTANCE; } - public static com.google.protobuf.Parser parser() { + public static com.lark.oapi.google.protobuf.Parser parser() { return PARSER; } @@ -1417,7 +1417,7 @@ protected Object newInstance( } @Override - public final com.google.protobuf.UnknownFieldSet + public final com.lark.oapi.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } @@ -1581,8 +1581,8 @@ public String getPayloadEncoding() { if (ref instanceof String) { return (String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.lark.oapi.google.protobuf.ByteString bs = + (com.lark.oapi.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { payloadEncoding_ = s; @@ -1601,17 +1601,17 @@ public String getPayloadEncoding() { * @return The bytes for payloadEncoding. */ @Override - public com.google.protobuf.ByteString + public com.lark.oapi.google.protobuf.ByteString getPayloadEncodingBytes() { Object ref = payloadEncoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( + com.lark.oapi.google.protobuf.ByteString b = + com.lark.oapi.google.protobuf.ByteString.copyFromUtf8( (String) ref); payloadEncoding_ = b; return b; } else { - return (com.google.protobuf.ByteString) ref; + return (com.lark.oapi.google.protobuf.ByteString) ref; } } @@ -1644,8 +1644,8 @@ public String getPayloadType() { if (ref instanceof String) { return (String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.lark.oapi.google.protobuf.ByteString bs = + (com.lark.oapi.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { payloadType_ = s; @@ -1664,17 +1664,17 @@ public String getPayloadType() { * @return The bytes for payloadType. */ @Override - public com.google.protobuf.ByteString + public com.lark.oapi.google.protobuf.ByteString getPayloadTypeBytes() { Object ref = payloadType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( + com.lark.oapi.google.protobuf.ByteString b = + com.lark.oapi.google.protobuf.ByteString.copyFromUtf8( (String) ref); payloadType_ = b; return b; } else { - return (com.google.protobuf.ByteString) ref; + return (com.lark.oapi.google.protobuf.ByteString) ref; } } @@ -1702,7 +1702,7 @@ public boolean hasPayload() { * @return The payload. */ @Override - public com.google.protobuf.ByteString getPayload() { + public com.lark.oapi.google.protobuf.ByteString getPayload() { return payload_; } @@ -1727,8 +1727,8 @@ public String getLogIDNew() { if (ref instanceof String) { return (String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.lark.oapi.google.protobuf.ByteString bs = + (com.lark.oapi.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { logIDNew_ = s; @@ -1743,17 +1743,17 @@ public String getLogIDNew() { * @return The bytes for logIDNew. */ @Override - public com.google.protobuf.ByteString + public com.lark.oapi.google.protobuf.ByteString getLogIDNewBytes() { Object ref = logIDNew_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( + com.lark.oapi.google.protobuf.ByteString b = + com.lark.oapi.google.protobuf.ByteString.copyFromUtf8( (String) ref); logIDNew_ = b; return b; } else { - return (com.google.protobuf.ByteString) ref; + return (com.lark.oapi.google.protobuf.ByteString) ref; } } @@ -1790,7 +1790,7 @@ public final boolean isInitialized() { } @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) + public void writeTo(com.lark.oapi.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt64(1, seqID_); @@ -1808,16 +1808,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(5, headers_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, payloadEncoding_); + com.lark.oapi.google.protobuf.GeneratedMessageV3.writeString(output, 6, payloadEncoding_); } if (((bitField0_ & 0x00000020) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, payloadType_); + com.lark.oapi.google.protobuf.GeneratedMessageV3.writeString(output, 7, payloadType_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBytes(8, payload_); } if (((bitField0_ & 0x00000080) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, logIDNew_); + com.lark.oapi.google.protobuf.GeneratedMessageV3.writeString(output, 9, logIDNew_); } unknownFields.writeTo(output); } @@ -1829,37 +1829,37 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream + size += com.lark.oapi.google.protobuf.CodedOutputStream .computeUInt64Size(1, seqID_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream + size += com.lark.oapi.google.protobuf.CodedOutputStream .computeUInt64Size(2, logID_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream + size += com.lark.oapi.google.protobuf.CodedOutputStream .computeInt32Size(3, service_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream + size += com.lark.oapi.google.protobuf.CodedOutputStream .computeInt32Size(4, method_); } for (int i = 0; i < headers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream + size += com.lark.oapi.google.protobuf.CodedOutputStream .computeMessageSize(5, headers_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, payloadEncoding_); + size += com.lark.oapi.google.protobuf.GeneratedMessageV3.computeStringSize(6, payloadEncoding_); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, payloadType_); + size += com.lark.oapi.google.protobuf.GeneratedMessageV3.computeStringSize(7, payloadType_); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream + size += com.lark.oapi.google.protobuf.CodedOutputStream .computeBytesSize(8, payload_); } if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, logIDNew_); + size += com.lark.oapi.google.protobuf.GeneratedMessageV3.computeStringSize(9, logIDNew_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1931,12 +1931,12 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasSeqID()) { hash = (37 * hash) + SEQID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + hash = (53 * hash) + com.lark.oapi.google.protobuf.Internal.hashLong( getSeqID()); } if (hasLogID()) { hash = (37 * hash) + LOGID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + hash = (53 * hash) + com.lark.oapi.google.protobuf.Internal.hashLong( getLogID()); } if (hasService()) { @@ -1991,7 +1991,7 @@ protected Builder newBuilderForType( } @Override - public com.google.protobuf.Parser getParserForType() { + public com.lark.oapi.google.protobuf.Parser getParserForType() { return PARSER; } @@ -2008,7 +2008,7 @@ public Frame getDefaultInstanceForType() { * Protobuf type {@code pbbp2.Frame} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + com.lark.oapi.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:pbbp2.Frame) FrameOrBuilder { private int bitField0_; @@ -2018,11 +2018,11 @@ public static final class Builder extends private int method_; private java.util.List
headers_ = java.util.Collections.emptyList(); - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.lark.oapi.google.protobuf.RepeatedFieldBuilderV3< Header, Header.Builder, HeaderOrBuilder> headersBuilder_; private Object payloadEncoding_ = ""; private Object payloadType_ = ""; - private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY; + private com.lark.oapi.google.protobuf.ByteString payload_ = com.lark.oapi.google.protobuf.ByteString.EMPTY; private Object logIDNew_ = ""; // Construct using com.lark.oapi.ws.pb.Pbbp2.Frame.newBuilder() @@ -2036,7 +2036,7 @@ private Builder( maybeForceBuilderInitialization(); } - public static final com.google.protobuf.Descriptors.Descriptor + public static final com.lark.oapi.google.protobuf.Descriptors.Descriptor getDescriptor() { return Pbbp2.internal_static_pbbp2_Frame_descriptor; } @@ -2050,7 +2050,7 @@ private Builder( } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 + if (com.lark.oapi.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getHeadersFieldBuilder(); } @@ -2077,7 +2077,7 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000020); payloadType_ = ""; bitField0_ = (bitField0_ & ~0x00000040); - payload_ = com.google.protobuf.ByteString.EMPTY; + payload_ = com.lark.oapi.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000080); logIDNew_ = ""; bitField0_ = (bitField0_ & ~0x00000100); @@ -2085,7 +2085,7 @@ public Builder clear() { } @Override - public com.google.protobuf.Descriptors.Descriptor + public com.lark.oapi.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return Pbbp2.internal_static_pbbp2_Frame_descriptor; } @@ -2162,39 +2162,39 @@ public Builder clone() { @Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, + com.lark.oapi.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return super.setField(field, value); } @Override public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + com.lark.oapi.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @Override public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + com.lark.oapi.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, + com.lark.oapi.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return super.setRepeatedField(field, index, value); } @Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, + com.lark.oapi.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return super.addRepeatedField(field, value); } @Override - public Builder mergeFrom(com.google.protobuf.Message other) { + public Builder mergeFrom(com.lark.oapi.google.protobuf.Message other) { if (other instanceof Frame) { return mergeFrom((Frame) other); } else { @@ -2236,7 +2236,7 @@ public Builder mergeFrom(Frame other) { headers_ = other.headers_; bitField0_ = (bitField0_ & ~0x00000010); headersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + com.lark.oapi.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getHeadersFieldBuilder() : null; } else { headersBuilder_.addAllMessages(other.headers_); @@ -2290,13 +2290,13 @@ public final boolean isInitialized() { @Override public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + com.lark.oapi.google.protobuf.CodedInputStream input, + com.lark.oapi.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { Frame parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { + } catch (com.lark.oapi.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (Frame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { @@ -2632,7 +2632,7 @@ public Builder addAllHeaders( Iterable values) { if (headersBuilder_ == null) { ensureHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( + com.lark.oapi.google.protobuf.AbstractMessageLite.Builder.addAll( values, headers_); onChanged(); } else { @@ -2726,11 +2726,11 @@ public Header.Builder addHeadersBuilder( return getHeadersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.lark.oapi.google.protobuf.RepeatedFieldBuilderV3< Header, Header.Builder, HeaderOrBuilder> getHeadersFieldBuilder() { if (headersBuilder_ == null) { - headersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + headersBuilder_ = new com.lark.oapi.google.protobuf.RepeatedFieldBuilderV3< Header, Header.Builder, HeaderOrBuilder>( headers_, ((bitField0_ & 0x00000010) != 0), @@ -2766,8 +2766,8 @@ public boolean hasPayloadEncoding() { public String getPayloadEncoding() { Object ref = payloadEncoding_; if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.lark.oapi.google.protobuf.ByteString bs = + (com.lark.oapi.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { payloadEncoding_ = s; @@ -2808,17 +2808,17 @@ public Builder setPayloadEncoding( * * @return The bytes for payloadEncoding. */ - public com.google.protobuf.ByteString + public com.lark.oapi.google.protobuf.ByteString getPayloadEncodingBytes() { Object ref = payloadEncoding_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( + com.lark.oapi.google.protobuf.ByteString b = + com.lark.oapi.google.protobuf.ByteString.copyFromUtf8( (String) ref); payloadEncoding_ = b; return b; } else { - return (com.google.protobuf.ByteString) ref; + return (com.lark.oapi.google.protobuf.ByteString) ref; } } @@ -2833,7 +2833,7 @@ public Builder setPayloadEncoding( * @return This builder for chaining. */ public Builder setPayloadEncodingBytes( - com.google.protobuf.ByteString value) { + com.lark.oapi.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } @@ -2884,8 +2884,8 @@ public boolean hasPayloadType() { public String getPayloadType() { Object ref = payloadType_; if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.lark.oapi.google.protobuf.ByteString bs = + (com.lark.oapi.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { payloadType_ = s; @@ -2926,17 +2926,17 @@ public Builder setPayloadType( * * @return The bytes for payloadType. */ - public com.google.protobuf.ByteString + public com.lark.oapi.google.protobuf.ByteString getPayloadTypeBytes() { Object ref = payloadType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( + com.lark.oapi.google.protobuf.ByteString b = + com.lark.oapi.google.protobuf.ByteString.copyFromUtf8( (String) ref); payloadType_ = b; return b; } else { - return (com.google.protobuf.ByteString) ref; + return (com.lark.oapi.google.protobuf.ByteString) ref; } } @@ -2951,7 +2951,7 @@ public Builder setPayloadType( * @return This builder for chaining. */ public Builder setPayloadTypeBytes( - com.google.protobuf.ByteString value) { + com.lark.oapi.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } @@ -3001,7 +3001,7 @@ public boolean hasPayload() { * @return The payload. */ @Override - public com.google.protobuf.ByteString getPayload() { + public com.lark.oapi.google.protobuf.ByteString getPayload() { return payload_; } @@ -3015,7 +3015,7 @@ public com.google.protobuf.ByteString getPayload() { * @param value The payload to set. * @return This builder for chaining. */ - public Builder setPayload(com.google.protobuf.ByteString value) { + public Builder setPayload(com.lark.oapi.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } @@ -3058,8 +3058,8 @@ public boolean hasLogIDNew() { public String getLogIDNew() { Object ref = logIDNew_; if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.lark.oapi.google.protobuf.ByteString bs = + (com.lark.oapi.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { logIDNew_ = s; @@ -3092,17 +3092,17 @@ public Builder setLogIDNew( * * @return The bytes for logIDNew. */ - public com.google.protobuf.ByteString + public com.lark.oapi.google.protobuf.ByteString getLogIDNewBytes() { Object ref = logIDNew_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( + com.lark.oapi.google.protobuf.ByteString b = + com.lark.oapi.google.protobuf.ByteString.copyFromUtf8( (String) ref); logIDNew_ = b; return b; } else { - return (com.google.protobuf.ByteString) ref; + return (com.lark.oapi.google.protobuf.ByteString) ref; } } @@ -3113,7 +3113,7 @@ public Builder setLogIDNew( * @return This builder for chaining. */ public Builder setLogIDNewBytes( - com.google.protobuf.ByteString value) { + com.lark.oapi.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } @@ -3137,13 +3137,13 @@ public Builder clearLogIDNew() { @Override public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + final com.lark.oapi.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @Override public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + final com.lark.oapi.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } diff --git a/pom.xml b/pom.xml index 19e4e9909..d46c2f56f 100644 --- a/pom.xml +++ b/pom.xml @@ -24,6 +24,7 @@ larksuite-oapi sample + larksuite-oapi-shaded-protobuf larksuite pom