From ea0269ba679be3244e4afe4b95ee9697d91d966f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 17 Sep 2021 08:59:07 +0000 Subject: [PATCH] buf generate --- gen/ras/messages/v1/admin_messages_ras.pb.go | 12 +-- gen/ras/messages/v1/auth_messages_ras.pb.go | 8 +- .../messages/v1/clusters_messages_ras.pb.go | 12 +-- .../v1/connections_messages_ras.pb.go | 24 ++--- .../messages/v1/infobases_messages_ras.pb.go | 48 ++++----- gen/ras/messages/v1/locks_messages_ras.pb.go | 32 +++--- .../messages/v1/managers_messages_ras.pb.go | 12 +-- .../messages/v1/services_messages_ras.pb.go | 4 +- .../messages/v1/sessions_messages_ras.pb.go | 28 ++--- .../v1/working_processes_messages_ras.pb.go | 20 ++-- .../v1/working_servers_messages_ras.pb.go | 28 ++--- gen/ras/protocol/v1/connect_ras.pb.go | 12 +-- gen/ras/protocol/v1/endpoint_ras.pb.go | 44 ++++---- gen/ras/protocol/v1/packet_ras.pb.go | 30 +++--- gen/ras/protocol/v1/param_ras.pb.go | 8 +- .../serialize/v1/assignments_ras.pb.go | 4 +- .../serialize/v1/clusters_ras.pb.go | 12 +-- .../serialize/v1/connections_ras.pb.go | 16 +-- .../serialize/v1/infobases_ras.pb.go | 20 ++-- gen/v8platform/serialize/v1/locks_ras.pb.go | 16 +-- .../serialize/v1/managers_ras.pb.go | 8 +- .../serialize/v1/processes_ras.pb.go | 24 ++--- gen/v8platform/serialize/v1/servers_ras.pb.go | 28 ++--- .../serialize/v1/services_ras.pb.go | 4 +- .../serialize/v1/sessions_ras.pb.go | 100 +++++++++--------- 25 files changed, 277 insertions(+), 277 deletions(-) diff --git a/gen/ras/messages/v1/admin_messages_ras.pb.go b/gen/ras/messages/v1/admin_messages_ras.pb.go index 9cdfe5f..fd0c901 100644 --- a/gen/ras/messages/v1/admin_messages_ras.pb.go +++ b/gen/ras/messages/v1/admin_messages_ras.pb.go @@ -52,7 +52,7 @@ func (x *GetClusterAdminsRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -62,7 +62,7 @@ func (x *GetClusterAdminsRequest) Formatter(writer io.Writer, version int32) err if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -162,7 +162,7 @@ func (x *CreateClusterAdminRequest) Parse(reader io.Reader, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -178,7 +178,7 @@ func (x *CreateClusterAdminRequest) Formatter(writer io.Writer, version int32) e if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -196,7 +196,7 @@ func (x *DeleteClusterAdminRequest) Parse(reader io.Reader, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -210,7 +210,7 @@ func (x *DeleteClusterAdminRequest) Formatter(writer io.Writer, version int32) e if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } diff --git a/gen/ras/messages/v1/auth_messages_ras.pb.go b/gen/ras/messages/v1/auth_messages_ras.pb.go index 53a37fc..ebfc268 100644 --- a/gen/ras/messages/v1/auth_messages_ras.pb.go +++ b/gen/ras/messages/v1/auth_messages_ras.pb.go @@ -50,7 +50,7 @@ func (x *ClusterAuthenticateRequest) Parse(reader io.Reader, version int32) erro if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -68,7 +68,7 @@ func (x *ClusterAuthenticateRequest) Formatter(writer io.Writer, version int32) if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -90,7 +90,7 @@ func (x *AuthenticateInfobaseRequest) Parse(reader io.Reader, version int32) err if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -108,7 +108,7 @@ func (x *AuthenticateInfobaseRequest) Formatter(writer io.Writer, version int32) if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } diff --git a/gen/ras/messages/v1/clusters_messages_ras.pb.go b/gen/ras/messages/v1/clusters_messages_ras.pb.go index 046250d..f698b3d 100644 --- a/gen/ras/messages/v1/clusters_messages_ras.pb.go +++ b/gen/ras/messages/v1/clusters_messages_ras.pb.go @@ -67,7 +67,7 @@ func (x *GetClusterInfoRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -77,7 +77,7 @@ func (x *GetClusterInfoRequest) Formatter(writer io.Writer, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -143,7 +143,7 @@ func (x *RegClusterResponse) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -153,7 +153,7 @@ func (x *RegClusterResponse) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -167,7 +167,7 @@ func (x *UnregClusterRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -177,7 +177,7 @@ func (x *UnregClusterRequest) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } diff --git a/gen/ras/messages/v1/connections_messages_ras.pb.go b/gen/ras/messages/v1/connections_messages_ras.pb.go index 98b0a0a..5b7f4be 100644 --- a/gen/ras/messages/v1/connections_messages_ras.pb.go +++ b/gen/ras/messages/v1/connections_messages_ras.pb.go @@ -19,7 +19,7 @@ func (x *GetConnectionsRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -29,7 +29,7 @@ func (x *GetConnectionsRequest) Formatter(writer io.Writer, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -81,11 +81,11 @@ func (x *GetInfobaseConnectionsRequest) Parse(reader io.Reader, version int32) e if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.InfobaseId); err != nil { return err } @@ -95,11 +95,11 @@ func (x *GetInfobaseConnectionsRequest) Formatter(writer io.Writer, version int3 if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.InfobaseId); err != nil { return err } @@ -151,15 +151,15 @@ func (x *DisconnectConnectionRequest) Parse(reader io.Reader, version int32) err if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.ProcessId opts: encoder:"uuid" order:2 + // decode x.ProcessId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.ProcessId); err != nil { return err } - // decode x.ConnectionId opts: encoder:"uuid" order:3 + // decode x.ConnectionId opts: encoder:"uuid" order:3 if err := codec256.ParseUUID(reader, &x.ConnectionId); err != nil { return err } @@ -169,15 +169,15 @@ func (x *DisconnectConnectionRequest) Formatter(writer io.Writer, version int32) if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.ProcessId opts: encoder:"uuid" order:2 + // decode x.ProcessId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.ProcessId); err != nil { return err } - // decode x.ConnectionId opts: encoder:"uuid" order:3 + // decode x.ConnectionId opts: encoder:"uuid" order:3 if err := codec256.FormatUuid(writer, x.ConnectionId); err != nil { return err } diff --git a/gen/ras/messages/v1/infobases_messages_ras.pb.go b/gen/ras/messages/v1/infobases_messages_ras.pb.go index 724f688..cc36314 100644 --- a/gen/ras/messages/v1/infobases_messages_ras.pb.go +++ b/gen/ras/messages/v1/infobases_messages_ras.pb.go @@ -19,7 +19,7 @@ func (x *GetInfobasesSummaryRequest) Parse(reader io.Reader, version int32) erro if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -29,7 +29,7 @@ func (x *GetInfobasesSummaryRequest) Formatter(writer io.Writer, version int32) if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -81,7 +81,7 @@ func (x *GetInfobasesRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -91,7 +91,7 @@ func (x *GetInfobasesRequest) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -143,11 +143,11 @@ func (x *GetInfobaseInfoRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.InfobaseId); err != nil { return err } @@ -157,11 +157,11 @@ func (x *GetInfobaseInfoRequest) Formatter(writer io.Writer, version int32) erro if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.InfobaseId); err != nil { return err } @@ -201,7 +201,7 @@ func (x *CreateInfobaseRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -211,7 +211,7 @@ func (x *CreateInfobaseRequest) Parse(reader io.Reader, version int32) error { return err } - // decode x.Mode opts: encoder:"int" order:3 + // decode x.Mode opts: encoder:"int" order:3 if err := codec256.ParseInt(reader, &x.Mode); err != nil { return err } @@ -221,7 +221,7 @@ func (x *CreateInfobaseRequest) Formatter(writer io.Writer, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -229,7 +229,7 @@ func (x *CreateInfobaseRequest) Formatter(writer io.Writer, version int32) error if err := x.Info.Formatter(writer, version); err != nil { return err } - // decode x.Mode opts: encoder:"int" order:3 + // decode x.Mode opts: encoder:"int" order:3 if err := codec256.FormatInt(writer, x.Mode); err != nil { return err } @@ -243,7 +243,7 @@ func (x *CreateInfobaseResponse) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.InfobaseId opts: encoder:"uuid" order:1 + // decode x.InfobaseId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.InfobaseId); err != nil { return err } @@ -253,7 +253,7 @@ func (x *CreateInfobaseResponse) Formatter(writer io.Writer, version int32) erro if x == nil { return nil } - // decode x.InfobaseId opts: encoder:"uuid" order:1 + // decode x.InfobaseId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.InfobaseId); err != nil { return err } @@ -267,15 +267,15 @@ func (x *DropInfobaseRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.InfobaseId); err != nil { return err } - // decode x.Mode opts: encoder:"int" order:3 + // decode x.Mode opts: encoder:"int" order:3 if err := codec256.ParseInt(reader, &x.Mode); err != nil { return err } @@ -285,15 +285,15 @@ func (x *DropInfobaseRequest) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.InfobaseId); err != nil { return err } - // decode x.Mode opts: encoder:"int" order:3 + // decode x.Mode opts: encoder:"int" order:3 if err := codec256.FormatInt(writer, x.Mode); err != nil { return err } @@ -307,7 +307,7 @@ func (x *UpdateInfobaseSummaryRequest) Parse(reader io.Reader, version int32) er if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -323,7 +323,7 @@ func (x *UpdateInfobaseSummaryRequest) Formatter(writer io.Writer, version int32 if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -341,7 +341,7 @@ func (x *UpdateInfobaseRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -357,7 +357,7 @@ func (x *UpdateInfobaseRequest) Formatter(writer io.Writer, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } diff --git a/gen/ras/messages/v1/locks_messages_ras.pb.go b/gen/ras/messages/v1/locks_messages_ras.pb.go index 0f30f1a..48581ae 100644 --- a/gen/ras/messages/v1/locks_messages_ras.pb.go +++ b/gen/ras/messages/v1/locks_messages_ras.pb.go @@ -19,7 +19,7 @@ func (x *GetLocksRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -29,7 +29,7 @@ func (x *GetLocksRequest) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -81,11 +81,11 @@ func (x *GetInfobaseLocksRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.InfobaseId); err != nil { return err } @@ -95,11 +95,11 @@ func (x *GetInfobaseLocksRequest) Formatter(writer io.Writer, version int32) err if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.InfobaseId); err != nil { return err } @@ -151,11 +151,11 @@ func (x *GetConnectionLocksRequest) Parse(reader io.Reader, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.ConnectionId opts: encoder:"uuid" order:2 + // decode x.ConnectionId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.ConnectionId); err != nil { return err } @@ -165,11 +165,11 @@ func (x *GetConnectionLocksRequest) Formatter(writer io.Writer, version int32) e if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.ConnectionId opts: encoder:"uuid" order:2 + // decode x.ConnectionId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.ConnectionId); err != nil { return err } @@ -221,15 +221,15 @@ func (x *GetSessionLocksRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.InfobaseId); err != nil { return err } - // decode x.SessionId opts: encoder:"uuid" order:3 + // decode x.SessionId opts: encoder:"uuid" order:3 if err := codec256.ParseUUID(reader, &x.SessionId); err != nil { return err } @@ -239,15 +239,15 @@ func (x *GetSessionLocksRequest) Formatter(writer io.Writer, version int32) erro if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.InfobaseId); err != nil { return err } - // decode x.SessionId opts: encoder:"uuid" order:3 + // decode x.SessionId opts: encoder:"uuid" order:3 if err := codec256.FormatUuid(writer, x.SessionId); err != nil { return err } diff --git a/gen/ras/messages/v1/managers_messages_ras.pb.go b/gen/ras/messages/v1/managers_messages_ras.pb.go index 8b58c84..c661256 100644 --- a/gen/ras/messages/v1/managers_messages_ras.pb.go +++ b/gen/ras/messages/v1/managers_messages_ras.pb.go @@ -19,7 +19,7 @@ func (x *GetClusterManagersRequest) Parse(reader io.Reader, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -29,7 +29,7 @@ func (x *GetClusterManagersRequest) Formatter(writer io.Writer, version int32) e if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -69,11 +69,11 @@ func (x *GetClusterManagerInfoRequest) Parse(reader io.Reader, version int32) er if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.ManagerId opts: encoder:"uuid" order:2 + // decode x.ManagerId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.ManagerId); err != nil { return err } @@ -83,11 +83,11 @@ func (x *GetClusterManagerInfoRequest) Formatter(writer io.Writer, version int32 if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.ManagerId opts: encoder:"uuid" order:2 + // decode x.ManagerId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.ManagerId); err != nil { return err } diff --git a/gen/ras/messages/v1/services_messages_ras.pb.go b/gen/ras/messages/v1/services_messages_ras.pb.go index 9d1bf81..a4da5af 100644 --- a/gen/ras/messages/v1/services_messages_ras.pb.go +++ b/gen/ras/messages/v1/services_messages_ras.pb.go @@ -19,7 +19,7 @@ func (x *GetClusterServicesRequest) Parse(reader io.Reader, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -29,7 +29,7 @@ func (x *GetClusterServicesRequest) Formatter(writer io.Writer, version int32) e if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } diff --git a/gen/ras/messages/v1/sessions_messages_ras.pb.go b/gen/ras/messages/v1/sessions_messages_ras.pb.go index b9c02bc..425f7b0 100644 --- a/gen/ras/messages/v1/sessions_messages_ras.pb.go +++ b/gen/ras/messages/v1/sessions_messages_ras.pb.go @@ -19,7 +19,7 @@ func (x *GetSessionsRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -29,7 +29,7 @@ func (x *GetSessionsRequest) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -81,11 +81,11 @@ func (x *GetSessionInfoRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.SessionId opts: encoder:"uuid" order:2 + // decode x.SessionId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.SessionId); err != nil { return err } @@ -95,11 +95,11 @@ func (x *GetSessionInfoRequest) Formatter(writer io.Writer, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.SessionId opts: encoder:"uuid" order:2 + // decode x.SessionId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.SessionId); err != nil { return err } @@ -113,11 +113,11 @@ func (x *GetInfobaseSessionsRequest) Parse(reader io.Reader, version int32) erro if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.InfobaseId); err != nil { return err } @@ -127,11 +127,11 @@ func (x *GetInfobaseSessionsRequest) Formatter(writer io.Writer, version int32) if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:2 + // decode x.InfobaseId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.InfobaseId); err != nil { return err } @@ -209,11 +209,11 @@ func (x *TerminateSessionRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.SessionId opts: encoder:"uuid" order:2 + // decode x.SessionId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.SessionId); err != nil { return err } @@ -227,11 +227,11 @@ func (x *TerminateSessionRequest) Formatter(writer io.Writer, version int32) err if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.SessionId opts: encoder:"uuid" order:2 + // decode x.SessionId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.SessionId); err != nil { return err } diff --git a/gen/ras/messages/v1/working_processes_messages_ras.pb.go b/gen/ras/messages/v1/working_processes_messages_ras.pb.go index 9b70d55..17e160a 100644 --- a/gen/ras/messages/v1/working_processes_messages_ras.pb.go +++ b/gen/ras/messages/v1/working_processes_messages_ras.pb.go @@ -19,7 +19,7 @@ func (x *GetWorkingProcessesRequest) Parse(reader io.Reader, version int32) erro if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -29,7 +29,7 @@ func (x *GetWorkingProcessesRequest) Formatter(writer io.Writer, version int32) if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -69,11 +69,11 @@ func (x *GetWorkingProcessInfoRequest) Parse(reader io.Reader, version int32) er if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.ProcessId opts: encoder:"uuid" order:2 + // decode x.ProcessId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.ProcessId); err != nil { return err } @@ -83,11 +83,11 @@ func (x *GetWorkingProcessInfoRequest) Formatter(writer io.Writer, version int32 if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.ProcessId opts: encoder:"uuid" order:2 + // decode x.ProcessId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.ProcessId); err != nil { return err } @@ -127,11 +127,11 @@ func (x *GetServerWorkingProcessesRequest) Parse(reader io.Reader, version int32 if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.ServerId opts: encoder:"uuid" order:2 + // decode x.ServerId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.ServerId); err != nil { return err } @@ -141,11 +141,11 @@ func (x *GetServerWorkingProcessesRequest) Formatter(writer io.Writer, version i if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.ServerId opts: encoder:"uuid" order:2 + // decode x.ServerId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.ServerId); err != nil { return err } diff --git a/gen/ras/messages/v1/working_servers_messages_ras.pb.go b/gen/ras/messages/v1/working_servers_messages_ras.pb.go index d748d01..13f9b61 100644 --- a/gen/ras/messages/v1/working_servers_messages_ras.pb.go +++ b/gen/ras/messages/v1/working_servers_messages_ras.pb.go @@ -19,7 +19,7 @@ func (x *GetWorkingServersRequest) Parse(reader io.Reader, version int32) error if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -29,7 +29,7 @@ func (x *GetWorkingServersRequest) Formatter(writer io.Writer, version int32) er if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -69,11 +69,11 @@ func (x *GetWorkingServerInfoRequest) Parse(reader io.Reader, version int32) err if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.ServerId opts: encoder:"uuid" order:2 + // decode x.ServerId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.ServerId); err != nil { return err } @@ -83,11 +83,11 @@ func (x *GetWorkingServerInfoRequest) Formatter(writer io.Writer, version int32) if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.ServerId opts: encoder:"uuid" order:2 + // decode x.ServerId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.ServerId); err != nil { return err } @@ -127,7 +127,7 @@ func (x *AddWorkingServerRequest) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } @@ -143,7 +143,7 @@ func (x *AddWorkingServerRequest) Formatter(writer io.Writer, version int32) err if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } @@ -161,7 +161,7 @@ func (x *AddWorkingServerResponse) Parse(reader io.Reader, version int32) error if x == nil { return nil } - // decode x.ServerId opts: encoder:"uuid" order:1 + // decode x.ServerId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ServerId); err != nil { return err } @@ -171,7 +171,7 @@ func (x *AddWorkingServerResponse) Formatter(writer io.Writer, version int32) er if x == nil { return nil } - // decode x.ServerId opts: encoder:"uuid" order:1 + // decode x.ServerId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ServerId); err != nil { return err } @@ -185,11 +185,11 @@ func (x *DeleteWorkingServerRequest) Parse(reader io.Reader, version int32) erro if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ClusterId); err != nil { return err } - // decode x.ServerId opts: encoder:"uuid" order:2 + // decode x.ServerId opts: encoder:"uuid" order:2 if err := codec256.ParseUUID(reader, &x.ServerId); err != nil { return err } @@ -199,11 +199,11 @@ func (x *DeleteWorkingServerRequest) Formatter(writer io.Writer, version int32) if x == nil { return nil } - // decode x.ClusterId opts: encoder:"uuid" order:1 + // decode x.ClusterId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ClusterId); err != nil { return err } - // decode x.ServerId opts: encoder:"uuid" order:2 + // decode x.ServerId opts: encoder:"uuid" order:2 if err := codec256.FormatUuid(writer, x.ServerId); err != nil { return err } diff --git a/gen/ras/protocol/v1/connect_ras.pb.go b/gen/ras/protocol/v1/connect_ras.pb.go index 99f19e7..265c9e2 100644 --- a/gen/ras/protocol/v1/connect_ras.pb.go +++ b/gen/ras/protocol/v1/connect_ras.pb.go @@ -32,15 +32,15 @@ func (x *NegotiateMessage) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Magic opts: encoder:"int32" order:1 + // decode x.Magic opts: encoder:"int32" order:1 if err := codec256.ParseInt(reader, &x.Magic); err != nil { return err } - // decode x.Protocol opts: encoder:"short" order:2 + // decode x.Protocol opts: encoder:"short" order:2 if err := codec256.ParseShort(reader, &x.Protocol); err != nil { return err } - // decode x.Version opts: encoder:"short" order:3 + // decode x.Version opts: encoder:"short" order:3 if err := codec256.ParseShort(reader, &x.Version); err != nil { return err } @@ -50,15 +50,15 @@ func (x *NegotiateMessage) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Magic opts: encoder:"int32" order:1 + // decode x.Magic opts: encoder:"int32" order:1 if err := codec256.FormatInt(writer, x.Magic); err != nil { return err } - // decode x.Protocol opts: encoder:"short" order:2 + // decode x.Protocol opts: encoder:"short" order:2 if err := codec256.FormatShort(writer, x.Protocol); err != nil { return err } - // decode x.Version opts: encoder:"short" order:3 + // decode x.Version opts: encoder:"short" order:3 if err := codec256.FormatShort(writer, x.Version); err != nil { return err } diff --git a/gen/ras/protocol/v1/endpoint_ras.pb.go b/gen/ras/protocol/v1/endpoint_ras.pb.go index 63fbe64..64b710c 100644 --- a/gen/ras/protocol/v1/endpoint_ras.pb.go +++ b/gen/ras/protocol/v1/endpoint_ras.pb.go @@ -25,7 +25,7 @@ func (x *EndpointOpen) Parse(reader io.Reader, version int32) error { if err := codec256.ParseString(reader, &x.Service); err != nil { return err } - // decode x.Version opts: encoder:"string" order:3 + // decode x.Version opts: encoder:"string" order:3 if err := codec256.ParseString(reader, &x.Version); err != nil { return err } @@ -41,7 +41,7 @@ func (x *EndpointOpen) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatString(writer, x.Service); err != nil { return err } - // decode x.Version opts: encoder:"string" order:3 + // decode x.Version opts: encoder:"string" order:3 if err := codec256.FormatString(writer, x.Version); err != nil { return err } @@ -63,11 +63,11 @@ func (x *EndpointOpenAck) Parse(reader io.Reader, version int32) error { if err := codec256.ParseString(reader, &x.Service); err != nil { return err } - // decode x.Version opts: encoder:"string" order:2 + // decode x.Version opts: encoder:"string" order:2 if err := codec256.ParseString(reader, &x.Version); err != nil { return err } - // decode x.EndpointId opts: encoder:"nullable" order:3 + // decode x.EndpointId opts: encoder:"nullable" order:3 if err := codec256.ParseNullable(reader, &x.EndpointId); err != nil { return err } @@ -83,11 +83,11 @@ func (x *EndpointOpenAck) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatString(writer, x.Service); err != nil { return err } - // decode x.Version opts: encoder:"string" order:2 + // decode x.Version opts: encoder:"string" order:2 if err := codec256.FormatString(writer, x.Version); err != nil { return err } - // decode x.EndpointId opts: encoder:"nullable" order:3 + // decode x.EndpointId opts: encoder:"nullable" order:3 if err := codec256.FormatNullable(writer, x.EndpointId); err != nil { return err } @@ -216,21 +216,21 @@ func (x *EndpointMessage) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.EndpointId opts: encoder:"nullable" order:1 + // decode x.EndpointId opts: encoder:"nullable" order:1 if err := codec256.ParseNullable(reader, &x.EndpointId); err != nil { return err } - // decode x.Format opts: encoder:"short" order:2 + // decode x.Format opts: encoder:"short" order:2 if err := codec256.ParseShort(reader, &x.Format); err != nil { return err } - // decode x.Type opts: encoder:"byte" order:3 + // decode x.Type opts: encoder:"byte" order:3 var val_Type int32 if err := codec256.ParseByte(reader, &val_Type); err != nil { return err } x.Type = EndpointDataType(val_Type) - // decode x.VoidMessage opts: order:4 type_field:3 + // decode x.VoidMessage opts: order:4 type_field:3 if x.GetType() == EndpointDataType_ENDPOINT_DATA_TYPE_VOID_MESSAGE { void_message := &EndpointDataVoidMessage{} if err := void_message.Parse(reader, version); err != nil { @@ -241,7 +241,7 @@ func (x *EndpointMessage) Parse(reader io.Reader, version int32) error { VoidMessage: void_message, } } - // decode x.Message opts: order:4 type_field:3 + // decode x.Message opts: order:4 type_field:3 if x.GetType() == EndpointDataType_ENDPOINT_DATA_TYPE_MESSAGE { message := &EndpointDataMessage{} if err := message.Parse(reader, version); err != nil { @@ -252,7 +252,7 @@ func (x *EndpointMessage) Parse(reader io.Reader, version int32) error { Message: message, } } - // decode x.Failure opts: order:4 type_field:3 + // decode x.Failure opts: order:4 type_field:3 if x.GetType() == EndpointDataType_ENDPOINT_DATA_TYPE_EXCEPTION { failure := &EndpointFailureMessage{} if err := failure.Parse(reader, version); err != nil { @@ -269,31 +269,31 @@ func (x *EndpointMessage) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.EndpointId opts: encoder:"nullable" order:1 + // decode x.EndpointId opts: encoder:"nullable" order:1 if err := codec256.FormatNullable(writer, x.EndpointId); err != nil { return err } - // decode x.Format opts: encoder:"short" order:2 + // decode x.Format opts: encoder:"short" order:2 if err := codec256.FormatShort(writer, x.Format); err != nil { return err } - // decode x.Type opts: encoder:"byte" order:3 + // decode x.Type opts: encoder:"byte" order:3 if err := codec256.FormatByte(writer, int32(x.Type)); err != nil { return err } - // decode x.VoidMessage opts: order:4 type_field:3 + // decode x.VoidMessage opts: order:4 type_field:3 if val := x.GetVoidMessage(); val != nil { if err := val.Formatter(writer, version); err != nil { return err } } - // decode x.Message opts: order:4 type_field:3 + // decode x.Message opts: order:4 type_field:3 if val := x.GetMessage(); val != nil { if err := val.Formatter(writer, version); err != nil { return err } } - // decode x.Failure opts: order:4 type_field:3 + // decode x.Failure opts: order:4 type_field:3 if val := x.GetFailure(); val != nil { if err := val.Formatter(writer, version); err != nil { return err @@ -321,7 +321,7 @@ func (x *EndpointFailureAck) Parse(reader io.Reader, version int32) error { if err := codec256.ParseString(reader, &x.Version); err != nil { return err } - // decode x.EndpointId opts: encoder:"nullable" order:3 + // decode x.EndpointId opts: encoder:"nullable" order:3 if err := codec256.ParseNullable(reader, &x.EndpointId); err != nil { return err } @@ -365,7 +365,7 @@ func (x *EndpointFailureAck) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatString(writer, x.Version); err != nil { return err } - // decode x.EndpointId opts: encoder:"nullable" order:3 + // decode x.EndpointId opts: encoder:"nullable" order:3 if err := codec256.FormatNullable(writer, x.EndpointId); err != nil { return err } @@ -442,7 +442,7 @@ func (x *EndpointDataMessage) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Type opts: encoder:"byte" order:1 + // decode x.Type opts: encoder:"byte" order:1 var val_Type int32 if err := codec256.ParseByte(reader, &val_Type); err != nil { return err @@ -460,7 +460,7 @@ func (x *EndpointDataMessage) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Type opts: encoder:"byte" order:1 + // decode x.Type opts: encoder:"byte" order:1 if err := codec256.FormatByte(writer, int32(x.Type)); err != nil { return err } diff --git a/gen/ras/protocol/v1/packet_ras.pb.go b/gen/ras/protocol/v1/packet_ras.pb.go index 10088fb..7557316 100644 --- a/gen/ras/protocol/v1/packet_ras.pb.go +++ b/gen/ras/protocol/v1/packet_ras.pb.go @@ -65,30 +65,30 @@ func (x *Packet) Unpack(into PacketMessageParser) error { func (x *Packet) UnpackNew() (interface{}, error) { var into interface{} switch x.GetType() { + // type PacketType_PACKET_TYPE_ENDPOINT_OPEN_ACK cast EndpointOpenAck + case PacketType_PACKET_TYPE_ENDPOINT_OPEN_ACK: + into = &EndpointOpenAck{} // type PacketType_PACKET_TYPE_ENDPOINT_FAILURE cast EndpointFailureAck case PacketType_PACKET_TYPE_ENDPOINT_FAILURE: into = &EndpointFailureAck{} // type PacketType_PACKET_TYPE_NEGOTIATE cast NegotiateMessage case PacketType_PACKET_TYPE_NEGOTIATE: into = &NegotiateMessage{} - // type PacketType_PACKET_TYPE_ENDPOINT_MESSAGE cast EndpointMessage - case PacketType_PACKET_TYPE_ENDPOINT_MESSAGE: - into = &EndpointMessage{} // type PacketType_PACKET_TYPE_ENDPOINT_OPEN cast EndpointOpen case PacketType_PACKET_TYPE_ENDPOINT_OPEN: into = &EndpointOpen{} + // type PacketType_PACKET_TYPE_CONNECT cast ConnectMessage + case PacketType_PACKET_TYPE_CONNECT: + into = &ConnectMessage{} // type PacketType_PACKET_TYPE_CONNECT_ACK cast ConnectMessageAck case PacketType_PACKET_TYPE_CONNECT_ACK: into = &ConnectMessageAck{} - // type PacketType_PACKET_TYPE_ENDPOINT_OPEN_ACK cast EndpointOpenAck - case PacketType_PACKET_TYPE_ENDPOINT_OPEN_ACK: - into = &EndpointOpenAck{} // type PacketType_PACKET_TYPE_DISCONNECT cast DisconnectMessage case PacketType_PACKET_TYPE_DISCONNECT: into = &DisconnectMessage{} - // type PacketType_PACKET_TYPE_CONNECT cast ConnectMessage - case PacketType_PACKET_TYPE_CONNECT: - into = &ConnectMessage{} + // type PacketType_PACKET_TYPE_ENDPOINT_MESSAGE cast EndpointMessage + case PacketType_PACKET_TYPE_ENDPOINT_MESSAGE: + into = &EndpointMessage{} default: return nil, fmt.Errorf("unknown unpack type %s", x.GetType()) } @@ -115,17 +115,17 @@ func (x *Packet) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Type opts: encoder:"byte" order:1 + // decode x.Type opts: encoder:"byte" order:1 var val_Type int32 if err := codec256.ParseByte(reader, &val_Type); err != nil { return err } x.Type = PacketType(val_Type) - // decode x.Size opts: encoder:"size" order:2 + // decode x.Size opts: encoder:"size" order:2 if err := codec256.ParseSize(reader, &x.Size); err != nil { return err } - // decode x.Data opts: encoder:"bytes" order:3 type_field:1 size_field:2 + // decode x.Data opts: encoder:"bytes" order:3 type_field:1 size_field:2 x.Data = make([]byte, x.GetSize()) if err := codec256.ParseBytes(reader, x.Data); err != nil { return err @@ -136,15 +136,15 @@ func (x *Packet) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Type opts: encoder:"byte" order:1 + // decode x.Type opts: encoder:"byte" order:1 if err := codec256.FormatByte(writer, int32(x.Type)); err != nil { return err } - // decode x.Size opts: encoder:"size" order:2 + // decode x.Size opts: encoder:"size" order:2 if err := codec256.FormatSize(writer, x.Size); err != nil { return err } - // decode x.Data opts: encoder:"bytes" order:3 type_field:1 size_field:2 + // decode x.Data opts: encoder:"bytes" order:3 type_field:1 size_field:2 if err := codec256.FormatBytes(writer, x.Data); err != nil { return err } diff --git a/gen/ras/protocol/v1/param_ras.pb.go b/gen/ras/protocol/v1/param_ras.pb.go index fbf4834..0d8ea3a 100644 --- a/gen/ras/protocol/v1/param_ras.pb.go +++ b/gen/ras/protocol/v1/param_ras.pb.go @@ -14,13 +14,13 @@ func (x *Param) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Type opts: encoder:"byte" order:1 + // decode x.Type opts: encoder:"byte" order:1 var val_Type int32 if err := codec256.ParseByte(reader, &val_Type); err != nil { return err } x.Type = ParamType(val_Type) - // decode x.Value opts: encoder:"type" order:2 + // decode x.Value opts: encoder:"type" order:2 var err error x.Value, err = io.ReadAll(reader) if err != nil { @@ -32,11 +32,11 @@ func (x *Param) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Type opts: encoder:"byte" order:1 + // decode x.Type opts: encoder:"byte" order:1 if err := codec256.FormatByte(writer, int32(x.Type)); err != nil { return err } - // decode x.Value opts: encoder:"type" order:2 + // decode x.Value opts: encoder:"type" order:2 if err := codec256.FormatBytes(writer, x.Value); err != nil { return err } diff --git a/gen/v8platform/serialize/v1/assignments_ras.pb.go b/gen/v8platform/serialize/v1/assignments_ras.pb.go index ec10d63..86f6d55 100644 --- a/gen/v8platform/serialize/v1/assignments_ras.pb.go +++ b/gen/v8platform/serialize/v1/assignments_ras.pb.go @@ -14,7 +14,7 @@ func (x *AssignmentInfo) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.Uuid); err != nil { return err } @@ -44,7 +44,7 @@ func (x *AssignmentInfo) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.Uuid); err != nil { return err } diff --git a/gen/v8platform/serialize/v1/clusters_ras.pb.go b/gen/v8platform/serialize/v1/clusters_ras.pb.go index 63e349e..38192c8 100644 --- a/gen/v8platform/serialize/v1/clusters_ras.pb.go +++ b/gen/v8platform/serialize/v1/clusters_ras.pb.go @@ -14,7 +14,7 @@ func (x *ClusterInfo) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.Uuid); err != nil { return err } @@ -30,7 +30,7 @@ func (x *ClusterInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseInt(reader, &x.LifetimeLimit); err != nil { return err } - // decode x.Port opts: encoder:"short" order:5 + // decode x.Port opts: encoder:"short" order:5 if err := codec256.ParseShort(reader, &x.Port); err != nil { return err } @@ -67,7 +67,7 @@ func (x *ClusterInfo) Parse(reader io.Reader, version int32) error { return err } if version >= 9 { - // decode x.KillByMemoryWithDump opts: order:14 version:9 + // decode x.KillByMemoryWithDump opts: order:14 version:9 if err := codec256.ParseBool(reader, &x.KillByMemoryWithDump); err != nil { return err } @@ -78,7 +78,7 @@ func (x *ClusterInfo) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.Uuid); err != nil { return err } @@ -94,7 +94,7 @@ func (x *ClusterInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatInt(writer, x.LifetimeLimit); err != nil { return err } - // decode x.Port opts: encoder:"short" order:5 + // decode x.Port opts: encoder:"short" order:5 if err := codec256.FormatShort(writer, x.Port); err != nil { return err } @@ -131,7 +131,7 @@ func (x *ClusterInfo) Formatter(writer io.Writer, version int32) error { return err } if version >= 9 { - // decode x.KillByMemoryWithDump opts: order:14 version:9 + // decode x.KillByMemoryWithDump opts: order:14 version:9 if err := codec256.FormatBool(writer, x.KillByMemoryWithDump); err != nil { return err } diff --git a/gen/v8platform/serialize/v1/connections_ras.pb.go b/gen/v8platform/serialize/v1/connections_ras.pb.go index bc72019..b2b65e9 100644 --- a/gen/v8platform/serialize/v1/connections_ras.pb.go +++ b/gen/v8platform/serialize/v1/connections_ras.pb.go @@ -15,7 +15,7 @@ func (x *ConnectionInfo) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.Uuid); err != nil { return err } @@ -27,7 +27,7 @@ func (x *ConnectionInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseInt(reader, &x.BlockedByLs); err != nil { return err } - // decode x.ConnectedAt opts: encoder:"time" order:4 + // decode x.ConnectedAt opts: encoder:"time" order:4 x.ConnectedAt = ×tamppb.Timestamp{} if err := codec256.ParseTime(reader, x.ConnectedAt); err != nil { return err @@ -40,11 +40,11 @@ func (x *ConnectionInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseString(reader, &x.Host); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:7 + // decode x.InfobaseId opts: encoder:"uuid" order:7 if err := codec256.ParseUUID(reader, &x.InfobaseId); err != nil { return err } - // decode x.ProcessId opts: encoder:"uuid" order:8 + // decode x.ProcessId opts: encoder:"uuid" order:8 if err := codec256.ParseUUID(reader, &x.ProcessId); err != nil { return err } @@ -58,7 +58,7 @@ func (x *ConnectionInfo) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.Uuid); err != nil { return err } @@ -70,7 +70,7 @@ func (x *ConnectionInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatInt(writer, x.BlockedByLs); err != nil { return err } - // decode x.ConnectedAt opts: encoder:"time" order:4 + // decode x.ConnectedAt opts: encoder:"time" order:4 // TODO check nil if err := codec256.FormatTime(writer, x.GetConnectedAt().AsTime()); err != nil { return err @@ -83,11 +83,11 @@ func (x *ConnectionInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatString(writer, x.Host); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:7 + // decode x.InfobaseId opts: encoder:"uuid" order:7 if err := codec256.FormatUuid(writer, x.InfobaseId); err != nil { return err } - // decode x.ProcessId opts: encoder:"uuid" order:8 + // decode x.ProcessId opts: encoder:"uuid" order:8 if err := codec256.FormatUuid(writer, x.ProcessId); err != nil { return err } diff --git a/gen/v8platform/serialize/v1/infobases_ras.pb.go b/gen/v8platform/serialize/v1/infobases_ras.pb.go index 9d9acc2..51f9dd0 100644 --- a/gen/v8platform/serialize/v1/infobases_ras.pb.go +++ b/gen/v8platform/serialize/v1/infobases_ras.pb.go @@ -15,7 +15,7 @@ func (x *InfobaseInfo) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.Uuid); err != nil { return err } @@ -43,7 +43,7 @@ func (x *InfobaseInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseString(reader, &x.DbPwd); err != nil { return err } - // decode x.DeniedFrom opts: encoder:"time" order:8 + // decode x.DeniedFrom opts: encoder:"time" order:8 x.DeniedFrom = ×tamppb.Timestamp{} if err := codec256.ParseTime(reader, x.DeniedFrom); err != nil { return err @@ -56,7 +56,7 @@ func (x *InfobaseInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseString(reader, &x.DeniedParameter); err != nil { return err } - // decode x.DeniedTo opts: encoder:"time" order:11 + // decode x.DeniedTo opts: encoder:"time" order:11 x.DeniedTo = ×tamppb.Timestamp{} if err := codec256.ParseTime(reader, x.DeniedTo); err != nil { return err @@ -110,7 +110,7 @@ func (x *InfobaseInfo) Parse(reader io.Reader, version int32) error { return err } if version >= 9 { - // decode x.ReserveWorkingProcesses opts: order:24 version:9 + // decode x.ReserveWorkingProcesses opts: order:24 version:9 if err := codec256.ParseBool(reader, &x.ReserveWorkingProcesses); err != nil { return err } @@ -121,7 +121,7 @@ func (x *InfobaseInfo) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.Uuid); err != nil { return err } @@ -149,7 +149,7 @@ func (x *InfobaseInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatString(writer, x.DbPwd); err != nil { return err } - // decode x.DeniedFrom opts: encoder:"time" order:8 + // decode x.DeniedFrom opts: encoder:"time" order:8 // TODO check nil if err := codec256.FormatTime(writer, x.GetDeniedFrom().AsTime()); err != nil { return err @@ -162,7 +162,7 @@ func (x *InfobaseInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatString(writer, x.DeniedParameter); err != nil { return err } - // decode x.DeniedTo opts: encoder:"time" order:11 + // decode x.DeniedTo opts: encoder:"time" order:11 // TODO check nil if err := codec256.FormatTime(writer, x.GetDeniedTo().AsTime()); err != nil { return err @@ -216,7 +216,7 @@ func (x *InfobaseInfo) Formatter(writer io.Writer, version int32) error { return err } if version >= 9 { - // decode x.ReserveWorkingProcesses opts: order:24 version:9 + // decode x.ReserveWorkingProcesses opts: order:24 version:9 if err := codec256.FormatBool(writer, x.ReserveWorkingProcesses); err != nil { return err } @@ -227,7 +227,7 @@ func (x *InfobaseSummaryInfo) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.Uuid); err != nil { return err } @@ -245,7 +245,7 @@ func (x *InfobaseSummaryInfo) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.Uuid); err != nil { return err } diff --git a/gen/v8platform/serialize/v1/locks_ras.pb.go b/gen/v8platform/serialize/v1/locks_ras.pb.go index df4b220..b939b92 100644 --- a/gen/v8platform/serialize/v1/locks_ras.pb.go +++ b/gen/v8platform/serialize/v1/locks_ras.pb.go @@ -15,7 +15,7 @@ func (x *LockInfo) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.ConnectionId opts: encoder:"uuid" order:1 + // decode x.ConnectionId opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.ConnectionId); err != nil { return err } @@ -23,16 +23,16 @@ func (x *LockInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseString(reader, &x.Description); err != nil { return err } - // decode x.LockedAt opts: encoder:"time" order:3 + // decode x.LockedAt opts: encoder:"time" order:3 x.LockedAt = ×tamppb.Timestamp{} if err := codec256.ParseTime(reader, x.LockedAt); err != nil { return err } - // decode x.ObjectId opts: encoder:"uuid" order:4 + // decode x.ObjectId opts: encoder:"uuid" order:4 if err := codec256.ParseUUID(reader, &x.ObjectId); err != nil { return err } - // decode x.SessionId opts: encoder:"uuid" order:5 + // decode x.SessionId opts: encoder:"uuid" order:5 if err := codec256.ParseUUID(reader, &x.SessionId); err != nil { return err } @@ -42,7 +42,7 @@ func (x *LockInfo) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.ConnectionId opts: encoder:"uuid" order:1 + // decode x.ConnectionId opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.ConnectionId); err != nil { return err } @@ -50,16 +50,16 @@ func (x *LockInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatString(writer, x.Description); err != nil { return err } - // decode x.LockedAt opts: encoder:"time" order:3 + // decode x.LockedAt opts: encoder:"time" order:3 // TODO check nil if err := codec256.FormatTime(writer, x.GetLockedAt().AsTime()); err != nil { return err } - // decode x.ObjectId opts: encoder:"uuid" order:4 + // decode x.ObjectId opts: encoder:"uuid" order:4 if err := codec256.FormatUuid(writer, x.ObjectId); err != nil { return err } - // decode x.SessionId opts: encoder:"uuid" order:5 + // decode x.SessionId opts: encoder:"uuid" order:5 if err := codec256.FormatUuid(writer, x.SessionId); err != nil { return err } diff --git a/gen/v8platform/serialize/v1/managers_ras.pb.go b/gen/v8platform/serialize/v1/managers_ras.pb.go index 45a05d3..a83080f 100644 --- a/gen/v8platform/serialize/v1/managers_ras.pb.go +++ b/gen/v8platform/serialize/v1/managers_ras.pb.go @@ -14,7 +14,7 @@ func (x *ManagerInfo) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.Uuid); err != nil { return err } @@ -30,7 +30,7 @@ func (x *ManagerInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseInt(reader, &x.MainManager); err != nil { return err } - // decode x.Port opts: encoder:"short" order:5 + // decode x.Port opts: encoder:"short" order:5 if err := codec256.ParseShort(reader, &x.Port); err != nil { return err } @@ -44,7 +44,7 @@ func (x *ManagerInfo) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.Uuid); err != nil { return err } @@ -60,7 +60,7 @@ func (x *ManagerInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatInt(writer, x.MainManager); err != nil { return err } - // decode x.Port opts: encoder:"short" order:5 + // decode x.Port opts: encoder:"short" order:5 if err := codec256.FormatShort(writer, x.Port); err != nil { return err } diff --git a/gen/v8platform/serialize/v1/processes_ras.pb.go b/gen/v8platform/serialize/v1/processes_ras.pb.go index feeabb1..835de6a 100644 --- a/gen/v8platform/serialize/v1/processes_ras.pb.go +++ b/gen/v8platform/serialize/v1/processes_ras.pb.go @@ -15,7 +15,7 @@ func (x *ProcessInfo) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.Uuid); err != nil { return err } @@ -72,7 +72,7 @@ func (x *ProcessInfo) Parse(reader io.Reader, version int32) error { x.Licenses = append(x.Licenses, val) } - // decode x.Port opts: encoder:"short" order:13 + // decode x.Port opts: encoder:"short" order:13 if err := codec256.ParseShort(reader, &x.Port); err != nil { return err } @@ -88,7 +88,7 @@ func (x *ProcessInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseString(reader, &x.Pid); err != nil { return err } - // decode x.Running opts: encoder:"int" order:17 + // decode x.Running opts: encoder:"int" order:17 if err := codec256.ParseInt(reader, &x.Running); err != nil { return err } @@ -96,12 +96,12 @@ func (x *ProcessInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseInt(reader, &x.SelectionSize); err != nil { return err } - // decode x.StartedAt opts: encoder:"time" order:18 + // decode x.StartedAt opts: encoder:"time" order:18 x.StartedAt = ×tamppb.Timestamp{} if err := codec256.ParseTime(reader, x.StartedAt); err != nil { return err } - // decode x.Use opts: encoder:"int" order:20 + // decode x.Use opts: encoder:"int" order:20 if err := codec256.ParseInt(reader, &x.Use); err != nil { return err } @@ -110,7 +110,7 @@ func (x *ProcessInfo) Parse(reader io.Reader, version int32) error { return err } if version >= 9 { - // decode x.Reverse opts: order:22 version:9 + // decode x.Reverse opts: order:22 version:9 if err := codec256.ParseBool(reader, &x.Reverse); err != nil { return err } @@ -121,7 +121,7 @@ func (x *ProcessInfo) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.Uuid); err != nil { return err } @@ -174,7 +174,7 @@ func (x *ProcessInfo) Formatter(writer io.Writer, version int32) error { return err } } - // decode x.Port opts: encoder:"short" order:13 + // decode x.Port opts: encoder:"short" order:13 if err := codec256.FormatShort(writer, x.Port); err != nil { return err } @@ -190,7 +190,7 @@ func (x *ProcessInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatString(writer, x.Pid); err != nil { return err } - // decode x.Running opts: encoder:"int" order:17 + // decode x.Running opts: encoder:"int" order:17 if err := codec256.FormatInt(writer, x.Running); err != nil { return err } @@ -198,12 +198,12 @@ func (x *ProcessInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatInt(writer, x.SelectionSize); err != nil { return err } - // decode x.StartedAt opts: encoder:"time" order:18 + // decode x.StartedAt opts: encoder:"time" order:18 // TODO check nil if err := codec256.FormatTime(writer, x.GetStartedAt().AsTime()); err != nil { return err } - // decode x.Use opts: encoder:"int" order:20 + // decode x.Use opts: encoder:"int" order:20 if err := codec256.FormatInt(writer, x.Use); err != nil { return err } @@ -212,7 +212,7 @@ func (x *ProcessInfo) Formatter(writer io.Writer, version int32) error { return err } if version >= 9 { - // decode x.Reverse opts: order:22 version:9 + // decode x.Reverse opts: order:22 version:9 if err := codec256.FormatBool(writer, x.Reverse); err != nil { return err } diff --git a/gen/v8platform/serialize/v1/servers_ras.pb.go b/gen/v8platform/serialize/v1/servers_ras.pb.go index 0ffd394..36c1565 100644 --- a/gen/v8platform/serialize/v1/servers_ras.pb.go +++ b/gen/v8platform/serialize/v1/servers_ras.pb.go @@ -14,7 +14,7 @@ func (x *ServerInfo) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.Uuid); err != nil { return err } @@ -34,7 +34,7 @@ func (x *ServerInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseBool(reader, &x.MainServer); err != nil { return err } - // decode x.SafeWorkingProcessesMemoryLimit opts: encoder:"long" order:6 + // decode x.SafeWorkingProcessesMemoryLimit opts: encoder:"long" order:6 if err := codec256.ParseLong(reader, &x.SafeWorkingProcessesMemoryLimit); err != nil { return err } @@ -76,15 +76,15 @@ func (x *ServerInfo) Parse(reader io.Reader, version int32) error { x.PortRanges = append(x.PortRanges, val) } if version >= 8 { - // decode x.CriticalTotalMemory opts: order:14 version:8 + // decode x.CriticalTotalMemory opts: order:14 version:8 if err := codec256.ParseLong(reader, &x.CriticalTotalMemory); err != nil { return err } - // decode x.TemporaryAllowedTotalMemory opts: order:15 version:8 + // decode x.TemporaryAllowedTotalMemory opts: order:15 version:8 if err := codec256.ParseLong(reader, &x.TemporaryAllowedTotalMemory); err != nil { return err } - // decode x.TemporaryAllowedTotalMemoryTimeLimit opts: order:16 version:8 + // decode x.TemporaryAllowedTotalMemoryTimeLimit opts: order:16 version:8 if err := codec256.ParseLong(reader, &x.TemporaryAllowedTotalMemoryTimeLimit); err != nil { return err } @@ -95,7 +95,7 @@ func (x *ServerInfo) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.Uuid); err != nil { return err } @@ -115,7 +115,7 @@ func (x *ServerInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatBool(writer, x.MainServer); err != nil { return err } - // decode x.SafeWorkingProcessesMemoryLimit opts: encoder:"long" order:6 + // decode x.SafeWorkingProcessesMemoryLimit opts: encoder:"long" order:6 if err := codec256.FormatLong(writer, x.SafeWorkingProcessesMemoryLimit); err != nil { return err } @@ -153,15 +153,15 @@ func (x *ServerInfo) Formatter(writer io.Writer, version int32) error { } } if version >= 8 { - // decode x.CriticalTotalMemory opts: order:14 version:8 + // decode x.CriticalTotalMemory opts: order:14 version:8 if err := codec256.FormatLong(writer, x.CriticalTotalMemory); err != nil { return err } - // decode x.TemporaryAllowedTotalMemory opts: order:15 version:8 + // decode x.TemporaryAllowedTotalMemory opts: order:15 version:8 if err := codec256.FormatLong(writer, x.TemporaryAllowedTotalMemory); err != nil { return err } - // decode x.TemporaryAllowedTotalMemoryTimeLimit opts: order:16 version:8 + // decode x.TemporaryAllowedTotalMemoryTimeLimit opts: order:16 version:8 if err := codec256.FormatLong(writer, x.TemporaryAllowedTotalMemoryTimeLimit); err != nil { return err } @@ -172,11 +172,11 @@ func (x *PortRange) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Min opts: encoder:"short" order:1 + // decode x.Min opts: encoder:"short" order:1 if err := codec256.ParseShort(reader, &x.Min); err != nil { return err } - // decode x.Max opts: encoder:"short" order:2 + // decode x.Max opts: encoder:"short" order:2 if err := codec256.ParseShort(reader, &x.Max); err != nil { return err } @@ -186,11 +186,11 @@ func (x *PortRange) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Min opts: encoder:"short" order:1 + // decode x.Min opts: encoder:"short" order:1 if err := codec256.FormatShort(writer, x.Min); err != nil { return err } - // decode x.Max opts: encoder:"short" order:2 + // decode x.Max opts: encoder:"short" order:2 if err := codec256.FormatShort(writer, x.Max); err != nil { return err } diff --git a/gen/v8platform/serialize/v1/services_ras.pb.go b/gen/v8platform/serialize/v1/services_ras.pb.go index 8b652c4..16bb7a1 100644 --- a/gen/v8platform/serialize/v1/services_ras.pb.go +++ b/gen/v8platform/serialize/v1/services_ras.pb.go @@ -26,7 +26,7 @@ func (x *ServiceInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseInt(reader, &x.MainOnly); err != nil { return err } - // decode x.Managers opts: encoder:"uuid" order:4 + // decode x.Managers opts: encoder:"uuid" order:4 var size_Managers int if err := codec256.ParseSize(reader, &size_Managers); err != nil { return err @@ -56,7 +56,7 @@ func (x *ServiceInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatInt(writer, x.MainOnly); err != nil { return err } - // decode x.Managers opts: encoder:"uuid" order:4 + // decode x.Managers opts: encoder:"uuid" order:4 if err := codec256.FormatSize(writer, len(x.Managers)); err != nil { return err } diff --git a/gen/v8platform/serialize/v1/sessions_ras.pb.go b/gen/v8platform/serialize/v1/sessions_ras.pb.go index c636010..816edd6 100644 --- a/gen/v8platform/serialize/v1/sessions_ras.pb.go +++ b/gen/v8platform/serialize/v1/sessions_ras.pb.go @@ -15,7 +15,7 @@ func (x *SessionInfo) Parse(reader io.Reader, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.ParseUUID(reader, &x.Uuid); err != nil { return err } @@ -47,7 +47,7 @@ func (x *SessionInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseLong(reader, &x.CallsLast5Min); err != nil { return err } - // decode x.ConnectionId opts: encoder:"uuid" order:9 + // decode x.ConnectionId opts: encoder:"uuid" order:9 if err := codec256.ParseUUID(reader, &x.ConnectionId); err != nil { return err } @@ -67,7 +67,7 @@ func (x *SessionInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseInt(reader, &x.DbProcTook); err != nil { return err } - // decode x.DbProcTookAt opts: encoder:"time" order:14 + // decode x.DbProcTookAt opts: encoder:"time" order:14 x.DbProcTookAt = ×tamppb.Timestamp{} if err := codec256.ParseTime(reader, x.DbProcTookAt); err != nil { return err @@ -100,11 +100,11 @@ func (x *SessionInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseString(reader, &x.Host); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:22 + // decode x.InfobaseId opts: encoder:"uuid" order:22 if err := codec256.ParseUUID(reader, &x.InfobaseId); err != nil { return err } - // decode x.LastActiveAt opts: encoder:"time" order:23 + // decode x.LastActiveAt opts: encoder:"time" order:23 x.LastActiveAt = ×tamppb.Timestamp{} if err := codec256.ParseTime(reader, x.LastActiveAt); err != nil { return err @@ -138,7 +138,7 @@ func (x *SessionInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseString(reader, &x.Locale); err != nil { return err } - // decode x.ProcessId opts: encoder:"uuid" order:29 + // decode x.ProcessId opts: encoder:"uuid" order:29 if err := codec256.ParseUUID(reader, &x.ProcessId); err != nil { return err } @@ -146,7 +146,7 @@ func (x *SessionInfo) Parse(reader io.Reader, version int32) error { if err := codec256.ParseInt(reader, &x.Id); err != nil { return err } - // decode x.StartedAt opts: encoder:"time" order:31 + // decode x.StartedAt opts: encoder:"time" order:31 x.StartedAt = ×tamppb.Timestamp{} if err := codec256.ParseTime(reader, x.StartedAt); err != nil { return err @@ -156,83 +156,83 @@ func (x *SessionInfo) Parse(reader io.Reader, version int32) error { return err } if version >= 4 { - // decode x.MemoryCurrent opts: order:33 version:4 + // decode x.MemoryCurrent opts: order:33 version:4 if err := codec256.ParseLong(reader, &x.MemoryCurrent); err != nil { return err } - // decode x.MemoryLast5Min opts: order:34 version:4 + // decode x.MemoryLast5Min opts: order:34 version:4 if err := codec256.ParseLong(reader, &x.MemoryLast5Min); err != nil { return err } - // decode x.MemoryTotal opts: order:35 version:4 + // decode x.MemoryTotal opts: order:35 version:4 if err := codec256.ParseLong(reader, &x.MemoryTotal); err != nil { return err } - // decode x.ReadCurrent opts: order:36 version:4 + // decode x.ReadCurrent opts: order:36 version:4 if err := codec256.ParseLong(reader, &x.ReadCurrent); err != nil { return err } - // decode x.ReadLast5Min opts: order:37 version:4 + // decode x.ReadLast5Min opts: order:37 version:4 if err := codec256.ParseLong(reader, &x.ReadLast5Min); err != nil { return err } - // decode x.ReadTotal opts: order:38 version:4 + // decode x.ReadTotal opts: order:38 version:4 if err := codec256.ParseLong(reader, &x.ReadTotal); err != nil { return err } - // decode x.WriteCurrent opts: order:39 version:4 + // decode x.WriteCurrent opts: order:39 version:4 if err := codec256.ParseLong(reader, &x.WriteCurrent); err != nil { return err } - // decode x.WriteLast5Min opts: order:40 version:4 + // decode x.WriteLast5Min opts: order:40 version:4 if err := codec256.ParseLong(reader, &x.WriteLast5Min); err != nil { return err } - // decode x.WriteTotal opts: order:41 version:4 + // decode x.WriteTotal opts: order:41 version:4 if err := codec256.ParseLong(reader, &x.WriteTotal); err != nil { return err } } if version >= 5 { - // decode x.DurationCurrentService opts: order:42 version:5 + // decode x.DurationCurrentService opts: order:42 version:5 if err := codec256.ParseInt(reader, &x.DurationCurrentService); err != nil { return err } - // decode x.DurationLast5MinService opts: order:43 version:5 + // decode x.DurationLast5MinService opts: order:43 version:5 if err := codec256.ParseLong(reader, &x.DurationLast5MinService); err != nil { return err } - // decode x.DurationAllService opts: order:44 version:5 + // decode x.DurationAllService opts: order:44 version:5 if err := codec256.ParseInt(reader, &x.DurationAllService); err != nil { return err } - // decode x.CurrentServiceName opts: order:45 version:5 + // decode x.CurrentServiceName opts: order:45 version:5 if err := codec256.ParseString(reader, &x.CurrentServiceName); err != nil { return err } } if version >= 6 { - // decode x.CpuTimeCurrent opts: order:46 version:6 + // decode x.CpuTimeCurrent opts: order:46 version:6 if err := codec256.ParseLong(reader, &x.CpuTimeCurrent); err != nil { return err } - // decode x.CpuTimeLast5Min opts: order:47 version:6 + // decode x.CpuTimeLast5Min opts: order:47 version:6 if err := codec256.ParseLong(reader, &x.CpuTimeLast5Min); err != nil { return err } - // decode x.CpuTimeTotal opts: order:48 version:6 + // decode x.CpuTimeTotal opts: order:48 version:6 if err := codec256.ParseLong(reader, &x.CpuTimeTotal); err != nil { return err } } if version >= 7 { - // decode x.DataSeparation opts: order:49 version:7 + // decode x.DataSeparation opts: order:49 version:7 if err := codec256.ParseString(reader, &x.DataSeparation); err != nil { return err } } if version >= 10 { - // decode x.ClientIpAddress opts: order:50 version:10 + // decode x.ClientIpAddress opts: order:50 version:10 if err := codec256.ParseString(reader, &x.ClientIpAddress); err != nil { return err } @@ -243,7 +243,7 @@ func (x *SessionInfo) Formatter(writer io.Writer, version int32) error { if x == nil { return nil } - // decode x.Uuid opts: encoder:"uuid" order:1 + // decode x.Uuid opts: encoder:"uuid" order:1 if err := codec256.FormatUuid(writer, x.Uuid); err != nil { return err } @@ -275,7 +275,7 @@ func (x *SessionInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatLong(writer, x.CallsLast5Min); err != nil { return err } - // decode x.ConnectionId opts: encoder:"uuid" order:9 + // decode x.ConnectionId opts: encoder:"uuid" order:9 if err := codec256.FormatUuid(writer, x.ConnectionId); err != nil { return err } @@ -295,7 +295,7 @@ func (x *SessionInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatInt(writer, x.DbProcTook); err != nil { return err } - // decode x.DbProcTookAt opts: encoder:"time" order:14 + // decode x.DbProcTookAt opts: encoder:"time" order:14 // TODO check nil if err := codec256.FormatTime(writer, x.GetDbProcTookAt().AsTime()); err != nil { return err @@ -328,11 +328,11 @@ func (x *SessionInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatString(writer, x.Host); err != nil { return err } - // decode x.InfobaseId opts: encoder:"uuid" order:22 + // decode x.InfobaseId opts: encoder:"uuid" order:22 if err := codec256.FormatUuid(writer, x.InfobaseId); err != nil { return err } - // decode x.LastActiveAt opts: encoder:"time" order:23 + // decode x.LastActiveAt opts: encoder:"time" order:23 // TODO check nil if err := codec256.FormatTime(writer, x.GetLastActiveAt().AsTime()); err != nil { return err @@ -362,7 +362,7 @@ func (x *SessionInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatString(writer, x.Locale); err != nil { return err } - // decode x.ProcessId opts: encoder:"uuid" order:29 + // decode x.ProcessId opts: encoder:"uuid" order:29 if err := codec256.FormatUuid(writer, x.ProcessId); err != nil { return err } @@ -370,7 +370,7 @@ func (x *SessionInfo) Formatter(writer io.Writer, version int32) error { if err := codec256.FormatInt(writer, x.Id); err != nil { return err } - // decode x.StartedAt opts: encoder:"time" order:31 + // decode x.StartedAt opts: encoder:"time" order:31 // TODO check nil if err := codec256.FormatTime(writer, x.GetStartedAt().AsTime()); err != nil { return err @@ -380,83 +380,83 @@ func (x *SessionInfo) Formatter(writer io.Writer, version int32) error { return err } if version >= 4 { - // decode x.MemoryCurrent opts: order:33 version:4 + // decode x.MemoryCurrent opts: order:33 version:4 if err := codec256.FormatLong(writer, x.MemoryCurrent); err != nil { return err } - // decode x.MemoryLast5Min opts: order:34 version:4 + // decode x.MemoryLast5Min opts: order:34 version:4 if err := codec256.FormatLong(writer, x.MemoryLast5Min); err != nil { return err } - // decode x.MemoryTotal opts: order:35 version:4 + // decode x.MemoryTotal opts: order:35 version:4 if err := codec256.FormatLong(writer, x.MemoryTotal); err != nil { return err } - // decode x.ReadCurrent opts: order:36 version:4 + // decode x.ReadCurrent opts: order:36 version:4 if err := codec256.FormatLong(writer, x.ReadCurrent); err != nil { return err } - // decode x.ReadLast5Min opts: order:37 version:4 + // decode x.ReadLast5Min opts: order:37 version:4 if err := codec256.FormatLong(writer, x.ReadLast5Min); err != nil { return err } - // decode x.ReadTotal opts: order:38 version:4 + // decode x.ReadTotal opts: order:38 version:4 if err := codec256.FormatLong(writer, x.ReadTotal); err != nil { return err } - // decode x.WriteCurrent opts: order:39 version:4 + // decode x.WriteCurrent opts: order:39 version:4 if err := codec256.FormatLong(writer, x.WriteCurrent); err != nil { return err } - // decode x.WriteLast5Min opts: order:40 version:4 + // decode x.WriteLast5Min opts: order:40 version:4 if err := codec256.FormatLong(writer, x.WriteLast5Min); err != nil { return err } - // decode x.WriteTotal opts: order:41 version:4 + // decode x.WriteTotal opts: order:41 version:4 if err := codec256.FormatLong(writer, x.WriteTotal); err != nil { return err } } if version >= 5 { - // decode x.DurationCurrentService opts: order:42 version:5 + // decode x.DurationCurrentService opts: order:42 version:5 if err := codec256.FormatInt(writer, x.DurationCurrentService); err != nil { return err } - // decode x.DurationLast5MinService opts: order:43 version:5 + // decode x.DurationLast5MinService opts: order:43 version:5 if err := codec256.FormatLong(writer, x.DurationLast5MinService); err != nil { return err } - // decode x.DurationAllService opts: order:44 version:5 + // decode x.DurationAllService opts: order:44 version:5 if err := codec256.FormatInt(writer, x.DurationAllService); err != nil { return err } - // decode x.CurrentServiceName opts: order:45 version:5 + // decode x.CurrentServiceName opts: order:45 version:5 if err := codec256.FormatString(writer, x.CurrentServiceName); err != nil { return err } } if version >= 6 { - // decode x.CpuTimeCurrent opts: order:46 version:6 + // decode x.CpuTimeCurrent opts: order:46 version:6 if err := codec256.FormatLong(writer, x.CpuTimeCurrent); err != nil { return err } - // decode x.CpuTimeLast5Min opts: order:47 version:6 + // decode x.CpuTimeLast5Min opts: order:47 version:6 if err := codec256.FormatLong(writer, x.CpuTimeLast5Min); err != nil { return err } - // decode x.CpuTimeTotal opts: order:48 version:6 + // decode x.CpuTimeTotal opts: order:48 version:6 if err := codec256.FormatLong(writer, x.CpuTimeTotal); err != nil { return err } } if version >= 7 { - // decode x.DataSeparation opts: order:49 version:7 + // decode x.DataSeparation opts: order:49 version:7 if err := codec256.FormatString(writer, x.DataSeparation); err != nil { return err } } if version >= 10 { - // decode x.ClientIpAddress opts: order:50 version:10 + // decode x.ClientIpAddress opts: order:50 version:10 if err := codec256.FormatString(writer, x.ClientIpAddress); err != nil { return err }