diff --git a/bgp/bgp.pb.go b/bgp/bgp.pb.go index 59af62f8..113884db 100644 --- a/bgp/bgp.pb.go +++ b/bgp/bgp.pb.go @@ -16,8 +16,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: bgp/bgp.proto package bgp @@ -215,9 +215,9 @@ var file_bgp_bgp_proto_rawDesc = []byte{ 0x68, 0x62, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x62, 0x67, 0x70, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x42, 0x47, 0x50, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x42, 0x28, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x5a, 0x1e, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x62, 0x67, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x00, 0x42, 0x28, 0x5a, 0x1e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, + 0x62, 0x67, 0x70, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/bgp/bgp_grpc.pb.go b/bgp/bgp_grpc.pb.go index 6f185c67..86676828 100644 --- a/bgp/bgp_grpc.pb.go +++ b/bgp/bgp_grpc.pb.go @@ -1,24 +1,4 @@ -// -// Copyright 2017 Google Inc. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: bgp/bgp.proto package bgp @@ -34,10 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - BGP_ClearBGPNeighbor_FullMethodName = "/gnoi.bgp.BGP/ClearBGPNeighbor" -) - // BGPClient is the client API for BGP service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -56,7 +32,7 @@ func NewBGPClient(cc grpc.ClientConnInterface) BGPClient { func (c *bGPClient) ClearBGPNeighbor(ctx context.Context, in *ClearBGPNeighborRequest, opts ...grpc.CallOption) (*ClearBGPNeighborResponse, error) { out := new(ClearBGPNeighborResponse) - err := c.cc.Invoke(ctx, BGP_ClearBGPNeighbor_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.bgp.BGP/ClearBGPNeighbor", in, out, opts...) if err != nil { return nil, err } @@ -102,7 +78,7 @@ func _BGP_ClearBGPNeighbor_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: BGP_ClearBGPNeighbor_FullMethodName, + FullMethod: "/gnoi.bgp.BGP/ClearBGPNeighbor", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BGPServer).ClearBGPNeighbor(ctx, req.(*ClearBGPNeighborRequest)) diff --git a/cert/cert.pb.go b/cert/cert.pb.go index f5ca7b27..3b249bf4 100644 --- a/cert/cert.pb.go +++ b/cert/cert.pb.go @@ -19,8 +19,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: cert/cert.proto package cert @@ -198,7 +198,6 @@ type RotateCertificateRequest struct { // Request Messages. // // Types that are assignable to RotateRequest: - // // *RotateCertificateRequest_GenerateCsr // *RotateCertificateRequest_LoadCertificate // *RotateCertificateRequest_FinalizeRotation @@ -296,7 +295,6 @@ type RotateCertificateResponse struct { // Response messages. // // Types that are assignable to RotateResponse: - // // *RotateCertificateResponse_GeneratedCsr // *RotateCertificateResponse_LoadCertificate RotateResponse isRotateCertificateResponse_RotateResponse `protobuf_oneof:"rotate_response"` @@ -380,7 +378,6 @@ type InstallCertificateRequest struct { // Request Messages. // // Types that are assignable to InstallRequest: - // // *InstallCertificateRequest_GenerateCsr // *InstallCertificateRequest_LoadCertificate InstallRequest isInstallCertificateRequest_InstallRequest `protobuf_oneof:"install_request"` @@ -464,7 +461,6 @@ type InstallCertificateResponse struct { // Response messages. // // Types that are assignable to InstallResponse: - // // *InstallCertificateResponse_GeneratedCsr // *InstallCertificateResponse_LoadCertificate InstallResponse isInstallCertificateResponse_InstallResponse `protobuf_oneof:"install_response"` @@ -2025,10 +2021,10 @@ var file_cert_cert_proto_rawDesc = []byte{ 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x53, 0x52, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x61, 0x6e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, - 0x53, 0x52, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x29, 0xd2, 0x3e, 0x05, 0x30, - 0x2e, 0x32, 0x2e, 0x30, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, - 0x2f, 0x63, 0x65, 0x72, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x53, 0x52, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x29, 0x5a, 0x1f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x63, 0x65, 0x72, 0x74, 0xd2, 0x3e, 0x05, + 0x30, 0x2e, 0x32, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/cert/cert_grpc.pb.go b/cert/cert_grpc.pb.go index cf6dd00f..1f3754b3 100644 --- a/cert/cert_grpc.pb.go +++ b/cert/cert_grpc.pb.go @@ -1,27 +1,4 @@ -// -// Copyright 2017 Google Inc. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -// This file defines the gNOI API to be used for certificate installation and -// rotation. - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: cert/cert.proto package cert @@ -37,17 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - CertificateManagement_Rotate_FullMethodName = "/gnoi.certificate.CertificateManagement/Rotate" - CertificateManagement_Install_FullMethodName = "/gnoi.certificate.CertificateManagement/Install" - CertificateManagement_GenerateCSR_FullMethodName = "/gnoi.certificate.CertificateManagement/GenerateCSR" - CertificateManagement_LoadCertificate_FullMethodName = "/gnoi.certificate.CertificateManagement/LoadCertificate" - CertificateManagement_LoadCertificateAuthorityBundle_FullMethodName = "/gnoi.certificate.CertificateManagement/LoadCertificateAuthorityBundle" - CertificateManagement_GetCertificates_FullMethodName = "/gnoi.certificate.CertificateManagement/GetCertificates" - CertificateManagement_RevokeCertificates_FullMethodName = "/gnoi.certificate.CertificateManagement/RevokeCertificates" - CertificateManagement_CanGenerateCSR_FullMethodName = "/gnoi.certificate.CertificateManagement/CanGenerateCSR" -) - // CertificateManagementClient is the client API for CertificateManagement service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -63,49 +29,49 @@ type CertificateManagementClient interface { // Sequence of expected messages: // Case 1: When Target generates the CSR. // - // Step 1: Start the stream - // Client <---- Rotate() RPC stream begin ------> Target + // Step 1: Start the stream + // Client <---- Rotate() RPC stream begin ------> Target // - // Step 2: CSR - // Client -----> GenerateCSRRequest----> Target - // Client <----- GenerateCSRResponse <--- Target + // Step 2: CSR + // Client -----> GenerateCSRRequest----> Target + // Client <----- GenerateCSRResponse <--- Target // - // Step 3: Certificate Signing - // Client gets the certificate signed by the CA. + // Step 3: Certificate Signing + // Client gets the certificate signed by the CA. // - // Step 4: Send Certificate to Target. - // Client --> LoadCertificateRequest ----> Target - // Client <-- LoadCertificateResponse <--- Target + // Step 4: Send Certificate to Target. + // Client --> LoadCertificateRequest ----> Target + // Client <-- LoadCertificateResponse <--- Target // - // Step 5: Test/Validation by the client. - // This step should be to create a new connection to the target using - // The new certificate and validate that the certificate works. - // Once verfied, the client will then proceed to finalize the rotation. - // If the new connection cannot be completed the client will cancel the - // RPC thereby forcing the target to rollback the certificate. + // Step 5: Test/Validation by the client. + // This step should be to create a new connection to the target using + // The new certificate and validate that the certificate works. + // Once verfied, the client will then proceed to finalize the rotation. + // If the new connection cannot be completed the client will cancel the + // RPC thereby forcing the target to rollback the certificate. // - // Step 6: Final commit. - // Client ---> FinalizeRequest ----> Target + // Step 6: Final commit. + // Client ---> FinalizeRequest ----> Target // - // Case 2: When Client generates the CSR. // - // Step 1: Start the stream - // Client <---- Rotate() RPC stream begin ----> Target + // Case 2: When Client generates the CSR. + // Step 1: Start the stream + // Client <---- Rotate() RPC stream begin ----> Target // - // Step 2: CSR - // Client generates its own certificate. + // Step 2: CSR + // Client generates its own certificate. // - // Step 3: Certificate Signing - // Client gets the certificate signed by the CA. + // Step 3: Certificate Signing + // Client gets the certificate signed by the CA. // - // Step 4: Send Certificate to Target. - // Client ---> LoadCertificateRequest ----> Target - // Client <--- LoadCertificateResponse <--- Target + // Step 4: Send Certificate to Target. + // Client ---> LoadCertificateRequest ----> Target + // Client <--- LoadCertificateResponse <--- Target // - // Step 5: Test/Validation by the client. + // Step 5: Test/Validation by the client. // - // Step 6: Final commit. - // Client ---> FinalizeRequest ----> Target + // Step 6: Final commit. + // Client ---> FinalizeRequest ----> Target Rotate(ctx context.Context, opts ...grpc.CallOption) (CertificateManagement_RotateClient, error) // Install will put a new Certificate on the target by creating a new CSR // request and placing the new Certificate based on the CSR on the target.The @@ -121,34 +87,34 @@ type CertificateManagementClient interface { // Sequence of expected messages: // Case 1: When Target generates the CSR-------------------------: // - // Step 1: Start the stream - // Client <---- Install() RPC stream begin ------> Target + // Step 1: Start the stream + // Client <---- Install() RPC stream begin ------> Target // - // Step 2: CSR - // Client -----> GenerateCSRRequest() ----> Target - // Client <---- GenerateCSRResponse() <---- Target + // Step 2: CSR + // Client -----> GenerateCSRRequest() ----> Target + // Client <---- GenerateCSRResponse() <---- Target // - // Step 3: Certificate Signing - // Client gets the certificate signed by the CA. + // Step 3: Certificate Signing + // Client gets the certificate signed by the CA. // - // Step 4: Send Certificate to Target. - // Client -> LoadCertificateRequest() ----> Target - // Client <- LoadCertificateResponse() <--- Target + // Step 4: Send Certificate to Target. + // Client -> LoadCertificateRequest() ----> Target + // Client <- LoadCertificateResponse() <--- Target // // Case 2: When Client generates the CSR-------------------------: + // Step 1: Start the stream + // Client <---- Install() RPC stream begin ------> Target // - // Step 1: Start the stream - // Client <---- Install() RPC stream begin ------> Target + // Step 2: CSR + // Client generates its own certificate. // - // Step 2: CSR - // Client generates its own certificate. + // Step 3: Certificate Signing + // Client gets the certificate signed by the CA. // - // Step 3: Certificate Signing - // Client gets the certificate signed by the CA. + // Step 4: Send Certificate to Target. + // Client -> LoadCertificateRequest() ----> Target + // Client <- LoadCertificateResponse() <--- Target // - // Step 4: Send Certificate to Target. - // Client -> LoadCertificateRequest() ----> Target - // Client <- LoadCertificateResponse() <--- Target Install(ctx context.Context, opts ...grpc.CallOption) (CertificateManagement_InstallClient, error) // When credentials are generated on the device, generates a keypair and // returns the Certificate Signing Request (CSR). The CSR has the public key, @@ -178,7 +144,7 @@ func NewCertificateManagementClient(cc grpc.ClientConnInterface) CertificateMana } func (c *certificateManagementClient) Rotate(ctx context.Context, opts ...grpc.CallOption) (CertificateManagement_RotateClient, error) { - stream, err := c.cc.NewStream(ctx, &CertificateManagement_ServiceDesc.Streams[0], CertificateManagement_Rotate_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &CertificateManagement_ServiceDesc.Streams[0], "/gnoi.certificate.CertificateManagement/Rotate", opts...) if err != nil { return nil, err } @@ -209,7 +175,7 @@ func (x *certificateManagementRotateClient) Recv() (*RotateCertificateResponse, } func (c *certificateManagementClient) Install(ctx context.Context, opts ...grpc.CallOption) (CertificateManagement_InstallClient, error) { - stream, err := c.cc.NewStream(ctx, &CertificateManagement_ServiceDesc.Streams[1], CertificateManagement_Install_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &CertificateManagement_ServiceDesc.Streams[1], "/gnoi.certificate.CertificateManagement/Install", opts...) if err != nil { return nil, err } @@ -241,7 +207,7 @@ func (x *certificateManagementInstallClient) Recv() (*InstallCertificateResponse func (c *certificateManagementClient) GenerateCSR(ctx context.Context, in *GenerateCSRRequest, opts ...grpc.CallOption) (*GenerateCSRResponse, error) { out := new(GenerateCSRResponse) - err := c.cc.Invoke(ctx, CertificateManagement_GenerateCSR_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.certificate.CertificateManagement/GenerateCSR", in, out, opts...) if err != nil { return nil, err } @@ -250,7 +216,7 @@ func (c *certificateManagementClient) GenerateCSR(ctx context.Context, in *Gener func (c *certificateManagementClient) LoadCertificate(ctx context.Context, in *LoadCertificateRequest, opts ...grpc.CallOption) (*LoadCertificateResponse, error) { out := new(LoadCertificateResponse) - err := c.cc.Invoke(ctx, CertificateManagement_LoadCertificate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.certificate.CertificateManagement/LoadCertificate", in, out, opts...) if err != nil { return nil, err } @@ -259,7 +225,7 @@ func (c *certificateManagementClient) LoadCertificate(ctx context.Context, in *L func (c *certificateManagementClient) LoadCertificateAuthorityBundle(ctx context.Context, in *LoadCertificateAuthorityBundleRequest, opts ...grpc.CallOption) (*LoadCertificateAuthorityBundleResponse, error) { out := new(LoadCertificateAuthorityBundleResponse) - err := c.cc.Invoke(ctx, CertificateManagement_LoadCertificateAuthorityBundle_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.certificate.CertificateManagement/LoadCertificateAuthorityBundle", in, out, opts...) if err != nil { return nil, err } @@ -268,7 +234,7 @@ func (c *certificateManagementClient) LoadCertificateAuthorityBundle(ctx context func (c *certificateManagementClient) GetCertificates(ctx context.Context, in *GetCertificatesRequest, opts ...grpc.CallOption) (*GetCertificatesResponse, error) { out := new(GetCertificatesResponse) - err := c.cc.Invoke(ctx, CertificateManagement_GetCertificates_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.certificate.CertificateManagement/GetCertificates", in, out, opts...) if err != nil { return nil, err } @@ -277,7 +243,7 @@ func (c *certificateManagementClient) GetCertificates(ctx context.Context, in *G func (c *certificateManagementClient) RevokeCertificates(ctx context.Context, in *RevokeCertificatesRequest, opts ...grpc.CallOption) (*RevokeCertificatesResponse, error) { out := new(RevokeCertificatesResponse) - err := c.cc.Invoke(ctx, CertificateManagement_RevokeCertificates_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.certificate.CertificateManagement/RevokeCertificates", in, out, opts...) if err != nil { return nil, err } @@ -286,7 +252,7 @@ func (c *certificateManagementClient) RevokeCertificates(ctx context.Context, in func (c *certificateManagementClient) CanGenerateCSR(ctx context.Context, in *CanGenerateCSRRequest, opts ...grpc.CallOption) (*CanGenerateCSRResponse, error) { out := new(CanGenerateCSRResponse) - err := c.cc.Invoke(ctx, CertificateManagement_CanGenerateCSR_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.certificate.CertificateManagement/CanGenerateCSR", in, out, opts...) if err != nil { return nil, err } @@ -308,49 +274,49 @@ type CertificateManagementServer interface { // Sequence of expected messages: // Case 1: When Target generates the CSR. // - // Step 1: Start the stream - // Client <---- Rotate() RPC stream begin ------> Target + // Step 1: Start the stream + // Client <---- Rotate() RPC stream begin ------> Target // - // Step 2: CSR - // Client -----> GenerateCSRRequest----> Target - // Client <----- GenerateCSRResponse <--- Target + // Step 2: CSR + // Client -----> GenerateCSRRequest----> Target + // Client <----- GenerateCSRResponse <--- Target // - // Step 3: Certificate Signing - // Client gets the certificate signed by the CA. + // Step 3: Certificate Signing + // Client gets the certificate signed by the CA. // - // Step 4: Send Certificate to Target. - // Client --> LoadCertificateRequest ----> Target - // Client <-- LoadCertificateResponse <--- Target + // Step 4: Send Certificate to Target. + // Client --> LoadCertificateRequest ----> Target + // Client <-- LoadCertificateResponse <--- Target // - // Step 5: Test/Validation by the client. - // This step should be to create a new connection to the target using - // The new certificate and validate that the certificate works. - // Once verfied, the client will then proceed to finalize the rotation. - // If the new connection cannot be completed the client will cancel the - // RPC thereby forcing the target to rollback the certificate. + // Step 5: Test/Validation by the client. + // This step should be to create a new connection to the target using + // The new certificate and validate that the certificate works. + // Once verfied, the client will then proceed to finalize the rotation. + // If the new connection cannot be completed the client will cancel the + // RPC thereby forcing the target to rollback the certificate. // - // Step 6: Final commit. - // Client ---> FinalizeRequest ----> Target + // Step 6: Final commit. + // Client ---> FinalizeRequest ----> Target // - // Case 2: When Client generates the CSR. // - // Step 1: Start the stream - // Client <---- Rotate() RPC stream begin ----> Target + // Case 2: When Client generates the CSR. + // Step 1: Start the stream + // Client <---- Rotate() RPC stream begin ----> Target // - // Step 2: CSR - // Client generates its own certificate. + // Step 2: CSR + // Client generates its own certificate. // - // Step 3: Certificate Signing - // Client gets the certificate signed by the CA. + // Step 3: Certificate Signing + // Client gets the certificate signed by the CA. // - // Step 4: Send Certificate to Target. - // Client ---> LoadCertificateRequest ----> Target - // Client <--- LoadCertificateResponse <--- Target + // Step 4: Send Certificate to Target. + // Client ---> LoadCertificateRequest ----> Target + // Client <--- LoadCertificateResponse <--- Target // - // Step 5: Test/Validation by the client. + // Step 5: Test/Validation by the client. // - // Step 6: Final commit. - // Client ---> FinalizeRequest ----> Target + // Step 6: Final commit. + // Client ---> FinalizeRequest ----> Target Rotate(CertificateManagement_RotateServer) error // Install will put a new Certificate on the target by creating a new CSR // request and placing the new Certificate based on the CSR on the target.The @@ -366,34 +332,34 @@ type CertificateManagementServer interface { // Sequence of expected messages: // Case 1: When Target generates the CSR-------------------------: // - // Step 1: Start the stream - // Client <---- Install() RPC stream begin ------> Target + // Step 1: Start the stream + // Client <---- Install() RPC stream begin ------> Target // - // Step 2: CSR - // Client -----> GenerateCSRRequest() ----> Target - // Client <---- GenerateCSRResponse() <---- Target + // Step 2: CSR + // Client -----> GenerateCSRRequest() ----> Target + // Client <---- GenerateCSRResponse() <---- Target // - // Step 3: Certificate Signing - // Client gets the certificate signed by the CA. + // Step 3: Certificate Signing + // Client gets the certificate signed by the CA. // - // Step 4: Send Certificate to Target. - // Client -> LoadCertificateRequest() ----> Target - // Client <- LoadCertificateResponse() <--- Target + // Step 4: Send Certificate to Target. + // Client -> LoadCertificateRequest() ----> Target + // Client <- LoadCertificateResponse() <--- Target // // Case 2: When Client generates the CSR-------------------------: + // Step 1: Start the stream + // Client <---- Install() RPC stream begin ------> Target // - // Step 1: Start the stream - // Client <---- Install() RPC stream begin ------> Target + // Step 2: CSR + // Client generates its own certificate. // - // Step 2: CSR - // Client generates its own certificate. + // Step 3: Certificate Signing + // Client gets the certificate signed by the CA. // - // Step 3: Certificate Signing - // Client gets the certificate signed by the CA. + // Step 4: Send Certificate to Target. + // Client -> LoadCertificateRequest() ----> Target + // Client <- LoadCertificateResponse() <--- Target // - // Step 4: Send Certificate to Target. - // Client -> LoadCertificateRequest() ----> Target - // Client <- LoadCertificateResponse() <--- Target Install(CertificateManagement_InstallServer) error // When credentials are generated on the device, generates a keypair and // returns the Certificate Signing Request (CSR). The CSR has the public key, @@ -518,7 +484,7 @@ func _CertificateManagement_GenerateCSR_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: CertificateManagement_GenerateCSR_FullMethodName, + FullMethod: "/gnoi.certificate.CertificateManagement/GenerateCSR", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CertificateManagementServer).GenerateCSR(ctx, req.(*GenerateCSRRequest)) @@ -536,7 +502,7 @@ func _CertificateManagement_LoadCertificate_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: CertificateManagement_LoadCertificate_FullMethodName, + FullMethod: "/gnoi.certificate.CertificateManagement/LoadCertificate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CertificateManagementServer).LoadCertificate(ctx, req.(*LoadCertificateRequest)) @@ -554,7 +520,7 @@ func _CertificateManagement_LoadCertificateAuthorityBundle_Handler(srv interface } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: CertificateManagement_LoadCertificateAuthorityBundle_FullMethodName, + FullMethod: "/gnoi.certificate.CertificateManagement/LoadCertificateAuthorityBundle", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CertificateManagementServer).LoadCertificateAuthorityBundle(ctx, req.(*LoadCertificateAuthorityBundleRequest)) @@ -572,7 +538,7 @@ func _CertificateManagement_GetCertificates_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: CertificateManagement_GetCertificates_FullMethodName, + FullMethod: "/gnoi.certificate.CertificateManagement/GetCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CertificateManagementServer).GetCertificates(ctx, req.(*GetCertificatesRequest)) @@ -590,7 +556,7 @@ func _CertificateManagement_RevokeCertificates_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: CertificateManagement_RevokeCertificates_FullMethodName, + FullMethod: "/gnoi.certificate.CertificateManagement/RevokeCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CertificateManagementServer).RevokeCertificates(ctx, req.(*RevokeCertificatesRequest)) @@ -608,7 +574,7 @@ func _CertificateManagement_CanGenerateCSR_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: CertificateManagement_CanGenerateCSR_FullMethodName, + FullMethod: "/gnoi.certificate.CertificateManagement/CanGenerateCSR", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CertificateManagementServer).CanGenerateCSR(ctx, req.(*CanGenerateCSRRequest)) diff --git a/common/common.pb.go b/common/common.pb.go index df29510b..e75cb93b 100644 --- a/common/common.pb.go +++ b/common/common.pb.go @@ -16,8 +16,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: common/common.proto package common diff --git a/containerz/containerz.pb.go b/containerz/containerz.pb.go index 7cbcc73b..87318d57 100644 --- a/containerz/containerz.pb.go +++ b/containerz/containerz.pb.go @@ -20,8 +20,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: containerz/containerz.proto package containerz @@ -273,7 +273,6 @@ type DeployRequest struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Request: - // // *DeployRequest_ImageTransfer // *DeployRequest_Content // *DeployRequest_ImageTransferEnd @@ -489,7 +488,6 @@ type DeployResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Response: - // // *DeployResponse_ImageTransferReady // *DeployResponse_ImageTransferProgress // *DeployResponse_ImageTransferSuccess @@ -1116,7 +1114,6 @@ type StartResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Response: - // // *StartResponse_StartOk // *StartResponse_StartError Response isStartResponse_Response `protobuf_oneof:"response"` @@ -1828,10 +1825,10 @@ var file_containerz_containerz_proto_rawDesc = []byte{ 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x7a, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x7a, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x2f, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x31, - 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, - 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x7a, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x2f, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, + 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x7a, 0xd2, + 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/containerz/containerz_grpc.pb.go b/containerz/containerz_grpc.pb.go index 8e4c2cba..c9371c25 100644 --- a/containerz/containerz_grpc.pb.go +++ b/containerz/containerz_grpc.pb.go @@ -1,28 +1,4 @@ -// -// Copyright 2023 Google Inc. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -// This file defines the gNOI APIs used to perform container operations on a -// network device. This specification is still under design and subject to -// change. - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: containerz/containerz.proto package containerz @@ -38,15 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - Containerz_Deploy_FullMethodName = "/gnoi.containerz.Containerz/Deploy" - Containerz_Remove_FullMethodName = "/gnoi.containerz.Containerz/Remove" - Containerz_List_FullMethodName = "/gnoi.containerz.Containerz/List" - Containerz_Start_FullMethodName = "/gnoi.containerz.Containerz/Start" - Containerz_Stop_FullMethodName = "/gnoi.containerz.Containerz/Stop" - Containerz_Log_FullMethodName = "/gnoi.containerz.Containerz/Log" -) - // ContainerzClient is the client API for Containerz service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -86,7 +53,7 @@ func NewContainerzClient(cc grpc.ClientConnInterface) ContainerzClient { } func (c *containerzClient) Deploy(ctx context.Context, opts ...grpc.CallOption) (Containerz_DeployClient, error) { - stream, err := c.cc.NewStream(ctx, &Containerz_ServiceDesc.Streams[0], Containerz_Deploy_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &Containerz_ServiceDesc.Streams[0], "/gnoi.containerz.Containerz/Deploy", opts...) if err != nil { return nil, err } @@ -118,7 +85,7 @@ func (x *containerzDeployClient) Recv() (*DeployResponse, error) { func (c *containerzClient) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error) { out := new(RemoveResponse) - err := c.cc.Invoke(ctx, Containerz_Remove_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.containerz.Containerz/Remove", in, out, opts...) if err != nil { return nil, err } @@ -126,7 +93,7 @@ func (c *containerzClient) Remove(ctx context.Context, in *RemoveRequest, opts . } func (c *containerzClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (Containerz_ListClient, error) { - stream, err := c.cc.NewStream(ctx, &Containerz_ServiceDesc.Streams[1], Containerz_List_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &Containerz_ServiceDesc.Streams[1], "/gnoi.containerz.Containerz/List", opts...) if err != nil { return nil, err } @@ -159,7 +126,7 @@ func (x *containerzListClient) Recv() (*ListResponse, error) { func (c *containerzClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) { out := new(StartResponse) - err := c.cc.Invoke(ctx, Containerz_Start_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.containerz.Containerz/Start", in, out, opts...) if err != nil { return nil, err } @@ -168,7 +135,7 @@ func (c *containerzClient) Start(ctx context.Context, in *StartRequest, opts ... func (c *containerzClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) { out := new(StopResponse) - err := c.cc.Invoke(ctx, Containerz_Stop_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.containerz.Containerz/Stop", in, out, opts...) if err != nil { return nil, err } @@ -176,7 +143,7 @@ func (c *containerzClient) Stop(ctx context.Context, in *StopRequest, opts ...gr } func (c *containerzClient) Log(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (Containerz_LogClient, error) { - stream, err := c.cc.NewStream(ctx, &Containerz_ServiceDesc.Streams[2], Containerz_Log_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &Containerz_ServiceDesc.Streams[2], "/gnoi.containerz.Containerz/Log", opts...) if err != nil { return nil, err } @@ -309,7 +276,7 @@ func _Containerz_Remove_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Containerz_Remove_FullMethodName, + FullMethod: "/gnoi.containerz.Containerz/Remove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ContainerzServer).Remove(ctx, req.(*RemoveRequest)) @@ -348,7 +315,7 @@ func _Containerz_Start_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Containerz_Start_FullMethodName, + FullMethod: "/gnoi.containerz.Containerz/Start", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ContainerzServer).Start(ctx, req.(*StartRequest)) @@ -366,7 +333,7 @@ func _Containerz_Stop_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Containerz_Stop_FullMethodName, + FullMethod: "/gnoi.containerz.Containerz/Stop", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ContainerzServer).Stop(ctx, req.(*StopRequest)) diff --git a/diag/diag.pb.go b/diag/diag.pb.go index bc45422e..41dfb222 100644 --- a/diag/diag.pb.go +++ b/diag/diag.pb.go @@ -19,8 +19,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: diag/diag.proto package diag @@ -1167,9 +1167,9 @@ var file_diag_diag_proto_rawDesc = []byte{ 0x45, 0x52, 0x54, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x64, 0x69, 0x61, 0x67, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x45, 0x52, 0x54, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x42, 0x29, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x5a, 0x1f, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x64, 0x69, 0x61, 0x67, 0x62, + 0x73, 0x65, 0x22, 0x00, 0x42, 0x29, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, + 0x6f, 0x69, 0x2f, 0x64, 0x69, 0x61, 0x67, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/diag/diag_grpc.pb.go b/diag/diag_grpc.pb.go index 49f1678a..50bffe38 100644 --- a/diag/diag_grpc.pb.go +++ b/diag/diag_grpc.pb.go @@ -1,27 +1,4 @@ -// -// Copyright 2017 Google Inc. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -// This file defines the gNOI APIs used to perform diagnostic operations on a -// network device. - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: diag/diag.proto package diag @@ -37,12 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - Diag_StartBERT_FullMethodName = "/gnoi.diag.Diag/StartBERT" - Diag_StopBERT_FullMethodName = "/gnoi.diag.Diag/StopBERT" - Diag_GetBERTResult_FullMethodName = "/gnoi.diag.Diag/GetBERTResult" -) - // DiagClient is the client API for Diag service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -52,25 +23,23 @@ type DiagClient interface { // use this ID (as well as the list of the ports) to stop the BERT operation // and/or get the BERT results. This RPC is expected to return an error status // in the following situations: - // - When BERT operation is supported on none of the ports specified by - // the request. - // - When BERT is already in progress on any port specified by the request. - // - In case of any low-level HW/SW internal errors. - // + // - When BERT operation is supported on none of the ports specified by + // the request. + // - When BERT is already in progress on any port specified by the request. + // - In case of any low-level HW/SW internal errors. // The RPC returns an OK status of none of these situations is encountered. StartBERT(ctx context.Context, in *StartBERTRequest, opts ...grpc.CallOption) (*StartBERTResponse, error) // Stops an already in-progress BERT operation on a set of ports. The caller // uses the BERT operation ID it previously used when starting the operation // to stop it. The RPC is expected to return an error status in the following // situations: - // - When there is at least one BERT operation in progress on a port which - // cannot be stopped in the middle of the operation (either due to lack of - // support or internal problems). - // - When no BERT operation, which matches the given BERT operation ID, is in - // progress or completed on any of the ports specified by the request. - // - When the BERT operation ID does not match the in progress or completed - // BERT operation on any of the ports specified by the request. - // + // - When there is at least one BERT operation in progress on a port which + // cannot be stopped in the middle of the operation (either due to lack of + // support or internal problems). + // - When no BERT operation, which matches the given BERT operation ID, is in + // progress or completed on any of the ports specified by the request. + // - When the BERT operation ID does not match the in progress or completed + // BERT operation on any of the ports specified by the request. // The RPC returns an OK status of none of these situations is encountered. // Note that a BERT operation is considered completed if the device has a // record/history of it. Also note that it is OK to receive a stop request for @@ -83,11 +52,10 @@ type DiagClient interface { // last N BERT operations for some amount of time, as specified by the // product requirement. This RPC is expected to return error status in the // following situations: - // - When no BERT operation, which matches the given BERT operation ID, is in - // progress or completed on any of the ports specified by the request. - // - When the BERT operation ID does not match the in progress or completed - // BERT operation on any of the ports specified by the request. - // + // - When no BERT operation, which matches the given BERT operation ID, is in + // progress or completed on any of the ports specified by the request. + // - When the BERT operation ID does not match the in progress or completed + // BERT operation on any of the ports specified by the request. // The RPC returns an OK status of none of these situations is encountered. // Note that a BERT operation is considered completed if device has a // record of it. @@ -104,7 +72,7 @@ func NewDiagClient(cc grpc.ClientConnInterface) DiagClient { func (c *diagClient) StartBERT(ctx context.Context, in *StartBERTRequest, opts ...grpc.CallOption) (*StartBERTResponse, error) { out := new(StartBERTResponse) - err := c.cc.Invoke(ctx, Diag_StartBERT_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.diag.Diag/StartBERT", in, out, opts...) if err != nil { return nil, err } @@ -113,7 +81,7 @@ func (c *diagClient) StartBERT(ctx context.Context, in *StartBERTRequest, opts . func (c *diagClient) StopBERT(ctx context.Context, in *StopBERTRequest, opts ...grpc.CallOption) (*StopBERTResponse, error) { out := new(StopBERTResponse) - err := c.cc.Invoke(ctx, Diag_StopBERT_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.diag.Diag/StopBERT", in, out, opts...) if err != nil { return nil, err } @@ -122,7 +90,7 @@ func (c *diagClient) StopBERT(ctx context.Context, in *StopBERTRequest, opts ... func (c *diagClient) GetBERTResult(ctx context.Context, in *GetBERTResultRequest, opts ...grpc.CallOption) (*GetBERTResultResponse, error) { out := new(GetBERTResultResponse) - err := c.cc.Invoke(ctx, Diag_GetBERTResult_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.diag.Diag/GetBERTResult", in, out, opts...) if err != nil { return nil, err } @@ -138,25 +106,23 @@ type DiagServer interface { // use this ID (as well as the list of the ports) to stop the BERT operation // and/or get the BERT results. This RPC is expected to return an error status // in the following situations: - // - When BERT operation is supported on none of the ports specified by - // the request. - // - When BERT is already in progress on any port specified by the request. - // - In case of any low-level HW/SW internal errors. - // + // - When BERT operation is supported on none of the ports specified by + // the request. + // - When BERT is already in progress on any port specified by the request. + // - In case of any low-level HW/SW internal errors. // The RPC returns an OK status of none of these situations is encountered. StartBERT(context.Context, *StartBERTRequest) (*StartBERTResponse, error) // Stops an already in-progress BERT operation on a set of ports. The caller // uses the BERT operation ID it previously used when starting the operation // to stop it. The RPC is expected to return an error status in the following // situations: - // - When there is at least one BERT operation in progress on a port which - // cannot be stopped in the middle of the operation (either due to lack of - // support or internal problems). - // - When no BERT operation, which matches the given BERT operation ID, is in - // progress or completed on any of the ports specified by the request. - // - When the BERT operation ID does not match the in progress or completed - // BERT operation on any of the ports specified by the request. - // + // - When there is at least one BERT operation in progress on a port which + // cannot be stopped in the middle of the operation (either due to lack of + // support or internal problems). + // - When no BERT operation, which matches the given BERT operation ID, is in + // progress or completed on any of the ports specified by the request. + // - When the BERT operation ID does not match the in progress or completed + // BERT operation on any of the ports specified by the request. // The RPC returns an OK status of none of these situations is encountered. // Note that a BERT operation is considered completed if the device has a // record/history of it. Also note that it is OK to receive a stop request for @@ -169,11 +135,10 @@ type DiagServer interface { // last N BERT operations for some amount of time, as specified by the // product requirement. This RPC is expected to return error status in the // following situations: - // - When no BERT operation, which matches the given BERT operation ID, is in - // progress or completed on any of the ports specified by the request. - // - When the BERT operation ID does not match the in progress or completed - // BERT operation on any of the ports specified by the request. - // + // - When no BERT operation, which matches the given BERT operation ID, is in + // progress or completed on any of the ports specified by the request. + // - When the BERT operation ID does not match the in progress or completed + // BERT operation on any of the ports specified by the request. // The RPC returns an OK status of none of these situations is encountered. // Note that a BERT operation is considered completed if device has a // record of it. @@ -217,7 +182,7 @@ func _Diag_StartBERT_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Diag_StartBERT_FullMethodName, + FullMethod: "/gnoi.diag.Diag/StartBERT", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiagServer).StartBERT(ctx, req.(*StartBERTRequest)) @@ -235,7 +200,7 @@ func _Diag_StopBERT_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Diag_StopBERT_FullMethodName, + FullMethod: "/gnoi.diag.Diag/StopBERT", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiagServer).StopBERT(ctx, req.(*StopBERTRequest)) @@ -253,7 +218,7 @@ func _Diag_GetBERTResult_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Diag_GetBERTResult_FullMethodName, + FullMethod: "/gnoi.diag.Diag/GetBERTResult", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiagServer).GetBERTResult(ctx, req.(*GetBERTResultRequest)) diff --git a/factory_reset/factory_reset.pb.go b/factory_reset/factory_reset.pb.go index 351a04ee..ec369be9 100644 --- a/factory_reset/factory_reset.pb.go +++ b/factory_reset/factory_reset.pb.go @@ -2,8 +2,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: factory_reset/factory_reset.proto package factory_reset @@ -209,7 +209,6 @@ type StartResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Response: - // // *StartResponse_ResetSuccess // *StartResponse_ResetError Response isStartResponse_Response `protobuf_oneof:"response"` @@ -328,10 +327,10 @@ var file_factory_reset_factory_reset_proto_rawDesc = []byte{ 0x72, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x32, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, - 0x2e, 0x30, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, - 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x66, - 0x61, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x32, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x72, + 0x65, 0x73, 0x65, 0x74, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/factory_reset/factory_reset_grpc.pb.go b/factory_reset/factory_reset_grpc.pb.go index 374a8d9e..eae5286e 100644 --- a/factory_reset/factory_reset_grpc.pb.go +++ b/factory_reset/factory_reset_grpc.pb.go @@ -1,10 +1,4 @@ -// This file defines a gNOI API used for factory reseting a Target. - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: factory_reset/factory_reset.proto package factory_reset @@ -20,10 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - FactoryReset_Start_FullMethodName = "/gnoi.factory_reset.FactoryReset/Start" -) - // FactoryResetClient is the client API for FactoryReset service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -55,7 +45,7 @@ func NewFactoryResetClient(cc grpc.ClientConnInterface) FactoryResetClient { func (c *factoryResetClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) { out := new(StartResponse) - err := c.cc.Invoke(ctx, FactoryReset_Start_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.factory_reset.FactoryReset/Start", in, out, opts...) if err != nil { return nil, err } @@ -114,7 +104,7 @@ func _FactoryReset_Start_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: FactoryReset_Start_FullMethodName, + FullMethod: "/gnoi.factory_reset.FactoryReset/Start", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FactoryResetServer).Start(ctx, req.(*StartRequest)) diff --git a/file/file.pb.go b/file/file.pb.go index 2e516d4e..d205e3a3 100644 --- a/file/file.pb.go +++ b/file/file.pb.go @@ -16,8 +16,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: file/file.proto package file @@ -57,7 +57,6 @@ type PutRequest struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Request: - // // *PutRequest_Open // *PutRequest_Contents // *PutRequest_Hash @@ -242,7 +241,6 @@ type GetResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Response: - // // *GetResponse_Contents // *GetResponse_Hash Response isGetResponse_Response `protobuf_oneof:"response"` @@ -840,9 +838,9 @@ var file_file_file_proto_rawDesc = []byte{ 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x42, 0x29, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x42, 0x29, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, + 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x66, + 0x69, 0x6c, 0x65, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/file/file_grpc.pb.go b/file/file_grpc.pb.go index 8e296e59..5b339b0e 100644 --- a/file/file_grpc.pb.go +++ b/file/file_grpc.pb.go @@ -1,24 +1,4 @@ -// -// Copyright 2017 Google Inc. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: file/file.proto package file @@ -34,14 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - File_Get_FullMethodName = "/gnoi.file.File/Get" - File_TransferToRemote_FullMethodName = "/gnoi.file.File/TransferToRemote" - File_Put_FullMethodName = "/gnoi.file.File/Put" - File_Stat_FullMethodName = "/gnoi.file.File/Stat" - File_Remove_FullMethodName = "/gnoi.file.File/Remove" -) - // FileClient is the client API for File service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -85,7 +57,7 @@ func NewFileClient(cc grpc.ClientConnInterface) FileClient { } func (c *fileClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (File_GetClient, error) { - stream, err := c.cc.NewStream(ctx, &File_ServiceDesc.Streams[0], File_Get_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &File_ServiceDesc.Streams[0], "/gnoi.file.File/Get", opts...) if err != nil { return nil, err } @@ -118,7 +90,7 @@ func (x *fileGetClient) Recv() (*GetResponse, error) { func (c *fileClient) TransferToRemote(ctx context.Context, in *TransferToRemoteRequest, opts ...grpc.CallOption) (*TransferToRemoteResponse, error) { out := new(TransferToRemoteResponse) - err := c.cc.Invoke(ctx, File_TransferToRemote_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.file.File/TransferToRemote", in, out, opts...) if err != nil { return nil, err } @@ -126,7 +98,7 @@ func (c *fileClient) TransferToRemote(ctx context.Context, in *TransferToRemoteR } func (c *fileClient) Put(ctx context.Context, opts ...grpc.CallOption) (File_PutClient, error) { - stream, err := c.cc.NewStream(ctx, &File_ServiceDesc.Streams[1], File_Put_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &File_ServiceDesc.Streams[1], "/gnoi.file.File/Put", opts...) if err != nil { return nil, err } @@ -161,7 +133,7 @@ func (x *filePutClient) CloseAndRecv() (*PutResponse, error) { func (c *fileClient) Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error) { out := new(StatResponse) - err := c.cc.Invoke(ctx, File_Stat_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.file.File/Stat", in, out, opts...) if err != nil { return nil, err } @@ -170,7 +142,7 @@ func (c *fileClient) Stat(ctx context.Context, in *StatRequest, opts ...grpc.Cal func (c *fileClient) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error) { out := new(RemoveResponse) - err := c.cc.Invoke(ctx, File_Remove_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.file.File/Remove", in, out, opts...) if err != nil { return nil, err } @@ -275,7 +247,7 @@ func _File_TransferToRemote_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: File_TransferToRemote_FullMethodName, + FullMethod: "/gnoi.file.File/TransferToRemote", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FileServer).TransferToRemote(ctx, req.(*TransferToRemoteRequest)) @@ -319,7 +291,7 @@ func _File_Stat_Handler(srv interface{}, ctx context.Context, dec func(interface } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: File_Stat_FullMethodName, + FullMethod: "/gnoi.file.File/Stat", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FileServer).Stat(ctx, req.(*StatRequest)) @@ -337,7 +309,7 @@ func _File_Remove_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: File_Remove_FullMethodName, + FullMethod: "/gnoi.file.File/Remove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FileServer).Remove(ctx, req.(*RemoveRequest)) diff --git a/healthz/healthz.pb.go b/healthz/healthz.pb.go index 82c3f5a5..a7e8c559 100644 --- a/healthz/healthz.pb.go +++ b/healthz/healthz.pb.go @@ -22,8 +22,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: healthz/healthz.proto package healthz @@ -209,7 +209,6 @@ type ArtifactHeader struct { // a custom format for the message stream. // // Types that are assignable to ArtifactType: - // // *ArtifactHeader_File // *ArtifactHeader_Proto // *ArtifactHeader_Custom @@ -319,7 +318,7 @@ type ComponentStatus struct { // defined by the vendor. This could be the equivalent to outputs like // "show tech" or core files or any other diagnostic data. // - // Deprecated: Marked as deprecated in healthz/healthz.proto. + // Deprecated: Do not use. Healthz *anypb.Any `protobuf:"bytes,4,opt,name=healthz,proto3" json:"healthz,omitempty"` // Artifacts provides links to all artifacts contained in this event. // The individual artifacts can be retrieved via the Artifact() RPC. @@ -389,7 +388,7 @@ func (x *ComponentStatus) GetStatus() Status { return Status_STATUS_UNSPECIFIED } -// Deprecated: Marked as deprecated in healthz/healthz.proto. +// Deprecated: Do not use. func (x *ComponentStatus) GetHealthz() *anypb.Any { if x != nil { return x.Healthz @@ -693,7 +692,6 @@ type ArtifactResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Contents: - // // *ArtifactResponse_Header // *ArtifactResponse_Trailer // *ArtifactResponse_Bytes @@ -1220,10 +1218,10 @@ var file_healthz_healthz_proto_rawDesc = []byte{ 0x6f, 0x69, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x7a, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x7a, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2c, 0xd2, 0x3e, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, - 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, - 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x68, 0x65, 0x61, - 0x6c, 0x74, 0x68, 0x7a, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2c, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, + 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x7a, 0xd2, 0x3e, 0x05, 0x31, + 0x2e, 0x33, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/healthz/healthz_grpc.pb.go b/healthz/healthz_grpc.pb.go index cd017c7e..a4db63ec 100644 --- a/healthz/healthz_grpc.pb.go +++ b/healthz/healthz_grpc.pb.go @@ -1,30 +1,4 @@ -// -// Copyright 2017 Google Inc. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -// Generic Network Operation Interface, GNOI, defines a set of RPC's used for -// the operational aspects of network targets. These services are meant to be -// used in conjunction with GNMI for all target state and operational aspects -// of a network target. The gnoi.system.Service is the only mandatory vendor -// implementation. - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: healthz/healthz.proto package healthz @@ -40,14 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - Healthz_Get_FullMethodName = "/gnoi.healthz.Healthz/Get" - Healthz_List_FullMethodName = "/gnoi.healthz.Healthz/List" - Healthz_Acknowledge_FullMethodName = "/gnoi.healthz.Healthz/Acknowledge" - Healthz_Artifact_FullMethodName = "/gnoi.healthz.Healthz/Artifact" - Healthz_Check_FullMethodName = "/gnoi.healthz.Healthz/Check" -) - // HealthzClient is the client API for Healthz service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -77,7 +43,7 @@ func NewHealthzClient(cc grpc.ClientConnInterface) HealthzClient { func (c *healthzClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) { out := new(GetResponse) - err := c.cc.Invoke(ctx, Healthz_Get_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.healthz.Healthz/Get", in, out, opts...) if err != nil { return nil, err } @@ -86,7 +52,7 @@ func (c *healthzClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.Ca func (c *healthzClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) { out := new(ListResponse) - err := c.cc.Invoke(ctx, Healthz_List_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.healthz.Healthz/List", in, out, opts...) if err != nil { return nil, err } @@ -95,7 +61,7 @@ func (c *healthzClient) List(ctx context.Context, in *ListRequest, opts ...grpc. func (c *healthzClient) Acknowledge(ctx context.Context, in *AcknowledgeRequest, opts ...grpc.CallOption) (*AcknowledgeResponse, error) { out := new(AcknowledgeResponse) - err := c.cc.Invoke(ctx, Healthz_Acknowledge_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.healthz.Healthz/Acknowledge", in, out, opts...) if err != nil { return nil, err } @@ -103,7 +69,7 @@ func (c *healthzClient) Acknowledge(ctx context.Context, in *AcknowledgeRequest, } func (c *healthzClient) Artifact(ctx context.Context, in *ArtifactRequest, opts ...grpc.CallOption) (Healthz_ArtifactClient, error) { - stream, err := c.cc.NewStream(ctx, &Healthz_ServiceDesc.Streams[0], Healthz_Artifact_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &Healthz_ServiceDesc.Streams[0], "/gnoi.healthz.Healthz/Artifact", opts...) if err != nil { return nil, err } @@ -136,7 +102,7 @@ func (x *healthzArtifactClient) Recv() (*ArtifactResponse, error) { func (c *healthzClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) { out := new(CheckResponse) - err := c.cc.Invoke(ctx, Healthz_Check_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.healthz.Healthz/Check", in, out, opts...) if err != nil { return nil, err } @@ -205,7 +171,7 @@ func _Healthz_Get_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Healthz_Get_FullMethodName, + FullMethod: "/gnoi.healthz.Healthz/Get", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HealthzServer).Get(ctx, req.(*GetRequest)) @@ -223,7 +189,7 @@ func _Healthz_List_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Healthz_List_FullMethodName, + FullMethod: "/gnoi.healthz.Healthz/List", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HealthzServer).List(ctx, req.(*ListRequest)) @@ -241,7 +207,7 @@ func _Healthz_Acknowledge_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Healthz_Acknowledge_FullMethodName, + FullMethod: "/gnoi.healthz.Healthz/Acknowledge", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HealthzServer).Acknowledge(ctx, req.(*AcknowledgeRequest)) @@ -280,7 +246,7 @@ func _Healthz_Check_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Healthz_Check_FullMethodName, + FullMethod: "/gnoi.healthz.Healthz/Check", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HealthzServer).Check(ctx, req.(*CheckRequest)) diff --git a/layer2/layer2.pb.go b/layer2/layer2.pb.go index cefadefd..a1d2f00f 100644 --- a/layer2/layer2.pb.go +++ b/layer2/layer2.pb.go @@ -16,8 +16,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: layer2/layer2.proto package layer2 @@ -696,9 +696,9 @@ var file_layer2_layer2_proto_rawDesc = []byte{ 0x4f, 0x6e, 0x4c, 0x41, 0x4e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x32, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x57, 0x61, 0x6b, 0x65, 0x4f, 0x6e, 0x4c, 0x41, 0x4e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x42, 0x2b, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x5a, 0x21, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x32, 0x62, + 0x22, 0x00, 0x42, 0x2b, 0x5a, 0x21, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, + 0x2f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x32, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/layer2/layer2_grpc.pb.go b/layer2/layer2_grpc.pb.go index e37173c1..21ae29d5 100644 --- a/layer2/layer2_grpc.pb.go +++ b/layer2/layer2_grpc.pb.go @@ -1,24 +1,4 @@ -// -// Copyright 2017 Google Inc. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: layer2/layer2.proto package layer2 @@ -34,14 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - Layer2_ClearNeighborDiscovery_FullMethodName = "/gnoi.layer2.Layer2/ClearNeighborDiscovery" - Layer2_ClearSpanningTree_FullMethodName = "/gnoi.layer2.Layer2/ClearSpanningTree" - Layer2_PerformBERT_FullMethodName = "/gnoi.layer2.Layer2/PerformBERT" - Layer2_ClearLLDPInterface_FullMethodName = "/gnoi.layer2.Layer2/ClearLLDPInterface" - Layer2_SendWakeOnLAN_FullMethodName = "/gnoi.layer2.Layer2/SendWakeOnLAN" -) - // Layer2Client is the client API for Layer2 service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -76,7 +48,7 @@ func NewLayer2Client(cc grpc.ClientConnInterface) Layer2Client { func (c *layer2Client) ClearNeighborDiscovery(ctx context.Context, in *ClearNeighborDiscoveryRequest, opts ...grpc.CallOption) (*ClearNeighborDiscoveryResponse, error) { out := new(ClearNeighborDiscoveryResponse) - err := c.cc.Invoke(ctx, Layer2_ClearNeighborDiscovery_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.layer2.Layer2/ClearNeighborDiscovery", in, out, opts...) if err != nil { return nil, err } @@ -85,7 +57,7 @@ func (c *layer2Client) ClearNeighborDiscovery(ctx context.Context, in *ClearNeig func (c *layer2Client) ClearSpanningTree(ctx context.Context, in *ClearSpanningTreeRequest, opts ...grpc.CallOption) (*ClearSpanningTreeResponse, error) { out := new(ClearSpanningTreeResponse) - err := c.cc.Invoke(ctx, Layer2_ClearSpanningTree_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.layer2.Layer2/ClearSpanningTree", in, out, opts...) if err != nil { return nil, err } @@ -93,7 +65,7 @@ func (c *layer2Client) ClearSpanningTree(ctx context.Context, in *ClearSpanningT } func (c *layer2Client) PerformBERT(ctx context.Context, in *PerformBERTRequest, opts ...grpc.CallOption) (Layer2_PerformBERTClient, error) { - stream, err := c.cc.NewStream(ctx, &Layer2_ServiceDesc.Streams[0], Layer2_PerformBERT_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &Layer2_ServiceDesc.Streams[0], "/gnoi.layer2.Layer2/PerformBERT", opts...) if err != nil { return nil, err } @@ -126,7 +98,7 @@ func (x *layer2PerformBERTClient) Recv() (*PerformBERTResponse, error) { func (c *layer2Client) ClearLLDPInterface(ctx context.Context, in *ClearLLDPInterfaceRequest, opts ...grpc.CallOption) (*ClearLLDPInterfaceResponse, error) { out := new(ClearLLDPInterfaceResponse) - err := c.cc.Invoke(ctx, Layer2_ClearLLDPInterface_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.layer2.Layer2/ClearLLDPInterface", in, out, opts...) if err != nil { return nil, err } @@ -135,7 +107,7 @@ func (c *layer2Client) ClearLLDPInterface(ctx context.Context, in *ClearLLDPInte func (c *layer2Client) SendWakeOnLAN(ctx context.Context, in *SendWakeOnLANRequest, opts ...grpc.CallOption) (*SendWakeOnLANResponse, error) { out := new(SendWakeOnLANResponse) - err := c.cc.Invoke(ctx, Layer2_SendWakeOnLAN_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.layer2.Layer2/SendWakeOnLAN", in, out, opts...) if err != nil { return nil, err } @@ -209,7 +181,7 @@ func _Layer2_ClearNeighborDiscovery_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Layer2_ClearNeighborDiscovery_FullMethodName, + FullMethod: "/gnoi.layer2.Layer2/ClearNeighborDiscovery", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(Layer2Server).ClearNeighborDiscovery(ctx, req.(*ClearNeighborDiscoveryRequest)) @@ -227,7 +199,7 @@ func _Layer2_ClearSpanningTree_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Layer2_ClearSpanningTree_FullMethodName, + FullMethod: "/gnoi.layer2.Layer2/ClearSpanningTree", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(Layer2Server).ClearSpanningTree(ctx, req.(*ClearSpanningTreeRequest)) @@ -266,7 +238,7 @@ func _Layer2_ClearLLDPInterface_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Layer2_ClearLLDPInterface_FullMethodName, + FullMethod: "/gnoi.layer2.Layer2/ClearLLDPInterface", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(Layer2Server).ClearLLDPInterface(ctx, req.(*ClearLLDPInterfaceRequest)) @@ -284,7 +256,7 @@ func _Layer2_SendWakeOnLAN_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Layer2_SendWakeOnLAN_FullMethodName, + FullMethod: "/gnoi.layer2.Layer2/SendWakeOnLAN", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(Layer2Server).SendWakeOnLAN(ctx, req.(*SendWakeOnLANRequest)) diff --git a/mpls/mpls.pb.go b/mpls/mpls.pb.go index c3e3e8f7..e8d95b5e 100644 --- a/mpls/mpls.pb.go +++ b/mpls/mpls.pb.go @@ -16,8 +16,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: mpls/mpls.proto package mpls @@ -525,7 +525,6 @@ type MPLSPingRequest struct { // the destination of the LSP ping. // // Types that are assignable to Destination: - // // *MPLSPingRequest_LdpFec // *MPLSPingRequest_Fec129Pwe // *MPLSPingRequest_RsvpteLspName @@ -855,9 +854,9 @@ var file_mpls_mpls_proto_rawDesc = []byte{ 0x4d, 0x50, 0x4c, 0x53, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x6d, 0x70, 0x6c, 0x73, 0x2e, 0x4d, 0x50, 0x4c, 0x53, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, - 0x42, 0x29, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x6d, 0x70, 0x6c, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x42, 0x29, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, + 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x6d, + 0x70, 0x6c, 0x73, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/mpls/mpls_grpc.pb.go b/mpls/mpls_grpc.pb.go index 29681b92..a3730bd8 100644 --- a/mpls/mpls_grpc.pb.go +++ b/mpls/mpls_grpc.pb.go @@ -1,24 +1,4 @@ -// -// Copyright 2017 Google Inc. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: mpls/mpls.proto package mpls @@ -34,12 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - MPLS_ClearLSP_FullMethodName = "/gnoi.mpls.MPLS/ClearLSP" - MPLS_ClearLSPCounters_FullMethodName = "/gnoi.mpls.MPLS/ClearLSPCounters" - MPLS_MPLSPing_FullMethodName = "/gnoi.mpls.MPLS/MPLSPing" -) - // MPLSClient is the client API for MPLS service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -63,7 +37,7 @@ func NewMPLSClient(cc grpc.ClientConnInterface) MPLSClient { func (c *mPLSClient) ClearLSP(ctx context.Context, in *ClearLSPRequest, opts ...grpc.CallOption) (*ClearLSPResponse, error) { out := new(ClearLSPResponse) - err := c.cc.Invoke(ctx, MPLS_ClearLSP_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.mpls.MPLS/ClearLSP", in, out, opts...) if err != nil { return nil, err } @@ -72,7 +46,7 @@ func (c *mPLSClient) ClearLSP(ctx context.Context, in *ClearLSPRequest, opts ... func (c *mPLSClient) ClearLSPCounters(ctx context.Context, in *ClearLSPCountersRequest, opts ...grpc.CallOption) (*ClearLSPCountersResponse, error) { out := new(ClearLSPCountersResponse) - err := c.cc.Invoke(ctx, MPLS_ClearLSPCounters_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.mpls.MPLS/ClearLSPCounters", in, out, opts...) if err != nil { return nil, err } @@ -80,7 +54,7 @@ func (c *mPLSClient) ClearLSPCounters(ctx context.Context, in *ClearLSPCountersR } func (c *mPLSClient) MPLSPing(ctx context.Context, in *MPLSPingRequest, opts ...grpc.CallOption) (MPLS_MPLSPingClient, error) { - stream, err := c.cc.NewStream(ctx, &MPLS_ServiceDesc.Streams[0], MPLS_MPLSPing_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &MPLS_ServiceDesc.Streams[0], "/gnoi.mpls.MPLS/MPLSPing", opts...) if err != nil { return nil, err } @@ -161,7 +135,7 @@ func _MPLS_ClearLSP_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: MPLS_ClearLSP_FullMethodName, + FullMethod: "/gnoi.mpls.MPLS/ClearLSP", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MPLSServer).ClearLSP(ctx, req.(*ClearLSPRequest)) @@ -179,7 +153,7 @@ func _MPLS_ClearLSPCounters_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: MPLS_ClearLSPCounters_FullMethodName, + FullMethod: "/gnoi.mpls.MPLS/ClearLSPCounters", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MPLSServer).ClearLSPCounters(ctx, req.(*ClearLSPCountersRequest)) diff --git a/os/os.pb.go b/os/os.pb.go index e087472b..616aeef0 100644 --- a/os/os.pb.go +++ b/os/os.pb.go @@ -2,8 +2,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: os/os.proto package os @@ -234,7 +234,6 @@ type InstallRequest struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Request: - // // *InstallRequest_TransferRequest // *InstallRequest_TransferContent // *InstallRequest_TransferEnd @@ -479,7 +478,6 @@ type InstallResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Response: - // // *InstallResponse_TransferReady // *InstallResponse_TransferProgress // *InstallResponse_SyncProgress @@ -947,7 +945,6 @@ type ActivateResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Response: - // // *ActivateResponse_ActivateOk // *ActivateResponse_ActivateError Response isActivateResponse_Response `protobuf_oneof:"response"` @@ -1251,7 +1248,6 @@ type VerifyStandby struct { unknownFields protoimpl.UnknownFields // Types that are assignable to State: - // // *VerifyStandby_StandbyState // *VerifyStandby_VerifyResponse State isVerifyStandby_State `protobuf_oneof:"state"` @@ -1603,10 +1599,10 @@ var file_os_os_proto_rawDesc = []byte{ 0x12, 0x39, 0x0a, 0x06, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x16, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x6f, 0x73, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x6f, 0x73, 0x2e, 0x56, 0x65, 0x72, - 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0xd2, 0x3e, 0x05, - 0x30, 0x2e, 0x31, 0x2e, 0x34, 0x5a, 0x1d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, - 0x69, 0x2f, 0x6f, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a, 0x1d, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x6f, 0x73, 0xd2, 0x3e, 0x05, 0x30, + 0x2e, 0x31, 0x2e, 0x34, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/os/os_grpc.pb.go b/os/os_grpc.pb.go index cd7feb86..1167ca10 100644 --- a/os/os_grpc.pb.go +++ b/os/os_grpc.pb.go @@ -1,10 +1,4 @@ -// This file defines a gNOI API used for OS installation. - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: os/os.proto package os @@ -20,12 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - OS_Install_FullMethodName = "/gnoi.os.OS/Install" - OS_Activate_FullMethodName = "/gnoi.os.OS/Activate" - OS_Verify_FullMethodName = "/gnoi.os.OS/Verify" -) - // OSClient is the client API for OS service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -52,21 +40,22 @@ type OSClient interface { // // Scenario 1 - When the Target already has the OS package: // - // Client :--------------|--------------> Target - // TransferRequest --> - // <-- [Validated|InstallError] + // Client :--------------|--------------> Target + // TransferRequest --> + // <-- [Validated|InstallError] + // // // Scenario 2 - When the Target does not have the OS package: // - // Client :--------------|--------------> Target - // TransferRequest --> - // <-- [TransferReady|InstallError] - // transfer_content --> - // ... - // <-- [TransferProgress|InstallError] - // ... - // TransferEnd --> - // <-- [Validated|InstallError] + // Client :--------------|--------------> Target + // TransferRequest --> + // <-- [TransferReady|InstallError] + // transfer_content --> + // ... + // <-- [TransferProgress|InstallError] + // ... + // TransferEnd --> + // <-- [Validated|InstallError] // // On a dual Supervisor Target which requires installing the entire // system with one Install RPC, one Install RPC is sufficient to @@ -91,34 +80,36 @@ type OSClient interface { // immediately abort with Error->type->UNEXPECTED_SWITCHOVER. // // Scenario 3 - When both Supervisors already have the OS package, regardless + // of the value in Start.standby_supervisor: // - // of the value in Start.standby_supervisor: + // Client :--------------|--------------> Target + // TransferRequest --> + // <-- [Validated|InstallError] // - // Client :--------------|--------------> Target - // TransferRequest --> - // <-- [Validated|InstallError] // // Scenario 4 - On a dual Supervisor Target which requires one Install RPC // per supervisor, and when one of the Supervisors already has the OS // package but the other Supervisor is the target of the Install: // - // Client :--------------|--------------> Target - // TransferRequest --> - // <-- [SyncProgress|InstallError] - // ... - // <-- [Validated|InstallError] + // Client :--------------|--------------> Target + // TransferRequest --> + // <-- [SyncProgress|InstallError] + // ... + // <-- [Validated|InstallError] + // // // Scenario 5 - When neither of the two Supervisors has the OS package: // - // Client :--------------|--------------> Target - // TransferRequest --> - // <-- [TransferReady|InstallError] - // transfer_content --> - // ... - // <-- [TransferProgress|InstallError] - // ... - // TransferEnd --> - // <-- [Validated|InstallError] + // Client :--------------|--------------> Target + // TransferRequest --> + // <-- [TransferReady|InstallError] + // transfer_content --> + // ... + // <-- [TransferProgress|InstallError] + // ... + // TransferEnd --> + // <-- [Validated|InstallError] + // Install(ctx context.Context, opts ...grpc.CallOption) (OS_InstallClient, error) // Activate sets the requested OS version as the version which is used at the // next reboot, and reboots the Target if the 'no_reboot' flag is not set. @@ -146,7 +137,7 @@ func NewOSClient(cc grpc.ClientConnInterface) OSClient { } func (c *oSClient) Install(ctx context.Context, opts ...grpc.CallOption) (OS_InstallClient, error) { - stream, err := c.cc.NewStream(ctx, &OS_ServiceDesc.Streams[0], OS_Install_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &OS_ServiceDesc.Streams[0], "/gnoi.os.OS/Install", opts...) if err != nil { return nil, err } @@ -178,7 +169,7 @@ func (x *oSInstallClient) Recv() (*InstallResponse, error) { func (c *oSClient) Activate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*ActivateResponse, error) { out := new(ActivateResponse) - err := c.cc.Invoke(ctx, OS_Activate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.os.OS/Activate", in, out, opts...) if err != nil { return nil, err } @@ -187,7 +178,7 @@ func (c *oSClient) Activate(ctx context.Context, in *ActivateRequest, opts ...gr func (c *oSClient) Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error) { out := new(VerifyResponse) - err := c.cc.Invoke(ctx, OS_Verify_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.os.OS/Verify", in, out, opts...) if err != nil { return nil, err } @@ -220,21 +211,22 @@ type OSServer interface { // // Scenario 1 - When the Target already has the OS package: // - // Client :--------------|--------------> Target - // TransferRequest --> - // <-- [Validated|InstallError] + // Client :--------------|--------------> Target + // TransferRequest --> + // <-- [Validated|InstallError] + // // // Scenario 2 - When the Target does not have the OS package: // - // Client :--------------|--------------> Target - // TransferRequest --> - // <-- [TransferReady|InstallError] - // transfer_content --> - // ... - // <-- [TransferProgress|InstallError] - // ... - // TransferEnd --> - // <-- [Validated|InstallError] + // Client :--------------|--------------> Target + // TransferRequest --> + // <-- [TransferReady|InstallError] + // transfer_content --> + // ... + // <-- [TransferProgress|InstallError] + // ... + // TransferEnd --> + // <-- [Validated|InstallError] // // On a dual Supervisor Target which requires installing the entire // system with one Install RPC, one Install RPC is sufficient to @@ -259,34 +251,36 @@ type OSServer interface { // immediately abort with Error->type->UNEXPECTED_SWITCHOVER. // // Scenario 3 - When both Supervisors already have the OS package, regardless + // of the value in Start.standby_supervisor: // - // of the value in Start.standby_supervisor: + // Client :--------------|--------------> Target + // TransferRequest --> + // <-- [Validated|InstallError] // - // Client :--------------|--------------> Target - // TransferRequest --> - // <-- [Validated|InstallError] // // Scenario 4 - On a dual Supervisor Target which requires one Install RPC // per supervisor, and when one of the Supervisors already has the OS // package but the other Supervisor is the target of the Install: // - // Client :--------------|--------------> Target - // TransferRequest --> - // <-- [SyncProgress|InstallError] - // ... - // <-- [Validated|InstallError] + // Client :--------------|--------------> Target + // TransferRequest --> + // <-- [SyncProgress|InstallError] + // ... + // <-- [Validated|InstallError] + // // // Scenario 5 - When neither of the two Supervisors has the OS package: // - // Client :--------------|--------------> Target - // TransferRequest --> - // <-- [TransferReady|InstallError] - // transfer_content --> - // ... - // <-- [TransferProgress|InstallError] - // ... - // TransferEnd --> - // <-- [Validated|InstallError] + // Client :--------------|--------------> Target + // TransferRequest --> + // <-- [TransferReady|InstallError] + // transfer_content --> + // ... + // <-- [TransferProgress|InstallError] + // ... + // TransferEnd --> + // <-- [Validated|InstallError] + // Install(OS_InstallServer) error // Activate sets the requested OS version as the version which is used at the // next reboot, and reboots the Target if the 'no_reboot' flag is not set. @@ -368,7 +362,7 @@ func _OS_Activate_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: OS_Activate_FullMethodName, + FullMethod: "/gnoi.os.OS/Activate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(OSServer).Activate(ctx, req.(*ActivateRequest)) @@ -386,7 +380,7 @@ func _OS_Verify_Handler(srv interface{}, ctx context.Context, dec func(interface } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: OS_Verify_FullMethodName, + FullMethod: "/gnoi.os.OS/Verify", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(OSServer).Verify(ctx, req.(*VerifyRequest)) diff --git a/otdr/otdr.pb.go b/otdr/otdr.pb.go index e62329c3..6683c2b3 100644 --- a/otdr/otdr.pb.go +++ b/otdr/otdr.pb.go @@ -16,8 +16,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: otdr/otdr.proto package otdr @@ -614,7 +614,6 @@ type InitiateResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Response: - // // *InitiateResponse_Progress // *InitiateResponse_Results // *InitiateResponse_Error @@ -986,9 +985,9 @@ var file_otdr_otdr_proto_rawDesc = []byte{ 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, - 0x01, 0x42, 0x29, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x5a, 0x1f, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x6f, 0x74, 0x64, 0x72, 0x62, 0x06, 0x70, 0x72, + 0x01, 0x42, 0x29, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, + 0x6f, 0x74, 0x64, 0x72, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x31, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/otdr/otdr_grpc.pb.go b/otdr/otdr_grpc.pb.go index d57557e0..2695b34e 100644 --- a/otdr/otdr_grpc.pb.go +++ b/otdr/otdr_grpc.pb.go @@ -1,24 +1,4 @@ -// -// Copyright 2019 Google LLC. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: otdr/otdr.proto package otdr @@ -34,10 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - OTDR_Initiate_FullMethodName = "/gnoi.optical.OTDR/Initiate" -) - // OTDRClient is the client API for OTDR service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -62,7 +38,7 @@ func NewOTDRClient(cc grpc.ClientConnInterface) OTDRClient { } func (c *oTDRClient) Initiate(ctx context.Context, in *InitiateRequest, opts ...grpc.CallOption) (OTDR_InitiateClient, error) { - stream, err := c.cc.NewStream(ctx, &OTDR_ServiceDesc.Streams[0], OTDR_Initiate_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &OTDR_ServiceDesc.Streams[0], "/gnoi.optical.OTDR/Initiate", opts...) if err != nil { return nil, err } diff --git a/packet_link_qualification/packet_link_qualification.pb.go b/packet_link_qualification/packet_link_qualification.pb.go index 00797dbf..f15ea2e4 100644 --- a/packet_link_qualification/packet_link_qualification.pb.go +++ b/packet_link_qualification/packet_link_qualification.pb.go @@ -3,8 +3,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: packet_link_qualification/packet_link_qualification.proto package linkqual @@ -486,7 +486,6 @@ type QualificationConfiguration struct { // the synchronization method for the qualification. // // Types that are assignable to Timing: - // // *QualificationConfiguration_Ntp // *QualificationConfiguration_Rpc Timing isQualificationConfiguration_Timing `protobuf_oneof:"timing"` @@ -494,7 +493,6 @@ type QualificationConfiguration struct { // qualification. // // Types that are assignable to EndpointType: - // // *QualificationConfiguration_PacketGenerator // *QualificationConfiguration_PacketInjector // *QualificationConfiguration_PmdLoopback @@ -728,7 +726,6 @@ type PacketInjectorConfiguration struct { // Loopback mode for this qualification. // // Types that are assignable to LoopbackMode: - // // *PacketInjectorConfiguration_PmdLoopback // *PacketInjectorConfiguration_AsicLoopback LoopbackMode isPacketInjectorConfiguration_LoopbackMode `protobuf_oneof:"loopback_mode"` @@ -2394,10 +2391,10 @@ var file_packet_link_qualification_packet_link_qualification_proto_rawDesc = []b 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2d, 0xd2, 0x3e, 0x05, 0x31, 0x2e, 0x31, - 0x2e, 0x30, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, - 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x6c, - 0x69, 0x6e, 0x6b, 0x71, 0x75, 0x61, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2d, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x71, 0x75, 0x61, 0x6c, 0xd2, + 0x3e, 0x05, 0x31, 0x2e, 0x31, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/packet_link_qualification/packet_link_qualification_grpc.pb.go b/packet_link_qualification/packet_link_qualification_grpc.pb.go index 969befb5..17e60855 100644 --- a/packet_link_qualification/packet_link_qualification_grpc.pb.go +++ b/packet_link_qualification/packet_link_qualification_grpc.pb.go @@ -1,11 +1,4 @@ -// A generic network operational interface gRPC service to perform packet based -// link qualification operations on a network device. - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: packet_link_qualification/packet_link_qualification.proto package linkqual @@ -21,14 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - LinkQualification_Create_FullMethodName = "/gnoi.packet_link_qualification.LinkQualification/Create" - LinkQualification_Get_FullMethodName = "/gnoi.packet_link_qualification.LinkQualification/Get" - LinkQualification_Capabilities_FullMethodName = "/gnoi.packet_link_qualification.LinkQualification/Capabilities" - LinkQualification_Delete_FullMethodName = "/gnoi.packet_link_qualification.LinkQualification/Delete" - LinkQualification_List_FullMethodName = "/gnoi.packet_link_qualification.LinkQualification/List" -) - // LinkQualificationClient is the client API for LinkQualification service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -67,7 +52,7 @@ func NewLinkQualificationClient(cc grpc.ClientConnInterface) LinkQualificationCl func (c *linkQualificationClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) { out := new(CreateResponse) - err := c.cc.Invoke(ctx, LinkQualification_Create_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.packet_link_qualification.LinkQualification/Create", in, out, opts...) if err != nil { return nil, err } @@ -76,7 +61,7 @@ func (c *linkQualificationClient) Create(ctx context.Context, in *CreateRequest, func (c *linkQualificationClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) { out := new(GetResponse) - err := c.cc.Invoke(ctx, LinkQualification_Get_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.packet_link_qualification.LinkQualification/Get", in, out, opts...) if err != nil { return nil, err } @@ -85,7 +70,7 @@ func (c *linkQualificationClient) Get(ctx context.Context, in *GetRequest, opts func (c *linkQualificationClient) Capabilities(ctx context.Context, in *CapabilitiesRequest, opts ...grpc.CallOption) (*CapabilitiesResponse, error) { out := new(CapabilitiesResponse) - err := c.cc.Invoke(ctx, LinkQualification_Capabilities_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.packet_link_qualification.LinkQualification/Capabilities", in, out, opts...) if err != nil { return nil, err } @@ -94,7 +79,7 @@ func (c *linkQualificationClient) Capabilities(ctx context.Context, in *Capabili func (c *linkQualificationClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) { out := new(DeleteResponse) - err := c.cc.Invoke(ctx, LinkQualification_Delete_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.packet_link_qualification.LinkQualification/Delete", in, out, opts...) if err != nil { return nil, err } @@ -103,7 +88,7 @@ func (c *linkQualificationClient) Delete(ctx context.Context, in *DeleteRequest, func (c *linkQualificationClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) { out := new(ListResponse) - err := c.cc.Invoke(ctx, LinkQualification_List_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.packet_link_qualification.LinkQualification/List", in, out, opts...) if err != nil { return nil, err } @@ -181,7 +166,7 @@ func _LinkQualification_Create_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: LinkQualification_Create_FullMethodName, + FullMethod: "/gnoi.packet_link_qualification.LinkQualification/Create", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(LinkQualificationServer).Create(ctx, req.(*CreateRequest)) @@ -199,7 +184,7 @@ func _LinkQualification_Get_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: LinkQualification_Get_FullMethodName, + FullMethod: "/gnoi.packet_link_qualification.LinkQualification/Get", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(LinkQualificationServer).Get(ctx, req.(*GetRequest)) @@ -217,7 +202,7 @@ func _LinkQualification_Capabilities_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: LinkQualification_Capabilities_FullMethodName, + FullMethod: "/gnoi.packet_link_qualification.LinkQualification/Capabilities", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(LinkQualificationServer).Capabilities(ctx, req.(*CapabilitiesRequest)) @@ -235,7 +220,7 @@ func _LinkQualification_Delete_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: LinkQualification_Delete_FullMethodName, + FullMethod: "/gnoi.packet_link_qualification.LinkQualification/Delete", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(LinkQualificationServer).Delete(ctx, req.(*DeleteRequest)) @@ -253,7 +238,7 @@ func _LinkQualification_List_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: LinkQualification_List_FullMethodName, + FullMethod: "/gnoi.packet_link_qualification.LinkQualification/List", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(LinkQualificationServer).List(ctx, req.(*ListRequest)) diff --git a/system/system.pb.go b/system/system.pb.go index b03650c9..7232bc59 100644 --- a/system/system.pb.go +++ b/system/system.pb.go @@ -22,8 +22,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.24.4 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: system/system.proto package system @@ -111,6 +111,58 @@ func (RebootMethod) EnumDescriptor() ([]byte, []int) { return file_system_system_proto_rawDescGZIP(), []int{0} } +type RebootStatus_Status int32 + +const ( + RebootStatus_STATUS_UNKNOWN RebootStatus_Status = 0 + RebootStatus_STATUS_SUCCESS RebootStatus_Status = 1 + RebootStatus_STATUS_RETRIABLE_FAILURE RebootStatus_Status = 2 + RebootStatus_STATUS_FAILURE RebootStatus_Status = 3 +) + +// Enum value maps for RebootStatus_Status. +var ( + RebootStatus_Status_name = map[int32]string{ + 0: "STATUS_UNKNOWN", + 1: "STATUS_SUCCESS", + 2: "STATUS_RETRIABLE_FAILURE", + 3: "STATUS_FAILURE", + } + RebootStatus_Status_value = map[string]int32{ + "STATUS_UNKNOWN": 0, + "STATUS_SUCCESS": 1, + "STATUS_RETRIABLE_FAILURE": 2, + "STATUS_FAILURE": 3, + } +) + +func (x RebootStatus_Status) Enum() *RebootStatus_Status { + p := new(RebootStatus_Status) + *p = x + return p +} + +func (x RebootStatus_Status) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RebootStatus_Status) Descriptor() protoreflect.EnumDescriptor { + return file_system_system_proto_enumTypes[1].Descriptor() +} + +func (RebootStatus_Status) Type() protoreflect.EnumType { + return &file_system_system_proto_enumTypes[1] +} + +func (x RebootStatus_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RebootStatus_Status.Descriptor instead. +func (RebootStatus_Status) EnumDescriptor() ([]byte, []int) { + return file_system_system_proto_rawDescGZIP(), []int{8, 0} +} + type TracerouteRequest_L4Protocol int32 const ( @@ -144,11 +196,11 @@ func (x TracerouteRequest_L4Protocol) String() string { } func (TracerouteRequest_L4Protocol) Descriptor() protoreflect.EnumDescriptor { - return file_system_system_proto_enumTypes[1].Descriptor() + return file_system_system_proto_enumTypes[2].Descriptor() } func (TracerouteRequest_L4Protocol) Type() protoreflect.EnumType { - return &file_system_system_proto_enumTypes[1] + return &file_system_system_proto_enumTypes[2] } func (x TracerouteRequest_L4Protocol) Number() protoreflect.EnumNumber { @@ -157,7 +209,7 @@ func (x TracerouteRequest_L4Protocol) Number() protoreflect.EnumNumber { // Deprecated: Use TracerouteRequest_L4Protocol.Descriptor instead. func (TracerouteRequest_L4Protocol) EnumDescriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{12, 0} + return file_system_system_proto_rawDescGZIP(), []int{13, 0} } // State is the resulting state of a single traceoroute packet. @@ -221,11 +273,11 @@ func (x TracerouteResponse_State) String() string { } func (TracerouteResponse_State) Descriptor() protoreflect.EnumDescriptor { - return file_system_system_proto_enumTypes[2].Descriptor() + return file_system_system_proto_enumTypes[3].Descriptor() } func (TracerouteResponse_State) Type() protoreflect.EnumType { - return &file_system_system_proto_enumTypes[2] + return &file_system_system_proto_enumTypes[3] } func (x TracerouteResponse_State) Number() protoreflect.EnumNumber { @@ -234,7 +286,7 @@ func (x TracerouteResponse_State) Number() protoreflect.EnumNumber { // Deprecated: Use TracerouteResponse_State.Descriptor instead. func (TracerouteResponse_State) EnumDescriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{13, 0} + return file_system_system_proto_rawDescGZIP(), []int{14, 0} } // Termination signal sent to the process. @@ -278,11 +330,11 @@ func (x KillProcessRequest_Signal) String() string { } func (KillProcessRequest_Signal) Descriptor() protoreflect.EnumDescriptor { - return file_system_system_proto_enumTypes[3].Descriptor() + return file_system_system_proto_enumTypes[4].Descriptor() } func (KillProcessRequest_Signal) Type() protoreflect.EnumType { - return &file_system_system_proto_enumTypes[3] + return &file_system_system_proto_enumTypes[4] } func (x KillProcessRequest_Signal) Number() protoreflect.EnumNumber { @@ -291,7 +343,7 @@ func (x KillProcessRequest_Signal) Number() protoreflect.EnumNumber { // Deprecated: Use KillProcessRequest_Signal.Descriptor instead. func (KillProcessRequest_Signal) EnumDescriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{17, 0} + return file_system_system_proto_rawDescGZIP(), []int{18, 0} } type SwitchControlProcessorRequest struct { @@ -675,11 +727,13 @@ type RebootStatusResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` // If reboot is active. - Wait uint64 `protobuf:"varint,2,opt,name=wait,proto3" json:"wait,omitempty"` // Time left until reboot. - When uint64 `protobuf:"varint,3,opt,name=when,proto3" json:"when,omitempty"` // Time to reboot in nanoseconds since the epoch. - Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // Reason for reboot. - Count uint32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` // Number of reboots since active. + Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` // If reboot is active. + Wait uint64 `protobuf:"varint,2,opt,name=wait,proto3" json:"wait,omitempty"` // Time left until reboot. + When uint64 `protobuf:"varint,3,opt,name=when,proto3" json:"when,omitempty"` // Time to reboot in nanoseconds since the epoch. + Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // Reason for reboot. + Count uint32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` // Number of reboots since active. + Method RebootMethod `protobuf:"varint,6,opt,name=method,proto3,enum=gnoi.system.RebootMethod" json:"method,omitempty"` // Type of reboot. + Status *RebootStatus `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` // Applicable only when active = false. } func (x *RebootStatusResponse) Reset() { @@ -749,6 +803,75 @@ func (x *RebootStatusResponse) GetCount() uint32 { return 0 } +func (x *RebootStatusResponse) GetMethod() RebootMethod { + if x != nil { + return x.Method + } + return RebootMethod_UNKNOWN +} + +func (x *RebootStatusResponse) GetStatus() *RebootStatus { + if x != nil { + return x.Status + } + return nil +} + +type RebootStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status RebootStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=gnoi.system.RebootStatus_Status" json:"status,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *RebootStatus) Reset() { + *x = RebootStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_system_system_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RebootStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebootStatus) ProtoMessage() {} + +func (x *RebootStatus) ProtoReflect() protoreflect.Message { + mi := &file_system_system_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RebootStatus.ProtoReflect.Descriptor instead. +func (*RebootStatus) Descriptor() ([]byte, []int) { + return file_system_system_proto_rawDescGZIP(), []int{8} +} + +func (x *RebootStatus) GetStatus() RebootStatus_Status { + if x != nil { + return x.Status + } + return RebootStatus_STATUS_UNKNOWN +} + +func (x *RebootStatus) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + // A TimeRequest requests the current time accodring to the target. type TimeRequest struct { state protoimpl.MessageState @@ -759,7 +882,7 @@ type TimeRequest struct { func (x *TimeRequest) Reset() { *x = TimeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[8] + mi := &file_system_system_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -772,7 +895,7 @@ func (x *TimeRequest) String() string { func (*TimeRequest) ProtoMessage() {} func (x *TimeRequest) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[8] + mi := &file_system_system_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -785,7 +908,7 @@ func (x *TimeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TimeRequest.ProtoReflect.Descriptor instead. func (*TimeRequest) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{8} + return file_system_system_proto_rawDescGZIP(), []int{9} } type TimeResponse struct { @@ -799,7 +922,7 @@ type TimeResponse struct { func (x *TimeResponse) Reset() { *x = TimeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[9] + mi := &file_system_system_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -812,7 +935,7 @@ func (x *TimeResponse) String() string { func (*TimeResponse) ProtoMessage() {} func (x *TimeResponse) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[9] + mi := &file_system_system_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -825,7 +948,7 @@ func (x *TimeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TimeResponse.ProtoReflect.Descriptor instead. func (*TimeResponse) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{9} + return file_system_system_proto_rawDescGZIP(), []int{10} } func (x *TimeResponse) GetTime() uint64 { @@ -865,7 +988,7 @@ type PingRequest struct { func (x *PingRequest) Reset() { *x = PingRequest{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[10] + mi := &file_system_system_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -878,7 +1001,7 @@ func (x *PingRequest) String() string { func (*PingRequest) ProtoMessage() {} func (x *PingRequest) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[10] + mi := &file_system_system_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -891,7 +1014,7 @@ func (x *PingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PingRequest.ProtoReflect.Descriptor instead. func (*PingRequest) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{10} + return file_system_system_proto_rawDescGZIP(), []int{11} } func (x *PingRequest) GetDestination() string { @@ -992,7 +1115,7 @@ type PingResponse struct { func (x *PingResponse) Reset() { *x = PingResponse{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[11] + mi := &file_system_system_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1005,7 +1128,7 @@ func (x *PingResponse) String() string { func (*PingResponse) ProtoMessage() {} func (x *PingResponse) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[11] + mi := &file_system_system_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1018,7 +1141,7 @@ func (x *PingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PingResponse.ProtoReflect.Descriptor instead. func (*PingResponse) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{11} + return file_system_system_proto_rawDescGZIP(), []int{12} } func (x *PingResponse) GetSource() string { @@ -1104,6 +1227,7 @@ func (x *PingResponse) GetTtl() int32 { // vendors. // // If the hop_count is -1 the traceroute will continue forever. +// type TracerouteRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1125,7 +1249,7 @@ type TracerouteRequest struct { func (x *TracerouteRequest) Reset() { *x = TracerouteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[12] + mi := &file_system_system_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1138,7 +1262,7 @@ func (x *TracerouteRequest) String() string { func (*TracerouteRequest) ProtoMessage() {} func (x *TracerouteRequest) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[12] + mi := &file_system_system_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1151,7 +1275,7 @@ func (x *TracerouteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TracerouteRequest.ProtoReflect.Descriptor instead. func (*TracerouteRequest) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{12} + return file_system_system_proto_rawDescGZIP(), []int{13} } func (x *TracerouteRequest) GetSource() string { @@ -1272,7 +1396,7 @@ type TracerouteResponse struct { func (x *TracerouteResponse) Reset() { *x = TracerouteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[13] + mi := &file_system_system_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1285,7 +1409,7 @@ func (x *TracerouteResponse) String() string { func (*TracerouteResponse) ProtoMessage() {} func (x *TracerouteResponse) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[13] + mi := &file_system_system_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1298,7 +1422,7 @@ func (x *TracerouteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TracerouteResponse.ProtoReflect.Descriptor instead. func (*TracerouteResponse) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{13} + return file_system_system_proto_rawDescGZIP(), []int{14} } func (x *TracerouteResponse) GetDestinationName() string { @@ -1406,7 +1530,7 @@ type Package struct { func (x *Package) Reset() { *x = Package{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[14] + mi := &file_system_system_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1419,7 +1543,7 @@ func (x *Package) String() string { func (*Package) ProtoMessage() {} func (x *Package) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[14] + mi := &file_system_system_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1432,7 +1556,7 @@ func (x *Package) ProtoReflect() protoreflect.Message { // Deprecated: Use Package.ProtoReflect.Descriptor instead. func (*Package) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{14} + return file_system_system_proto_rawDescGZIP(), []int{15} } func (x *Package) GetFilename() string { @@ -1474,7 +1598,6 @@ type SetPackageRequest struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Request: - // // *SetPackageRequest_Package // *SetPackageRequest_Contents // *SetPackageRequest_Hash @@ -1484,7 +1607,7 @@ type SetPackageRequest struct { func (x *SetPackageRequest) Reset() { *x = SetPackageRequest{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[15] + mi := &file_system_system_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1497,7 +1620,7 @@ func (x *SetPackageRequest) String() string { func (*SetPackageRequest) ProtoMessage() {} func (x *SetPackageRequest) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[15] + mi := &file_system_system_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1510,7 +1633,7 @@ func (x *SetPackageRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetPackageRequest.ProtoReflect.Descriptor instead. func (*SetPackageRequest) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{15} + return file_system_system_proto_rawDescGZIP(), []int{16} } func (m *SetPackageRequest) GetRequest() isSetPackageRequest_Request { @@ -1572,7 +1695,7 @@ type SetPackageResponse struct { func (x *SetPackageResponse) Reset() { *x = SetPackageResponse{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[16] + mi := &file_system_system_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1585,7 +1708,7 @@ func (x *SetPackageResponse) String() string { func (*SetPackageResponse) ProtoMessage() {} func (x *SetPackageResponse) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[16] + mi := &file_system_system_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1598,7 +1721,7 @@ func (x *SetPackageResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetPackageResponse.ProtoReflect.Descriptor instead. func (*SetPackageResponse) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{16} + return file_system_system_proto_rawDescGZIP(), []int{17} } // KillProcessRequest describes the process kill operation. Either a pid or @@ -1621,7 +1744,7 @@ type KillProcessRequest struct { func (x *KillProcessRequest) Reset() { *x = KillProcessRequest{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[17] + mi := &file_system_system_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1634,7 +1757,7 @@ func (x *KillProcessRequest) String() string { func (*KillProcessRequest) ProtoMessage() {} func (x *KillProcessRequest) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[17] + mi := &file_system_system_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1647,7 +1770,7 @@ func (x *KillProcessRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use KillProcessRequest.ProtoReflect.Descriptor instead. func (*KillProcessRequest) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{17} + return file_system_system_proto_rawDescGZIP(), []int{18} } func (x *KillProcessRequest) GetPid() uint32 { @@ -1688,7 +1811,7 @@ type KillProcessResponse struct { func (x *KillProcessResponse) Reset() { *x = KillProcessResponse{} if protoimpl.UnsafeEnabled { - mi := &file_system_system_proto_msgTypes[18] + mi := &file_system_system_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1701,7 +1824,7 @@ func (x *KillProcessResponse) String() string { func (*KillProcessResponse) ProtoMessage() {} func (x *KillProcessResponse) ProtoReflect() protoreflect.Message { - mi := &file_system_system_proto_msgTypes[18] + mi := &file_system_system_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1714,7 +1837,7 @@ func (x *KillProcessResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use KillProcessResponse.ProtoReflect.Descriptor instead. func (*KillProcessResponse) Descriptor() ([]byte, []int) { - return file_system_system_proto_rawDescGZIP(), []int{18} + return file_system_system_proto_rawDescGZIP(), []int{19} } var File_system_system_proto protoreflect.FileDescriptor @@ -1766,7 +1889,7 @@ var file_system_system_proto_rawDesc = []byte{ 0x75, 0x62, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x74, + 0x6e, 0x74, 0x73, 0x22, 0xea, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x61, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, @@ -1774,221 +1897,240 @@ var file_system_system_proto_rawDesc = []byte{ 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x77, 0x68, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x0d, 0x0a, 0x0b, 0x54, 0x69, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x22, 0x0a, 0x0c, 0x54, 0x69, 0x6d, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xd2, 0x02, - 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, - 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, - 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x61, 0x69, - 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x7a, - 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x6f, 0x4e, 0x6f, - 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x6f, 0x5f, - 0x6e, 0x6f, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0c, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x12, - 0x36, 0x0a, 0x0a, 0x6c, 0x33, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x4c, 0x33, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x0a, 0x6c, 0x33, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x6e, 0x65, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x22, 0x98, 0x02, 0x0a, 0x0c, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, - 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, - 0x19, 0x0a, 0x08, 0x6d, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x76, - 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x76, - 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, - 0x12, 0x17, 0x0a, 0x07, 0x73, 0x74, 0x64, 0x5f, 0x64, 0x65, 0x76, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x06, 0x73, 0x74, 0x64, 0x44, 0x65, 0x76, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, - 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, - 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, - 0x74, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22, 0xec, 0x03, - 0x0a, 0x11, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, - 0x0b, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x74, 0x6c, 0x12, 0x17, - 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x74, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x06, 0x6d, 0x61, 0x78, 0x54, 0x74, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x61, 0x69, 0x74, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x64, - 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x72, 0x65, - 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x6f, 0x4e, - 0x6f, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x6c, 0x33, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, - 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4c, 0x33, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x0a, 0x6c, 0x33, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x12, 0x49, 0x0a, 0x0a, 0x6c, 0x34, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x52, 0x0a, 0x6c, 0x34, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x29, 0x0a, 0x11, - 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x5f, 0x61, 0x73, - 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x4c, 0x6f, - 0x6f, 0x6b, 0x75, 0x70, 0x41, 0x73, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6e, 0x65, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x22, 0x28, 0x0a, 0x0a, 0x4c, 0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x12, 0x08, 0x0a, 0x04, 0x49, 0x43, 0x4d, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x43, - 0x50, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x02, 0x22, 0xd7, 0x05, 0x0a, - 0x12, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, - 0x0a, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x68, - 0x6f, 0x70, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x69, - 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, - 0x53, 0x69, 0x7a, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x68, 0x6f, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x03, 0x68, 0x6f, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x74, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x03, 0x72, 0x74, 0x74, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x63, 0x6d, 0x70, 0x5f, 0x63, 0x6f, 0x64, 0x65, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x63, 0x6d, 0x70, 0x43, 0x6f, 0x64, 0x65, - 0x12, 0x3d, 0x0a, 0x04, 0x6d, 0x70, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, - 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x54, 0x72, 0x61, - 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x4d, 0x70, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x70, 0x6c, 0x73, 0x12, - 0x17, 0x0a, 0x07, 0x61, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x05, - 0x52, 0x06, 0x61, 0x73, 0x50, 0x61, 0x74, 0x68, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x70, 0x6c, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x22, 0xf2, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, - 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, - 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x12, - 0x08, 0x0a, 0x04, 0x49, 0x43, 0x4d, 0x50, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x48, 0x4f, 0x53, - 0x54, 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x41, 0x43, 0x48, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x12, - 0x17, 0x0a, 0x13, 0x4e, 0x45, 0x54, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x41, - 0x43, 0x48, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x4f, 0x54, - 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x41, 0x43, 0x48, 0x41, 0x42, 0x4c, 0x45, - 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x52, 0x4f, 0x55, - 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x18, 0x0a, 0x14, 0x46, - 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x45, 0x45, - 0x44, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f, 0x48, 0x49, 0x42, 0x49, - 0x54, 0x45, 0x44, 0x10, 0x09, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x45, 0x43, 0x45, 0x44, 0x45, - 0x4e, 0x43, 0x45, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12, - 0x15, 0x0a, 0x11, 0x50, 0x52, 0x45, 0x43, 0x45, 0x44, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x43, 0x55, - 0x54, 0x4f, 0x46, 0x46, 0x10, 0x0b, 0x22, 0xa1, 0x01, 0x0a, 0x07, 0x50, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x64, - 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x9a, 0x01, 0x0a, 0x11, 0x53, - 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x30, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, - 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, - 0x12, 0x2a, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x61, 0x73, 0x68, - 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x42, 0x09, 0x0a, 0x07, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x50, 0x61, - 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf9, 0x01, - 0x0a, 0x12, 0x4b, 0x69, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6e, 0x6f, - 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x50, 0x72, 0x6f, - 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x22, 0x63, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x16, - 0x0a, 0x12, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, - 0x5f, 0x54, 0x45, 0x52, 0x4d, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x49, 0x47, 0x4e, 0x41, - 0x4c, 0x5f, 0x4b, 0x49, 0x4c, 0x4c, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x49, 0x47, 0x4e, - 0x41, 0x4c, 0x5f, 0x48, 0x55, 0x50, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x49, 0x47, 0x4e, - 0x41, 0x4c, 0x5f, 0x41, 0x42, 0x52, 0x54, 0x10, 0x04, 0x22, 0x15, 0x0a, 0x13, 0x4b, 0x69, 0x6c, - 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2a, 0x64, 0x0a, 0x0c, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, - 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, - 0x04, 0x43, 0x4f, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x4f, 0x57, 0x45, 0x52, - 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x41, 0x4c, 0x54, 0x10, 0x03, - 0x12, 0x08, 0x0a, 0x04, 0x57, 0x41, 0x52, 0x4d, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x53, - 0x46, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x55, 0x50, 0x10, 0x07, - 0x22, 0x04, 0x08, 0x06, 0x10, 0x06, 0x32, 0xea, 0x05, 0x0a, 0x06, 0x53, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x12, 0x3f, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x2e, 0x67, 0x6e, 0x6f, 0x69, - 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x30, 0x01, 0x12, 0x51, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, - 0x12, 0x1e, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x54, - 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1f, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x54, - 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x3d, 0x0a, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x2e, - 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x54, 0x69, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x12, 0x1e, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x2e, 0x53, 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x2e, 0x53, 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x12, 0x73, 0x0a, 0x16, 0x53, 0x77, 0x69, 0x74, 0x63, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6e, 0x6f, + 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x31, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x52, 0x65, 0x62, 0x6f, + 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x22, 0xc6, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, + 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x62, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, + 0x4e, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x55, + 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x52, 0x45, 0x54, 0x52, 0x49, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, + 0x55, 0x52, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x03, 0x22, 0x0d, 0x0a, 0x0b, 0x54, 0x69, 0x6d, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x22, 0x0a, 0x0c, 0x54, 0x69, 0x6d, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xd2, 0x02, 0x0a, + 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, + 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x61, 0x69, 0x74, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x6f, 0x4e, 0x6f, 0x74, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x6f, 0x5f, 0x6e, + 0x6f, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0c, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x12, 0x36, + 0x0a, 0x0a, 0x6c, 0x33, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x4c, 0x33, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x0a, 0x6c, 0x33, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x22, 0x98, 0x02, 0x0a, 0x0c, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x65, + 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x6d, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x76, 0x67, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x76, 0x67, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x17, 0x0a, 0x07, 0x73, 0x74, 0x64, 0x5f, 0x64, 0x65, 0x76, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x73, 0x74, 0x64, 0x44, 0x65, 0x76, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, + 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1a, + 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, + 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22, 0xec, 0x03, 0x0a, + 0x11, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, + 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x74, 0x6c, 0x12, 0x17, 0x0a, + 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x74, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, + 0x6d, 0x61, 0x78, 0x54, 0x74, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x61, 0x69, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x6f, + 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x72, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x6f, 0x4e, 0x6f, + 0x74, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x6c, 0x33, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, + 0x6e, 0x6f, 0x69, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4c, 0x33, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x0a, 0x6c, 0x33, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x12, 0x49, 0x0a, 0x0a, 0x6c, 0x34, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, + 0x0a, 0x6c, 0x34, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x29, 0x0a, 0x11, 0x64, + 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x5f, 0x61, 0x73, 0x6e, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x4c, 0x6f, 0x6f, + 0x6b, 0x75, 0x70, 0x41, 0x73, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x22, 0x28, 0x0a, 0x0a, 0x4c, 0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, + 0x08, 0x0a, 0x04, 0x49, 0x43, 0x4d, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x43, 0x50, + 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x02, 0x22, 0xd7, 0x05, 0x0a, 0x12, + 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, + 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, + 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x73, 0x74, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x68, 0x6f, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x68, 0x6f, + 0x70, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x68, 0x6f, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x03, 0x68, 0x6f, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x74, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x03, 0x72, 0x74, 0x74, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x63, 0x6d, 0x70, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x63, 0x6d, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, + 0x3d, 0x0a, 0x04, 0x6d, 0x70, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x54, 0x72, 0x61, 0x63, + 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, + 0x70, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x70, 0x6c, 0x73, 0x12, 0x17, + 0x0a, 0x07, 0x61, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x05, 0x52, + 0x06, 0x61, 0x73, 0x50, 0x61, 0x74, 0x68, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x70, 0x6c, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0xf2, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, + 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x12, 0x08, + 0x0a, 0x04, 0x49, 0x43, 0x4d, 0x50, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x48, 0x4f, 0x53, 0x54, + 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x41, 0x43, 0x48, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x12, 0x17, + 0x0a, 0x13, 0x4e, 0x45, 0x54, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x41, 0x43, + 0x48, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x4f, 0x54, 0x4f, + 0x43, 0x4f, 0x4c, 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x41, 0x43, 0x48, 0x41, 0x42, 0x4c, 0x45, 0x10, + 0x06, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x52, 0x4f, 0x55, 0x54, + 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x52, + 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x45, 0x45, 0x44, + 0x45, 0x44, 0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f, 0x48, 0x49, 0x42, 0x49, 0x54, + 0x45, 0x44, 0x10, 0x09, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x45, 0x43, 0x45, 0x44, 0x45, 0x4e, + 0x43, 0x45, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x15, + 0x0a, 0x11, 0x50, 0x52, 0x45, 0x43, 0x45, 0x44, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x43, 0x55, 0x54, + 0x4f, 0x46, 0x46, 0x10, 0x0b, 0x22, 0xa1, 0x01, 0x0a, 0x07, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x64, 0x6f, + 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, + 0x6e, 0x6f, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x9a, 0x01, 0x0a, 0x11, 0x53, 0x65, + 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x30, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x50, + 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x12, 0x1c, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, + 0x2a, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, + 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x42, 0x09, 0x0a, 0x07, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x50, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf9, 0x01, 0x0a, + 0x12, 0x4b, 0x69, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x69, 0x67, + 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6e, 0x6f, 0x69, + 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, + 0x6c, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x22, 0x63, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x16, 0x0a, + 0x12, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, + 0x54, 0x45, 0x52, 0x4d, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, + 0x5f, 0x4b, 0x49, 0x4c, 0x4c, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x49, 0x47, 0x4e, 0x41, + 0x4c, 0x5f, 0x48, 0x55, 0x50, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x49, 0x47, 0x4e, 0x41, + 0x4c, 0x5f, 0x41, 0x42, 0x52, 0x54, 0x10, 0x04, 0x22, 0x15, 0x0a, 0x13, 0x4b, 0x69, 0x6c, 0x6c, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, + 0x64, 0x0a, 0x0c, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, + 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, + 0x43, 0x4f, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x44, + 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x41, 0x4c, 0x54, 0x10, 0x03, 0x12, + 0x08, 0x0a, 0x04, 0x57, 0x41, 0x52, 0x4d, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x53, 0x46, + 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x55, 0x50, 0x10, 0x07, 0x22, + 0x04, 0x08, 0x06, 0x10, 0x06, 0x32, 0xea, 0x05, 0x0a, 0x06, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x12, 0x3f, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, + 0x01, 0x12, 0x51, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x12, + 0x1e, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x54, 0x72, + 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1f, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x54, 0x72, + 0x61, 0x63, 0x65, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x30, 0x01, 0x12, 0x3d, 0x0a, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x2e, 0x67, + 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x12, 0x1e, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, + 0x53, 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, + 0x53, 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x12, 0x73, 0x0a, 0x16, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, + 0x12, 0x2a, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x53, + 0x77, 0x69, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, + 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, - 0x72, 0x12, 0x2a, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, - 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, - 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, - 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x53, 0x77, 0x69, 0x74, - 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, - 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x06, - 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x12, 0x1a, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x2e, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x55, 0x0a, 0x0c, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x20, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, - 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x2e, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0c, 0x43, 0x61, 0x6e, 0x63, - 0x65, 0x6c, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x12, 0x20, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x62, - 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6e, 0x6f, - 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, - 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x52, 0x0a, 0x0b, 0x4b, 0x69, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1f, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x06, 0x52, + 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x12, 0x1a, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x2e, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, + 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x55, 0x0a, 0x0c, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x20, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x52, + 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x2e, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0c, 0x43, 0x61, 0x6e, 0x63, 0x65, + 0x6c, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x12, 0x20, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x62, 0x6f, + 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6e, 0x6f, 0x69, + 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, + 0x62, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, + 0x0a, 0x0b, 0x4b, 0x69, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x2e, + 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x4b, 0x69, 0x6c, - 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x20, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x4b, 0x69, - 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x42, 0x2b, 0xd2, 0x3e, 0x05, 0x31, 0x2e, 0x32, 0x2e, 0x30, 0x5a, 0x21, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x42, 0x2b, 0x5a, 0x21, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, + 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0xd2, 0x3e, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2003,77 +2145,82 @@ func file_system_system_proto_rawDescGZIP() []byte { return file_system_system_proto_rawDescData } -var file_system_system_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_system_system_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_system_system_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_system_system_proto_msgTypes = make([]protoimpl.MessageInfo, 21) var file_system_system_proto_goTypes = []interface{}{ (RebootMethod)(0), // 0: gnoi.system.RebootMethod - (TracerouteRequest_L4Protocol)(0), // 1: gnoi.system.TracerouteRequest.L4Protocol - (TracerouteResponse_State)(0), // 2: gnoi.system.TracerouteResponse.State - (KillProcessRequest_Signal)(0), // 3: gnoi.system.KillProcessRequest.Signal - (*SwitchControlProcessorRequest)(nil), // 4: gnoi.system.SwitchControlProcessorRequest - (*SwitchControlProcessorResponse)(nil), // 5: gnoi.system.SwitchControlProcessorResponse - (*RebootRequest)(nil), // 6: gnoi.system.RebootRequest - (*RebootResponse)(nil), // 7: gnoi.system.RebootResponse - (*CancelRebootRequest)(nil), // 8: gnoi.system.CancelRebootRequest - (*CancelRebootResponse)(nil), // 9: gnoi.system.CancelRebootResponse - (*RebootStatusRequest)(nil), // 10: gnoi.system.RebootStatusRequest - (*RebootStatusResponse)(nil), // 11: gnoi.system.RebootStatusResponse - (*TimeRequest)(nil), // 12: gnoi.system.TimeRequest - (*TimeResponse)(nil), // 13: gnoi.system.TimeResponse - (*PingRequest)(nil), // 14: gnoi.system.PingRequest - (*PingResponse)(nil), // 15: gnoi.system.PingResponse - (*TracerouteRequest)(nil), // 16: gnoi.system.TracerouteRequest - (*TracerouteResponse)(nil), // 17: gnoi.system.TracerouteResponse - (*Package)(nil), // 18: gnoi.system.Package - (*SetPackageRequest)(nil), // 19: gnoi.system.SetPackageRequest - (*SetPackageResponse)(nil), // 20: gnoi.system.SetPackageResponse - (*KillProcessRequest)(nil), // 21: gnoi.system.KillProcessRequest - (*KillProcessResponse)(nil), // 22: gnoi.system.KillProcessResponse - nil, // 23: gnoi.system.TracerouteResponse.MplsEntry - (*types.Path)(nil), // 24: gnoi.types.Path - (types.L3Protocol)(0), // 25: gnoi.types.L3Protocol - (*common.RemoteDownload)(nil), // 26: gnoi.common.RemoteDownload - (*types.HashType)(nil), // 27: gnoi.types.HashType + (RebootStatus_Status)(0), // 1: gnoi.system.RebootStatus.Status + (TracerouteRequest_L4Protocol)(0), // 2: gnoi.system.TracerouteRequest.L4Protocol + (TracerouteResponse_State)(0), // 3: gnoi.system.TracerouteResponse.State + (KillProcessRequest_Signal)(0), // 4: gnoi.system.KillProcessRequest.Signal + (*SwitchControlProcessorRequest)(nil), // 5: gnoi.system.SwitchControlProcessorRequest + (*SwitchControlProcessorResponse)(nil), // 6: gnoi.system.SwitchControlProcessorResponse + (*RebootRequest)(nil), // 7: gnoi.system.RebootRequest + (*RebootResponse)(nil), // 8: gnoi.system.RebootResponse + (*CancelRebootRequest)(nil), // 9: gnoi.system.CancelRebootRequest + (*CancelRebootResponse)(nil), // 10: gnoi.system.CancelRebootResponse + (*RebootStatusRequest)(nil), // 11: gnoi.system.RebootStatusRequest + (*RebootStatusResponse)(nil), // 12: gnoi.system.RebootStatusResponse + (*RebootStatus)(nil), // 13: gnoi.system.RebootStatus + (*TimeRequest)(nil), // 14: gnoi.system.TimeRequest + (*TimeResponse)(nil), // 15: gnoi.system.TimeResponse + (*PingRequest)(nil), // 16: gnoi.system.PingRequest + (*PingResponse)(nil), // 17: gnoi.system.PingResponse + (*TracerouteRequest)(nil), // 18: gnoi.system.TracerouteRequest + (*TracerouteResponse)(nil), // 19: gnoi.system.TracerouteResponse + (*Package)(nil), // 20: gnoi.system.Package + (*SetPackageRequest)(nil), // 21: gnoi.system.SetPackageRequest + (*SetPackageResponse)(nil), // 22: gnoi.system.SetPackageResponse + (*KillProcessRequest)(nil), // 23: gnoi.system.KillProcessRequest + (*KillProcessResponse)(nil), // 24: gnoi.system.KillProcessResponse + nil, // 25: gnoi.system.TracerouteResponse.MplsEntry + (*types.Path)(nil), // 26: gnoi.types.Path + (types.L3Protocol)(0), // 27: gnoi.types.L3Protocol + (*common.RemoteDownload)(nil), // 28: gnoi.common.RemoteDownload + (*types.HashType)(nil), // 29: gnoi.types.HashType } var file_system_system_proto_depIdxs = []int32{ - 24, // 0: gnoi.system.SwitchControlProcessorRequest.control_processor:type_name -> gnoi.types.Path - 24, // 1: gnoi.system.SwitchControlProcessorResponse.control_processor:type_name -> gnoi.types.Path + 26, // 0: gnoi.system.SwitchControlProcessorRequest.control_processor:type_name -> gnoi.types.Path + 26, // 1: gnoi.system.SwitchControlProcessorResponse.control_processor:type_name -> gnoi.types.Path 0, // 2: gnoi.system.RebootRequest.method:type_name -> gnoi.system.RebootMethod - 24, // 3: gnoi.system.RebootRequest.subcomponents:type_name -> gnoi.types.Path - 24, // 4: gnoi.system.CancelRebootRequest.subcomponents:type_name -> gnoi.types.Path - 24, // 5: gnoi.system.RebootStatusRequest.subcomponents:type_name -> gnoi.types.Path - 25, // 6: gnoi.system.PingRequest.l3protocol:type_name -> gnoi.types.L3Protocol - 25, // 7: gnoi.system.TracerouteRequest.l3protocol:type_name -> gnoi.types.L3Protocol - 1, // 8: gnoi.system.TracerouteRequest.l4protocol:type_name -> gnoi.system.TracerouteRequest.L4Protocol - 2, // 9: gnoi.system.TracerouteResponse.state:type_name -> gnoi.system.TracerouteResponse.State - 23, // 10: gnoi.system.TracerouteResponse.mpls:type_name -> gnoi.system.TracerouteResponse.MplsEntry - 26, // 11: gnoi.system.Package.remote_download:type_name -> gnoi.common.RemoteDownload - 18, // 12: gnoi.system.SetPackageRequest.package:type_name -> gnoi.system.Package - 27, // 13: gnoi.system.SetPackageRequest.hash:type_name -> gnoi.types.HashType - 3, // 14: gnoi.system.KillProcessRequest.signal:type_name -> gnoi.system.KillProcessRequest.Signal - 14, // 15: gnoi.system.System.Ping:input_type -> gnoi.system.PingRequest - 16, // 16: gnoi.system.System.Traceroute:input_type -> gnoi.system.TracerouteRequest - 12, // 17: gnoi.system.System.Time:input_type -> gnoi.system.TimeRequest - 19, // 18: gnoi.system.System.SetPackage:input_type -> gnoi.system.SetPackageRequest - 4, // 19: gnoi.system.System.SwitchControlProcessor:input_type -> gnoi.system.SwitchControlProcessorRequest - 6, // 20: gnoi.system.System.Reboot:input_type -> gnoi.system.RebootRequest - 10, // 21: gnoi.system.System.RebootStatus:input_type -> gnoi.system.RebootStatusRequest - 8, // 22: gnoi.system.System.CancelReboot:input_type -> gnoi.system.CancelRebootRequest - 21, // 23: gnoi.system.System.KillProcess:input_type -> gnoi.system.KillProcessRequest - 15, // 24: gnoi.system.System.Ping:output_type -> gnoi.system.PingResponse - 17, // 25: gnoi.system.System.Traceroute:output_type -> gnoi.system.TracerouteResponse - 13, // 26: gnoi.system.System.Time:output_type -> gnoi.system.TimeResponse - 20, // 27: gnoi.system.System.SetPackage:output_type -> gnoi.system.SetPackageResponse - 5, // 28: gnoi.system.System.SwitchControlProcessor:output_type -> gnoi.system.SwitchControlProcessorResponse - 7, // 29: gnoi.system.System.Reboot:output_type -> gnoi.system.RebootResponse - 11, // 30: gnoi.system.System.RebootStatus:output_type -> gnoi.system.RebootStatusResponse - 9, // 31: gnoi.system.System.CancelReboot:output_type -> gnoi.system.CancelRebootResponse - 22, // 32: gnoi.system.System.KillProcess:output_type -> gnoi.system.KillProcessResponse - 24, // [24:33] is the sub-list for method output_type - 15, // [15:24] is the sub-list for method input_type - 15, // [15:15] is the sub-list for extension type_name - 15, // [15:15] is the sub-list for extension extendee - 0, // [0:15] is the sub-list for field type_name + 26, // 3: gnoi.system.RebootRequest.subcomponents:type_name -> gnoi.types.Path + 26, // 4: gnoi.system.CancelRebootRequest.subcomponents:type_name -> gnoi.types.Path + 26, // 5: gnoi.system.RebootStatusRequest.subcomponents:type_name -> gnoi.types.Path + 0, // 6: gnoi.system.RebootStatusResponse.method:type_name -> gnoi.system.RebootMethod + 13, // 7: gnoi.system.RebootStatusResponse.status:type_name -> gnoi.system.RebootStatus + 1, // 8: gnoi.system.RebootStatus.status:type_name -> gnoi.system.RebootStatus.Status + 27, // 9: gnoi.system.PingRequest.l3protocol:type_name -> gnoi.types.L3Protocol + 27, // 10: gnoi.system.TracerouteRequest.l3protocol:type_name -> gnoi.types.L3Protocol + 2, // 11: gnoi.system.TracerouteRequest.l4protocol:type_name -> gnoi.system.TracerouteRequest.L4Protocol + 3, // 12: gnoi.system.TracerouteResponse.state:type_name -> gnoi.system.TracerouteResponse.State + 25, // 13: gnoi.system.TracerouteResponse.mpls:type_name -> gnoi.system.TracerouteResponse.MplsEntry + 28, // 14: gnoi.system.Package.remote_download:type_name -> gnoi.common.RemoteDownload + 20, // 15: gnoi.system.SetPackageRequest.package:type_name -> gnoi.system.Package + 29, // 16: gnoi.system.SetPackageRequest.hash:type_name -> gnoi.types.HashType + 4, // 17: gnoi.system.KillProcessRequest.signal:type_name -> gnoi.system.KillProcessRequest.Signal + 16, // 18: gnoi.system.System.Ping:input_type -> gnoi.system.PingRequest + 18, // 19: gnoi.system.System.Traceroute:input_type -> gnoi.system.TracerouteRequest + 14, // 20: gnoi.system.System.Time:input_type -> gnoi.system.TimeRequest + 21, // 21: gnoi.system.System.SetPackage:input_type -> gnoi.system.SetPackageRequest + 5, // 22: gnoi.system.System.SwitchControlProcessor:input_type -> gnoi.system.SwitchControlProcessorRequest + 7, // 23: gnoi.system.System.Reboot:input_type -> gnoi.system.RebootRequest + 11, // 24: gnoi.system.System.RebootStatus:input_type -> gnoi.system.RebootStatusRequest + 9, // 25: gnoi.system.System.CancelReboot:input_type -> gnoi.system.CancelRebootRequest + 23, // 26: gnoi.system.System.KillProcess:input_type -> gnoi.system.KillProcessRequest + 17, // 27: gnoi.system.System.Ping:output_type -> gnoi.system.PingResponse + 19, // 28: gnoi.system.System.Traceroute:output_type -> gnoi.system.TracerouteResponse + 15, // 29: gnoi.system.System.Time:output_type -> gnoi.system.TimeResponse + 22, // 30: gnoi.system.System.SetPackage:output_type -> gnoi.system.SetPackageResponse + 6, // 31: gnoi.system.System.SwitchControlProcessor:output_type -> gnoi.system.SwitchControlProcessorResponse + 8, // 32: gnoi.system.System.Reboot:output_type -> gnoi.system.RebootResponse + 12, // 33: gnoi.system.System.RebootStatus:output_type -> gnoi.system.RebootStatusResponse + 10, // 34: gnoi.system.System.CancelReboot:output_type -> gnoi.system.CancelRebootResponse + 24, // 35: gnoi.system.System.KillProcess:output_type -> gnoi.system.KillProcessResponse + 27, // [27:36] is the sub-list for method output_type + 18, // [18:27] is the sub-list for method input_type + 18, // [18:18] is the sub-list for extension type_name + 18, // [18:18] is the sub-list for extension extendee + 0, // [0:18] is the sub-list for field type_name } func init() { file_system_system_proto_init() } @@ -2179,7 +2326,7 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeRequest); i { + switch v := v.(*RebootStatus); i { case 0: return &v.state case 1: @@ -2191,7 +2338,7 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeResponse); i { + switch v := v.(*TimeRequest); i { case 0: return &v.state case 1: @@ -2203,7 +2350,7 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PingRequest); i { + switch v := v.(*TimeResponse); i { case 0: return &v.state case 1: @@ -2215,7 +2362,7 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PingResponse); i { + switch v := v.(*PingRequest); i { case 0: return &v.state case 1: @@ -2227,7 +2374,7 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TracerouteRequest); i { + switch v := v.(*PingResponse); i { case 0: return &v.state case 1: @@ -2239,7 +2386,7 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TracerouteResponse); i { + switch v := v.(*TracerouteRequest); i { case 0: return &v.state case 1: @@ -2251,7 +2398,7 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Package); i { + switch v := v.(*TracerouteResponse); i { case 0: return &v.state case 1: @@ -2263,7 +2410,7 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPackageRequest); i { + switch v := v.(*Package); i { case 0: return &v.state case 1: @@ -2275,7 +2422,7 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPackageResponse); i { + switch v := v.(*SetPackageRequest); i { case 0: return &v.state case 1: @@ -2287,7 +2434,7 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KillProcessRequest); i { + switch v := v.(*SetPackageResponse); i { case 0: return &v.state case 1: @@ -2299,6 +2446,18 @@ func file_system_system_proto_init() { } } file_system_system_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KillProcessRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_system_system_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*KillProcessResponse); i { case 0: return &v.state @@ -2311,7 +2470,7 @@ func file_system_system_proto_init() { } } } - file_system_system_proto_msgTypes[15].OneofWrappers = []interface{}{ + file_system_system_proto_msgTypes[16].OneofWrappers = []interface{}{ (*SetPackageRequest_Package)(nil), (*SetPackageRequest_Contents)(nil), (*SetPackageRequest_Hash)(nil), @@ -2321,8 +2480,8 @@ func file_system_system_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_system_system_proto_rawDesc, - NumEnums: 4, - NumMessages: 20, + NumEnums: 5, + NumMessages: 21, NumExtensions: 0, NumServices: 1, }, diff --git a/system/system.proto b/system/system.proto index 5c5bda21..6abe07a5 100644 --- a/system/system.proto +++ b/system/system.proto @@ -29,7 +29,7 @@ import "types/types.proto"; option go_package = "github.com/openconfig/gnoi/system"; -option (types.gnoi_version) = "1.2.0"; +option (types.gnoi_version) = "1.3.0"; // The gNOI service is a collection of operational RPC's that allow for the // management of a target outside of the configuration and telemetry pipeline. @@ -153,6 +153,20 @@ message RebootStatusResponse { uint64 when = 3; // Time to reboot in nanoseconds since the epoch. string reason = 4; // Reason for reboot. uint32 count = 5; // Number of reboots since active. + RebootMethod method = 6; // Type of reboot. + RebootStatus status = 7; // Applicable only when active = false. +} + +message RebootStatus { + enum Status { + STATUS_UNKNOWN = 0; + STATUS_SUCCESS = 1; + STATUS_RETRIABLE_FAILURE = 2; + STATUS_FAILURE = 3; + } + + Status status = 1; + string message = 2; } // A TimeRequest requests the current time accodring to the target. diff --git a/system/system_grpc.pb.go b/system/system_grpc.pb.go index 843a2d50..5ca70f57 100644 --- a/system/system_grpc.pb.go +++ b/system/system_grpc.pb.go @@ -1,30 +1,4 @@ -// -// Copyright 2017 Google Inc. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -// Generic Network Operation Interface, GNOI, defines a set of RPC's used for -// the operational aspects of network targets. These services are meant to be -// used in conjunction with GNMI for all target state and operational aspects -// of a network target. The gnoi.system.Service is the only mandatory vendor -// implementation. - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.24.4 -// source: system/system.proto package system @@ -40,18 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - System_Ping_FullMethodName = "/gnoi.system.System/Ping" - System_Traceroute_FullMethodName = "/gnoi.system.System/Traceroute" - System_Time_FullMethodName = "/gnoi.system.System/Time" - System_SetPackage_FullMethodName = "/gnoi.system.System/SetPackage" - System_SwitchControlProcessor_FullMethodName = "/gnoi.system.System/SwitchControlProcessor" - System_Reboot_FullMethodName = "/gnoi.system.System/Reboot" - System_RebootStatus_FullMethodName = "/gnoi.system.System/RebootStatus" - System_CancelReboot_FullMethodName = "/gnoi.system.System/CancelReboot" - System_KillProcess_FullMethodName = "/gnoi.system.System/KillProcess" -) - // SystemClient is the client API for System service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -109,7 +71,7 @@ func NewSystemClient(cc grpc.ClientConnInterface) SystemClient { } func (c *systemClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (System_PingClient, error) { - stream, err := c.cc.NewStream(ctx, &System_ServiceDesc.Streams[0], System_Ping_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &System_ServiceDesc.Streams[0], "/gnoi.system.System/Ping", opts...) if err != nil { return nil, err } @@ -141,7 +103,7 @@ func (x *systemPingClient) Recv() (*PingResponse, error) { } func (c *systemClient) Traceroute(ctx context.Context, in *TracerouteRequest, opts ...grpc.CallOption) (System_TracerouteClient, error) { - stream, err := c.cc.NewStream(ctx, &System_ServiceDesc.Streams[1], System_Traceroute_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &System_ServiceDesc.Streams[1], "/gnoi.system.System/Traceroute", opts...) if err != nil { return nil, err } @@ -174,7 +136,7 @@ func (x *systemTracerouteClient) Recv() (*TracerouteResponse, error) { func (c *systemClient) Time(ctx context.Context, in *TimeRequest, opts ...grpc.CallOption) (*TimeResponse, error) { out := new(TimeResponse) - err := c.cc.Invoke(ctx, System_Time_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.system.System/Time", in, out, opts...) if err != nil { return nil, err } @@ -182,7 +144,7 @@ func (c *systemClient) Time(ctx context.Context, in *TimeRequest, opts ...grpc.C } func (c *systemClient) SetPackage(ctx context.Context, opts ...grpc.CallOption) (System_SetPackageClient, error) { - stream, err := c.cc.NewStream(ctx, &System_ServiceDesc.Streams[2], System_SetPackage_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &System_ServiceDesc.Streams[2], "/gnoi.system.System/SetPackage", opts...) if err != nil { return nil, err } @@ -217,7 +179,7 @@ func (x *systemSetPackageClient) CloseAndRecv() (*SetPackageResponse, error) { func (c *systemClient) SwitchControlProcessor(ctx context.Context, in *SwitchControlProcessorRequest, opts ...grpc.CallOption) (*SwitchControlProcessorResponse, error) { out := new(SwitchControlProcessorResponse) - err := c.cc.Invoke(ctx, System_SwitchControlProcessor_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.system.System/SwitchControlProcessor", in, out, opts...) if err != nil { return nil, err } @@ -226,7 +188,7 @@ func (c *systemClient) SwitchControlProcessor(ctx context.Context, in *SwitchCon func (c *systemClient) Reboot(ctx context.Context, in *RebootRequest, opts ...grpc.CallOption) (*RebootResponse, error) { out := new(RebootResponse) - err := c.cc.Invoke(ctx, System_Reboot_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.system.System/Reboot", in, out, opts...) if err != nil { return nil, err } @@ -235,7 +197,7 @@ func (c *systemClient) Reboot(ctx context.Context, in *RebootRequest, opts ...gr func (c *systemClient) RebootStatus(ctx context.Context, in *RebootStatusRequest, opts ...grpc.CallOption) (*RebootStatusResponse, error) { out := new(RebootStatusResponse) - err := c.cc.Invoke(ctx, System_RebootStatus_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.system.System/RebootStatus", in, out, opts...) if err != nil { return nil, err } @@ -244,7 +206,7 @@ func (c *systemClient) RebootStatus(ctx context.Context, in *RebootStatusRequest func (c *systemClient) CancelReboot(ctx context.Context, in *CancelRebootRequest, opts ...grpc.CallOption) (*CancelRebootResponse, error) { out := new(CancelRebootResponse) - err := c.cc.Invoke(ctx, System_CancelReboot_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.system.System/CancelReboot", in, out, opts...) if err != nil { return nil, err } @@ -253,7 +215,7 @@ func (c *systemClient) CancelReboot(ctx context.Context, in *CancelRebootRequest func (c *systemClient) KillProcess(ctx context.Context, in *KillProcessRequest, opts ...grpc.CallOption) (*KillProcessResponse, error) { out := new(KillProcessResponse) - err := c.cc.Invoke(ctx, System_KillProcess_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.system.System/KillProcess", in, out, opts...) if err != nil { return nil, err } @@ -405,7 +367,7 @@ func _System_Time_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: System_Time_FullMethodName, + FullMethod: "/gnoi.system.System/Time", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).Time(ctx, req.(*TimeRequest)) @@ -449,7 +411,7 @@ func _System_SwitchControlProcessor_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: System_SwitchControlProcessor_FullMethodName, + FullMethod: "/gnoi.system.System/SwitchControlProcessor", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).SwitchControlProcessor(ctx, req.(*SwitchControlProcessorRequest)) @@ -467,7 +429,7 @@ func _System_Reboot_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: System_Reboot_FullMethodName, + FullMethod: "/gnoi.system.System/Reboot", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).Reboot(ctx, req.(*RebootRequest)) @@ -485,7 +447,7 @@ func _System_RebootStatus_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: System_RebootStatus_FullMethodName, + FullMethod: "/gnoi.system.System/RebootStatus", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).RebootStatus(ctx, req.(*RebootStatusRequest)) @@ -503,7 +465,7 @@ func _System_CancelReboot_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: System_CancelReboot_FullMethodName, + FullMethod: "/gnoi.system.System/CancelReboot", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).CancelReboot(ctx, req.(*CancelRebootRequest)) @@ -521,7 +483,7 @@ func _System_KillProcess_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: System_KillProcess_FullMethodName, + FullMethod: "/gnoi.system.System/KillProcess", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).KillProcess(ctx, req.(*KillProcessRequest)) diff --git a/types/types.pb.go b/types/types.pb.go index c54b8577..42154fc0 100644 --- a/types/types.pb.go +++ b/types/types.pb.go @@ -16,8 +16,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: types/types.proto package types @@ -147,7 +147,9 @@ type HashType struct { unknownFields protoimpl.UnknownFields Method HashType_HashMethod `protobuf:"varint,1,opt,name=method,proto3,enum=gnoi.types.HashType_HashMethod" json:"method,omitempty"` - Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` + // hash is the raw byte string returned by the hash function. + // It is not an hex encoded string or other representation. + Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` } func (x *HashType) Reset() { @@ -321,7 +323,6 @@ type Credentials struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // Types that are assignable to Password: - // // *Credentials_Cleartext // *Credentials_Hashed Password isCredentials_Password `protobuf_oneof:"password"` diff --git a/wavelength_router/wavelength_router.pb.go b/wavelength_router/wavelength_router.pb.go index 5849129b..525673f0 100644 --- a/wavelength_router/wavelength_router.pb.go +++ b/wavelength_router/wavelength_router.pb.go @@ -16,8 +16,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.2 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: wavelength_router/wavelength_router.proto package wavelength_router @@ -341,7 +341,7 @@ func (AdjustSpectrumError_Type) EnumDescriptor() ([]byte, []int) { return file_wavelength_router_wavelength_router_proto_rawDescGZIP(), []int{7, 0} } -// Deprecated: Marked as deprecated in wavelength_router/wavelength_router.proto. +// Deprecated: Do not use. type AdjustPSDRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -403,7 +403,7 @@ func (x *AdjustPSDRequest) GetDirection() AdjustPSDRequest_SignalDirection { return AdjustPSDRequest_DIRECTION_UNKNOWN } -// Deprecated: Marked as deprecated in wavelength_router/wavelength_router.proto. +// Deprecated: Do not use. type AdjustPSDProgress struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -453,7 +453,7 @@ func (x *AdjustPSDProgress) GetState() AdjustPSDProgress_State { return AdjustPSDProgress_UNKNOWN } -// Deprecated: Marked as deprecated in wavelength_router/wavelength_router.proto. +// Deprecated: Do not use. type AdjustPSDError struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -515,14 +515,13 @@ func (x *AdjustPSDError) GetDetail() string { // adjustment is completed, an "error" message should be streamed if an // error is encountered or the RPC should be terminated on success. // -// Deprecated: Marked as deprecated in wavelength_router/wavelength_router.proto. +// Deprecated: Do not use. type AdjustPSDResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Response: - // // *AdjustPSDResponse_Progress // *AdjustPSDResponse_Error Response isAdjustPSDResponse_Response `protobuf_oneof:"response"` @@ -597,7 +596,7 @@ func (*AdjustPSDResponse_Progress) isAdjustPSDResponse_Response() {} func (*AdjustPSDResponse_Error) isAdjustPSDResponse_Response() {} -// Deprecated: Marked as deprecated in wavelength_router/wavelength_router.proto. +// Deprecated: Do not use. type CancelAdjustPSDResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -812,7 +811,6 @@ type AdjustSpectrumResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Response: - // // *AdjustSpectrumResponse_Progress // *AdjustSpectrumResponse_Error Response isAdjustSpectrumResponse_Response `protobuf_oneof:"response"` @@ -1050,10 +1048,10 @@ var file_wavelength_router_wavelength_router_proto_rawDesc = []byte{ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6e, 0x6f, 0x69, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x74, 0x72, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x42, 0x36, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x32, 0x2e, 0x30, 0x5a, 0x2c, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, 0x69, 0x2f, 0x77, 0x61, 0x76, 0x65, 0x6c, 0x65, - 0x6e, 0x67, 0x74, 0x68, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x65, 0x22, 0x00, 0x42, 0x36, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6f, + 0x69, 0x2f, 0x77, 0x61, 0x76, 0x65, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x5f, 0x72, 0x6f, 0x75, + 0x74, 0x65, 0x72, 0xd2, 0x3e, 0x05, 0x30, 0x2e, 0x32, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/wavelength_router/wavelength_router_grpc.pb.go b/wavelength_router/wavelength_router_grpc.pb.go index 458af77d..b8499013 100644 --- a/wavelength_router/wavelength_router_grpc.pb.go +++ b/wavelength_router/wavelength_router_grpc.pb.go @@ -1,24 +1,4 @@ -// -// Copyright 2019 Google LLC. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 -// source: wavelength_router/wavelength_router.proto package wavelength_router @@ -34,13 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - WavelengthRouter_AdjustPSD_FullMethodName = "/gnoi.optical.WavelengthRouter/AdjustPSD" - WavelengthRouter_CancelAdjustPSD_FullMethodName = "/gnoi.optical.WavelengthRouter/CancelAdjustPSD" - WavelengthRouter_AdjustSpectrum_FullMethodName = "/gnoi.optical.WavelengthRouter/AdjustSpectrum" - WavelengthRouter_CancelAdjustSpectrum_FullMethodName = "/gnoi.optical.WavelengthRouter/CancelAdjustSpectrum" -) - // WavelengthRouterClient is the client API for WavelengthRouter service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -97,7 +70,7 @@ func NewWavelengthRouterClient(cc grpc.ClientConnInterface) WavelengthRouterClie // Deprecated: Do not use. func (c *wavelengthRouterClient) AdjustPSD(ctx context.Context, in *AdjustPSDRequest, opts ...grpc.CallOption) (WavelengthRouter_AdjustPSDClient, error) { - stream, err := c.cc.NewStream(ctx, &WavelengthRouter_ServiceDesc.Streams[0], WavelengthRouter_AdjustPSD_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &WavelengthRouter_ServiceDesc.Streams[0], "/gnoi.optical.WavelengthRouter/AdjustPSD", opts...) if err != nil { return nil, err } @@ -131,7 +104,7 @@ func (x *wavelengthRouterAdjustPSDClient) Recv() (*AdjustPSDResponse, error) { // Deprecated: Do not use. func (c *wavelengthRouterClient) CancelAdjustPSD(ctx context.Context, in *AdjustPSDRequest, opts ...grpc.CallOption) (*CancelAdjustPSDResponse, error) { out := new(CancelAdjustPSDResponse) - err := c.cc.Invoke(ctx, WavelengthRouter_CancelAdjustPSD_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.optical.WavelengthRouter/CancelAdjustPSD", in, out, opts...) if err != nil { return nil, err } @@ -139,7 +112,7 @@ func (c *wavelengthRouterClient) CancelAdjustPSD(ctx context.Context, in *Adjust } func (c *wavelengthRouterClient) AdjustSpectrum(ctx context.Context, in *AdjustSpectrumRequest, opts ...grpc.CallOption) (WavelengthRouter_AdjustSpectrumClient, error) { - stream, err := c.cc.NewStream(ctx, &WavelengthRouter_ServiceDesc.Streams[1], WavelengthRouter_AdjustSpectrum_FullMethodName, opts...) + stream, err := c.cc.NewStream(ctx, &WavelengthRouter_ServiceDesc.Streams[1], "/gnoi.optical.WavelengthRouter/AdjustSpectrum", opts...) if err != nil { return nil, err } @@ -172,7 +145,7 @@ func (x *wavelengthRouterAdjustSpectrumClient) Recv() (*AdjustSpectrumResponse, func (c *wavelengthRouterClient) CancelAdjustSpectrum(ctx context.Context, in *AdjustSpectrumRequest, opts ...grpc.CallOption) (*CancelAdjustSpectrumResponse, error) { out := new(CancelAdjustSpectrumResponse) - err := c.cc.Invoke(ctx, WavelengthRouter_CancelAdjustSpectrum_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/gnoi.optical.WavelengthRouter/CancelAdjustSpectrum", in, out, opts...) if err != nil { return nil, err } @@ -286,7 +259,7 @@ func _WavelengthRouter_CancelAdjustPSD_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: WavelengthRouter_CancelAdjustPSD_FullMethodName, + FullMethod: "/gnoi.optical.WavelengthRouter/CancelAdjustPSD", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WavelengthRouterServer).CancelAdjustPSD(ctx, req.(*AdjustPSDRequest)) @@ -325,7 +298,7 @@ func _WavelengthRouter_CancelAdjustSpectrum_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: WavelengthRouter_CancelAdjustSpectrum_FullMethodName, + FullMethod: "/gnoi.optical.WavelengthRouter/CancelAdjustSpectrum", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WavelengthRouterServer).CancelAdjustSpectrum(ctx, req.(*AdjustSpectrumRequest))