From 7ff63f5194ed9b1bed032e62108a15cbe1bc9147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Skrz=C4=99tnicki?= Date: Wed, 11 Jan 2023 11:48:03 +0100 Subject: [PATCH 1/3] Changes from `make grpc` run on master --- .../proto/go/attestation/v1/attestation.pb.go | 0 .../go/teleport/devicetrust/v1/device.pb.go | 0 .../v1/device_collected_data.pb.go | 0 .../devicetrust/v1/device_enroll_token.pb.go | 0 .../devicetrust/v1/devicetrust_service.pb.go | 0 .../v1/devicetrust_service_grpc.pb.go | 0 .../go/teleport/devicetrust/v1/os_type.pb.go | 0 .../devicetrust/v1/user_certificates.pb.go | 0 .../go/teleport/loginrule/v1/loginrule.pb.go | 0 .../go/teleport/proxy/v1/proxy_service.pb.go | 0 .../proxy/v1/proxy_service_grpc.pb.go | 0 .../proto/go/usageevents/v1/usageevents.pb.go | 89 ++++++++++--------- lib/prehog/gen/prehog/v1alpha/teleport.pb.go | 14 +++ 13 files changed, 59 insertions(+), 44 deletions(-) mode change 100644 => 100755 api/gen/proto/go/attestation/v1/attestation.pb.go mode change 100644 => 100755 api/gen/proto/go/teleport/devicetrust/v1/device.pb.go mode change 100644 => 100755 api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go mode change 100644 => 100755 api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go mode change 100644 => 100755 api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go mode change 100644 => 100755 api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go mode change 100644 => 100755 api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go mode change 100644 => 100755 api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go mode change 100644 => 100755 api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go mode change 100644 => 100755 api/gen/proto/go/teleport/proxy/v1/proxy_service.pb.go mode change 100644 => 100755 api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go mode change 100644 => 100755 api/gen/proto/go/usageevents/v1/usageevents.pb.go diff --git a/api/gen/proto/go/attestation/v1/attestation.pb.go b/api/gen/proto/go/attestation/v1/attestation.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go b/api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/teleport/proxy/v1/proxy_service.pb.go b/api/gen/proto/go/teleport/proxy/v1/proxy_service.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go b/api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go old mode 100644 new mode 100755 diff --git a/api/gen/proto/go/usageevents/v1/usageevents.pb.go b/api/gen/proto/go/usageevents/v1/usageevents.pb.go old mode 100644 new mode 100755 index 26ade88ccd459..b383a5a338a4e --- a/api/gen/proto/go/usageevents/v1/usageevents.pb.go +++ b/api/gen/proto/go/usageevents/v1/usageevents.pb.go @@ -676,50 +676,51 @@ func init() { } var fileDescriptor_94cf2ca1c69fd564 = []byte{ - // 677 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xcf, 0x6b, 0xd4, 0x40, - 0x14, 0xc7, 0x93, 0xfe, 0xdc, 0x1d, 0x91, 0x4a, 0x10, 0xdc, 0x4a, 0xbb, 0xd4, 0xad, 0x85, 0xb6, - 0xc2, 0x86, 0x2a, 0x28, 0x68, 0x51, 0xda, 0xd5, 0x9a, 0x8a, 0xb0, 0x92, 0x76, 0x2f, 0x5e, 0x86, - 0xd9, 0xe4, 0x6d, 0x3a, 0x98, 0x9d, 0x09, 0x93, 0xc9, 0xd6, 0x45, 0xbc, 0x79, 0xf3, 0xe2, 0xdd, - 0x7f, 0xc8, 0xa3, 0x57, 0x6f, 0xd2, 0xbf, 0x44, 0x32, 0x3b, 0x9b, 0xc6, 0xfd, 0xd1, 0xe4, 0x98, - 0x79, 0xdf, 0x79, 0xef, 0xc3, 0xcb, 0xfb, 0xbe, 0x41, 0x7b, 0x12, 0x42, 0x88, 0xb8, 0x90, 0x76, - 0x12, 0x93, 0x00, 0x60, 0x00, 0x4c, 0xc6, 0xf6, 0xe0, 0x20, 0xff, 0xd9, 0x8c, 0x04, 0x97, 0xdc, - 0xba, 0x37, 0x96, 0x36, 0xf3, 0xb1, 0xc1, 0x41, 0x63, 0x1f, 0x59, 0x9d, 0xd3, 0x63, 0xc2, 0x18, - 0x88, 0x56, 0x48, 0xbd, 0x4f, 0x6f, 0xd2, 0x88, 0x75, 0x17, 0x2d, 0x93, 0x10, 0x84, 0xac, 0x99, - 0x5b, 0xe6, 0x6e, 0xd5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0x8b, 0x51, 0x6e, 0x5a, 0x1e, 0x8e, 0xe1, 0x6e, 0x65, 0x38, 0x73, 0x84, 0xe3, 0xce, 0x08, 0x6d, - 0x47, 0xec, 0xa5, 0x7e, 0xc4, 0x9e, 0x5e, 0x07, 0xfa, 0x77, 0x55, 0x0a, 0x3b, 0x53, 0xb0, 0x4c, - 0x46, 0x9d, 0x99, 0x2f, 0xb2, 0x3e, 0xa3, 0x8d, 0x59, 0x14, 0xd1, 0x50, 0x13, 0x54, 0x15, 0xc1, - 0xd3, 0xf2, 0x04, 0xf9, 0x6d, 0xe4, 0x18, 0x6e, 0x6d, 0xaa, 0xba, 0x16, 0x58, 0x5f, 0xd0, 0xe6, - 0x74, 0xe5, 0x28, 0x5d, 0x48, 0xba, 0x34, 0x52, 0xa5, 0x9f, 0x95, 0x2d, 0x3d, 0xb1, 0xcb, 0x1c, - 0xc3, 0x5d, 0x9f, 0xa8, 0x7d, 0xad, 0x38, 0x5e, 0x45, 0xcb, 0x2a, 0xd1, 0xbb, 0xa5, 0xca, 0xc2, - 0x9d, 0xc5, 0xe3, 0xf6, 0xaf, 0xab, 0xba, 0xf9, 0xfb, 0xaa, 0x6e, 0xfe, 0xbd, 0xaa, 0x9b, 0x1f, - 0x8f, 0x02, 0x2a, 0x2f, 0x92, 0x6e, 0xd3, 0xe3, 0x7d, 0x3b, 0x10, 0x64, 0x40, 0x25, 0x91, 0x94, - 0x33, 0x12, 0xda, 0xd9, 0x4b, 0x4c, 0x22, 0x6a, 0x07, 0xc0, 0x6c, 0xf5, 0xec, 0xda, 0x01, 0x9f, - 0x78, 0x9a, 0xbb, 0x2b, 0x2a, 0xf0, 0xe4, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x17, 0x4f, 0xa8, - 0x46, 0xbc, 0x07, 0x00, 0x00, + // 690 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xc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xf0, 0xb4, 0x3c, 0x41, 0x7e, 0x1b, 0x39, 0x86, 0x5b, 0x9b, 0xaa, 0xae, 0x05, 0xd6, 0x17, 0xb4, + 0x39, 0x5d, 0x39, 0x4a, 0x17, 0x92, 0x2e, 0x8d, 0x54, 0xe9, 0x67, 0x65, 0x4b, 0x4f, 0xec, 0x32, + 0xc7, 0x70, 0xd7, 0x27, 0x6a, 0x5f, 0x2b, 0x8e, 0x57, 0xd1, 0xb2, 0x4a, 0xf4, 0x6e, 0xa9, 0xb2, + 0x70, 0x67, 0x31, 0xed, 0x51, 0x36, 0x1c, 0x01, 0x48, 0x1c, 0x4b, 0x22, 0x24, 0xe8, 0x05, 0x73, + 0xdc, 0xfe, 0x75, 0x55, 0x37, 0x7f, 0x5f, 0xd5, 0xcd, 0x3f, 0x57, 0x75, 0xf3, 0xe3, 0x51, 0x40, + 0xe5, 0x45, 0xd2, 0x6d, 0x7a, 0xbc, 0x6f, 0x07, 0x82, 0x0c, 0xa8, 0x24, 0x92, 0x72, 0x46, 0x42, + 0x3b, 0x7b, 0xa7, 0x49, 0x44, 0xed, 0x00, 0x98, 0xad, 0x1e, 0x65, 0x3b, 0xe0, 0x13, 0x0f, 0x77, + 0x77, 0x45, 0x05, 0x9e, 0xfc, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x6f, 0x72, 0xa4, 0xda, 0x07, + 0x00, 0x00, } func (m *UIBannerClickEvent) Marshal() (dAtA []byte, err error) { diff --git a/lib/prehog/gen/prehog/v1alpha/teleport.pb.go b/lib/prehog/gen/prehog/v1alpha/teleport.pb.go index 7591ffb8dbdc1..a9fe5edeab93a 100644 --- a/lib/prehog/gen/prehog/v1alpha/teleport.pb.go +++ b/lib/prehog/gen/prehog/v1alpha/teleport.pb.go @@ -1,3 +1,17 @@ +// Copyright 2022 Gravitational, Inc +// +// 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. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 From 474b8e35ea73fb97d54f9ab994ec41d6e0bb585a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Skrz=C4=99tnicki?= Date: Wed, 11 Jan 2023 12:02:21 +0100 Subject: [PATCH 2/3] Rerun `make grpc` without VirtioFS, which is broken permission-wise. Details: https://github.com/docker/for-mac/issues/6614 --- api/gen/proto/go/attestation/v1/attestation.pb.go | 0 api/gen/proto/go/teleport/devicetrust/v1/device.pb.go | 0 .../proto/go/teleport/devicetrust/v1/device_collected_data.pb.go | 0 .../proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go | 0 .../proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go | 0 .../go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go | 0 api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go | 0 api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go | 0 api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go | 0 api/gen/proto/go/teleport/proxy/v1/proxy_service.pb.go | 0 api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go | 0 api/gen/proto/go/usageevents/v1/usageevents.pb.go | 0 12 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 api/gen/proto/go/attestation/v1/attestation.pb.go mode change 100755 => 100644 api/gen/proto/go/teleport/devicetrust/v1/device.pb.go mode change 100755 => 100644 api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go mode change 100755 => 100644 api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go mode change 100755 => 100644 api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go mode change 100755 => 100644 api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go mode change 100755 => 100644 api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go mode change 100755 => 100644 api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go mode change 100755 => 100644 api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go mode change 100755 => 100644 api/gen/proto/go/teleport/proxy/v1/proxy_service.pb.go mode change 100755 => 100644 api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go mode change 100755 => 100644 api/gen/proto/go/usageevents/v1/usageevents.pb.go diff --git a/api/gen/proto/go/attestation/v1/attestation.pb.go b/api/gen/proto/go/attestation/v1/attestation.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go b/api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/teleport/proxy/v1/proxy_service.pb.go b/api/gen/proto/go/teleport/proxy/v1/proxy_service.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go b/api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go old mode 100755 new mode 100644 diff --git a/api/gen/proto/go/usageevents/v1/usageevents.pb.go b/api/gen/proto/go/usageevents/v1/usageevents.pb.go old mode 100755 new mode 100644 From 9c363ac1332a7343d877d002a51b03aac6827feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Skrz=C4=99tnicki?= Date: Wed, 11 Jan 2023 16:45:40 +0100 Subject: [PATCH 3/3] Changes from `make grpc-teleterm`. --- .../prehog/v1alpha/teleport_grpc_pb.d.ts | 17 + .../gen-js/prehog/v1alpha/teleport_grpc_pb.js | 33 + .../gen-js/prehog/v1alpha/teleport_pb.d.ts | 132 ++- .../gen-js/prehog/v1alpha/teleport_pb.js | 932 ++++++++++++++---- 4 files changed, 873 insertions(+), 241 deletions(-) diff --git a/lib/prehog/gen-js/prehog/v1alpha/teleport_grpc_pb.d.ts b/lib/prehog/gen-js/prehog/v1alpha/teleport_grpc_pb.d.ts index 8dac89c19c58d..85d2a75e386f3 100644 --- a/lib/prehog/gen-js/prehog/v1alpha/teleport_grpc_pb.d.ts +++ b/lib/prehog/gen-js/prehog/v1alpha/teleport_grpc_pb.d.ts @@ -10,6 +10,7 @@ import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/t interface ITeleportReportingServiceService extends grpc.ServiceDefinition { submitEvent: ITeleportReportingServiceService_ISubmitEvent; + helloTeleport: ITeleportReportingServiceService_IHelloTeleport; } interface ITeleportReportingServiceService_ISubmitEvent extends grpc.MethodDefinition { @@ -21,17 +22,30 @@ interface ITeleportReportingServiceService_ISubmitEvent extends grpc.MethodDefin responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } +interface ITeleportReportingServiceService_IHelloTeleport extends grpc.MethodDefinition { + path: "/prehog.v1alpha.TeleportReportingService/HelloTeleport"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} export const TeleportReportingServiceService: ITeleportReportingServiceService; export interface ITeleportReportingServiceServer { submitEvent: grpc.handleUnaryCall; + helloTeleport: grpc.handleUnaryCall; } export interface ITeleportReportingServiceClient { submitEvent(request: prehog_v1alpha_teleport_pb.SubmitEventRequest, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.SubmitEventResponse) => void): grpc.ClientUnaryCall; submitEvent(request: prehog_v1alpha_teleport_pb.SubmitEventRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.SubmitEventResponse) => void): grpc.ClientUnaryCall; submitEvent(request: prehog_v1alpha_teleport_pb.SubmitEventRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.SubmitEventResponse) => void): grpc.ClientUnaryCall; + helloTeleport(request: prehog_v1alpha_teleport_pb.HelloTeleportRequest, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.HelloTeleportResponse) => void): grpc.ClientUnaryCall; + helloTeleport(request: prehog_v1alpha_teleport_pb.HelloTeleportRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.HelloTeleportResponse) => void): grpc.ClientUnaryCall; + helloTeleport(request: prehog_v1alpha_teleport_pb.HelloTeleportRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.HelloTeleportResponse) => void): grpc.ClientUnaryCall; } export class TeleportReportingServiceClient extends grpc.Client implements ITeleportReportingServiceClient { @@ -39,4 +53,7 @@ export class TeleportReportingServiceClient extends grpc.Client implements ITele public submitEvent(request: prehog_v1alpha_teleport_pb.SubmitEventRequest, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.SubmitEventResponse) => void): grpc.ClientUnaryCall; public submitEvent(request: prehog_v1alpha_teleport_pb.SubmitEventRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.SubmitEventResponse) => void): grpc.ClientUnaryCall; public submitEvent(request: prehog_v1alpha_teleport_pb.SubmitEventRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.SubmitEventResponse) => void): grpc.ClientUnaryCall; + public helloTeleport(request: prehog_v1alpha_teleport_pb.HelloTeleportRequest, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.HelloTeleportResponse) => void): grpc.ClientUnaryCall; + public helloTeleport(request: prehog_v1alpha_teleport_pb.HelloTeleportRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.HelloTeleportResponse) => void): grpc.ClientUnaryCall; + public helloTeleport(request: prehog_v1alpha_teleport_pb.HelloTeleportRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: prehog_v1alpha_teleport_pb.HelloTeleportResponse) => void): grpc.ClientUnaryCall; } diff --git a/lib/prehog/gen-js/prehog/v1alpha/teleport_grpc_pb.js b/lib/prehog/gen-js/prehog/v1alpha/teleport_grpc_pb.js index bec30f63109b8..338cf3d3c9b3d 100644 --- a/lib/prehog/gen-js/prehog/v1alpha/teleport_grpc_pb.js +++ b/lib/prehog/gen-js/prehog/v1alpha/teleport_grpc_pb.js @@ -20,6 +20,28 @@ var grpc = require('@grpc/grpc-js'); var prehog_v1alpha_teleport_pb = require('../../prehog/v1alpha/teleport_pb.js'); var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); +function serialize_prehog_v1alpha_HelloTeleportRequest(arg) { + if (!(arg instanceof prehog_v1alpha_teleport_pb.HelloTeleportRequest)) { + throw new Error('Expected argument of type prehog.v1alpha.HelloTeleportRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_prehog_v1alpha_HelloTeleportRequest(buffer_arg) { + return prehog_v1alpha_teleport_pb.HelloTeleportRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_prehog_v1alpha_HelloTeleportResponse(arg) { + if (!(arg instanceof prehog_v1alpha_teleport_pb.HelloTeleportResponse)) { + throw new Error('Expected argument of type prehog.v1alpha.HelloTeleportResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_prehog_v1alpha_HelloTeleportResponse(buffer_arg) { + return prehog_v1alpha_teleport_pb.HelloTeleportResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_prehog_v1alpha_SubmitEventRequest(arg) { if (!(arg instanceof prehog_v1alpha_teleport_pb.SubmitEventRequest)) { throw new Error('Expected argument of type prehog.v1alpha.SubmitEventRequest'); @@ -55,6 +77,17 @@ var TeleportReportingServiceService = exports.TeleportReportingServiceService = responseSerialize: serialize_prehog_v1alpha_SubmitEventResponse, responseDeserialize: deserialize_prehog_v1alpha_SubmitEventResponse, }, + helloTeleport: { + path: '/prehog.v1alpha.TeleportReportingService/HelloTeleport', + requestStream: false, + responseStream: false, + requestType: prehog_v1alpha_teleport_pb.HelloTeleportRequest, + responseType: prehog_v1alpha_teleport_pb.HelloTeleportResponse, + requestSerialize: serialize_prehog_v1alpha_HelloTeleportRequest, + requestDeserialize: deserialize_prehog_v1alpha_HelloTeleportRequest, + responseSerialize: serialize_prehog_v1alpha_HelloTeleportResponse, + responseDeserialize: deserialize_prehog_v1alpha_HelloTeleportResponse, + }, }; exports.TeleportReportingServiceClient = grpc.makeGenericClientConstructor(TeleportReportingServiceService); diff --git a/lib/prehog/gen-js/prehog/v1alpha/teleport_pb.d.ts b/lib/prehog/gen-js/prehog/v1alpha/teleport_pb.d.ts index 5f354bfbf267f..1fd9e21870a93 100644 --- a/lib/prehog/gen-js/prehog/v1alpha/teleport_pb.d.ts +++ b/lib/prehog/gen-js/prehog/v1alpha/teleport_pb.d.ts @@ -124,27 +124,6 @@ export namespace UIBannerClickEvent { } } -export class UIOnboardGetStartedClickEvent extends jspb.Message { - getUserName(): string; - setUserName(value: string): UIOnboardGetStartedClickEvent; - - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): UIOnboardGetStartedClickEvent.AsObject; - static toObject(includeInstance: boolean, msg: UIOnboardGetStartedClickEvent): UIOnboardGetStartedClickEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UIOnboardGetStartedClickEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): UIOnboardGetStartedClickEvent; - static deserializeBinaryFromReader(message: UIOnboardGetStartedClickEvent, reader: jspb.BinaryReader): UIOnboardGetStartedClickEvent; -} - -export namespace UIOnboardGetStartedClickEvent { - export type AsObject = { - userName: string, - } -} - export class UIOnboardCompleteGoToDashboardClickEvent extends jspb.Message { getUserName(): string; setUserName(value: string): UIOnboardCompleteGoToDashboardClickEvent; @@ -233,6 +212,12 @@ export class UIOnboardRegisterChallengeSubmitEvent extends jspb.Message { getUserName(): string; setUserName(value: string): UIOnboardRegisterChallengeSubmitEvent; + getMfaType(): string; + setMfaType(value: string): UIOnboardRegisterChallengeSubmitEvent; + + getLoginFlow(): string; + setLoginFlow(value: string): UIOnboardRegisterChallengeSubmitEvent; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UIOnboardRegisterChallengeSubmitEvent.AsObject; @@ -247,6 +232,8 @@ export class UIOnboardRegisterChallengeSubmitEvent extends jspb.Message { export namespace UIOnboardRegisterChallengeSubmitEvent { export type AsObject = { userName: string, + mfaType: string, + loginFlow: string, } } @@ -271,6 +258,48 @@ export namespace UIRecoveryCodesContinueClickEvent { } } +export class UIRecoveryCodesCopyClickEvent extends jspb.Message { + getUserName(): string; + setUserName(value: string): UIRecoveryCodesCopyClickEvent; + + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UIRecoveryCodesCopyClickEvent.AsObject; + static toObject(includeInstance: boolean, msg: UIRecoveryCodesCopyClickEvent): UIRecoveryCodesCopyClickEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UIRecoveryCodesCopyClickEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UIRecoveryCodesCopyClickEvent; + static deserializeBinaryFromReader(message: UIRecoveryCodesCopyClickEvent, reader: jspb.BinaryReader): UIRecoveryCodesCopyClickEvent; +} + +export namespace UIRecoveryCodesCopyClickEvent { + export type AsObject = { + userName: string, + } +} + +export class UIRecoveryCodesPrintClickEvent extends jspb.Message { + getUserName(): string; + setUserName(value: string): UIRecoveryCodesPrintClickEvent; + + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UIRecoveryCodesPrintClickEvent.AsObject; + static toObject(includeInstance: boolean, msg: UIRecoveryCodesPrintClickEvent): UIRecoveryCodesPrintClickEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UIRecoveryCodesPrintClickEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UIRecoveryCodesPrintClickEvent; + static deserializeBinaryFromReader(message: UIRecoveryCodesPrintClickEvent, reader: jspb.BinaryReader): UIRecoveryCodesPrintClickEvent; +} + +export namespace UIRecoveryCodesPrintClickEvent { + export type AsObject = { + userName: string, + } +} + export class SubmitEventRequest extends jspb.Message { getClusterName(): string; setClusterName(value: string): SubmitEventRequest; @@ -312,12 +341,6 @@ export class SubmitEventRequest extends jspb.Message { setUiBannerClick(value?: UIBannerClickEvent): SubmitEventRequest; - hasUiOnboardGetStartedClick(): boolean; - clearUiOnboardGetStartedClick(): void; - getUiOnboardGetStartedClick(): UIOnboardGetStartedClickEvent | undefined; - setUiOnboardGetStartedClick(value?: UIOnboardGetStartedClickEvent): SubmitEventRequest; - - hasUiOnboardCompleteGoToDashboardClick(): boolean; clearUiOnboardCompleteGoToDashboardClick(): void; getUiOnboardCompleteGoToDashboardClick(): UIOnboardCompleteGoToDashboardClickEvent | undefined; @@ -354,6 +377,18 @@ export class SubmitEventRequest extends jspb.Message { setUiRecoveryCodesContinueClick(value?: UIRecoveryCodesContinueClickEvent): SubmitEventRequest; + hasUiRecoveryCodesCopyClick(): boolean; + clearUiRecoveryCodesCopyClick(): void; + getUiRecoveryCodesCopyClick(): UIRecoveryCodesCopyClickEvent | undefined; + setUiRecoveryCodesCopyClick(value?: UIRecoveryCodesCopyClickEvent): SubmitEventRequest; + + + hasUiRecoveryCodesPrintClick(): boolean; + clearUiRecoveryCodesPrintClick(): void; + getUiRecoveryCodesPrintClick(): UIRecoveryCodesPrintClickEvent | undefined; + setUiRecoveryCodesPrintClick(value?: UIRecoveryCodesPrintClickEvent): SubmitEventRequest; + + getEventCase(): SubmitEventRequest.EventCase; serializeBinary(): Uint8Array; @@ -375,13 +410,14 @@ export namespace SubmitEventRequest { resourceCreate?: ResourceCreateEvent.AsObject, sessionStart?: SessionStartEvent.AsObject, uiBannerClick?: UIBannerClickEvent.AsObject, - uiOnboardGetStartedClick?: UIOnboardGetStartedClickEvent.AsObject, uiOnboardCompleteGoToDashboardClick?: UIOnboardCompleteGoToDashboardClickEvent.AsObject, uiOnboardAddFirstResourceClick?: UIOnboardAddFirstResourceClickEvent.AsObject, uiOnboardAddFirstResourceLaterClick?: UIOnboardAddFirstResourceLaterClickEvent.AsObject, uiOnboardSetCredentialSubmit?: UIOnboardSetCredentialSubmitEvent.AsObject, uiOnboardRegisterChallengeSubmit?: UIOnboardRegisterChallengeSubmitEvent.AsObject, uiRecoveryCodesContinueClick?: UIRecoveryCodesContinueClickEvent.AsObject, + uiRecoveryCodesCopyClick?: UIRecoveryCodesCopyClickEvent.AsObject, + uiRecoveryCodesPrintClick?: UIRecoveryCodesPrintClickEvent.AsObject, } export enum EventCase { @@ -397,8 +433,6 @@ export namespace SubmitEventRequest { UI_BANNER_CLICK = 7, - UI_ONBOARD_GET_STARTED_CLICK = 8, - UI_ONBOARD_COMPLETE_GO_TO_DASHBOARD_CLICK = 9, UI_ONBOARD_ADD_FIRST_RESOURCE_CLICK = 10, @@ -411,6 +445,10 @@ export namespace SubmitEventRequest { UI_RECOVERY_CODES_CONTINUE_CLICK = 14, + UI_RECOVERY_CODES_COPY_CLICK = 15, + + UI_RECOVERY_CODES_PRINT_CLICK = 16, + } } @@ -431,3 +469,37 @@ export namespace SubmitEventResponse { export type AsObject = { } } + +export class HelloTeleportRequest extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HelloTeleportRequest.AsObject; + static toObject(includeInstance: boolean, msg: HelloTeleportRequest): HelloTeleportRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HelloTeleportRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HelloTeleportRequest; + static deserializeBinaryFromReader(message: HelloTeleportRequest, reader: jspb.BinaryReader): HelloTeleportRequest; +} + +export namespace HelloTeleportRequest { + export type AsObject = { + } +} + +export class HelloTeleportResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HelloTeleportResponse.AsObject; + static toObject(includeInstance: boolean, msg: HelloTeleportResponse): HelloTeleportResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HelloTeleportResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HelloTeleportResponse; + static deserializeBinaryFromReader(message: HelloTeleportResponse, reader: jspb.BinaryReader): HelloTeleportResponse; +} + +export namespace HelloTeleportResponse { + export type AsObject = { + } +} diff --git a/lib/prehog/gen-js/prehog/v1alpha/teleport_pb.js b/lib/prehog/gen-js/prehog/v1alpha/teleport_pb.js index c750fb101d136..d162e80dbd5c5 100644 --- a/lib/prehog/gen-js/prehog/v1alpha/teleport_pb.js +++ b/lib/prehog/gen-js/prehog/v1alpha/teleport_pb.js @@ -17,6 +17,8 @@ var global = (function() { return this || window || global || self || Function(' var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); +goog.exportSymbol('proto.prehog.v1alpha.HelloTeleportRequest', null, global); +goog.exportSymbol('proto.prehog.v1alpha.HelloTeleportResponse', null, global); goog.exportSymbol('proto.prehog.v1alpha.ResourceCreateEvent', null, global); goog.exportSymbol('proto.prehog.v1alpha.SSOCreateEvent', null, global); goog.exportSymbol('proto.prehog.v1alpha.SessionStartEvent', null, global); @@ -27,10 +29,11 @@ goog.exportSymbol('proto.prehog.v1alpha.UIBannerClickEvent', null, global); goog.exportSymbol('proto.prehog.v1alpha.UIOnboardAddFirstResourceClickEvent', null, global); goog.exportSymbol('proto.prehog.v1alpha.UIOnboardAddFirstResourceLaterClickEvent', null, global); goog.exportSymbol('proto.prehog.v1alpha.UIOnboardCompleteGoToDashboardClickEvent', null, global); -goog.exportSymbol('proto.prehog.v1alpha.UIOnboardGetStartedClickEvent', null, global); goog.exportSymbol('proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent', null, global); goog.exportSymbol('proto.prehog.v1alpha.UIOnboardSetCredentialSubmitEvent', null, global); goog.exportSymbol('proto.prehog.v1alpha.UIRecoveryCodesContinueClickEvent', null, global); +goog.exportSymbol('proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent', null, global); +goog.exportSymbol('proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent', null, global); goog.exportSymbol('proto.prehog.v1alpha.UserLoginEvent', null, global); /** * Generated by JsPbCodeGenerator. @@ -137,27 +140,6 @@ if (goog.DEBUG && !COMPILED) { */ proto.prehog.v1alpha.UIBannerClickEvent.displayName = 'proto.prehog.v1alpha.UIBannerClickEvent'; } -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.prehog.v1alpha.UIOnboardGetStartedClickEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.prehog.v1alpha.UIOnboardGetStartedClickEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.displayName = 'proto.prehog.v1alpha.UIOnboardGetStartedClickEvent'; -} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -284,6 +266,48 @@ if (goog.DEBUG && !COMPILED) { */ proto.prehog.v1alpha.UIRecoveryCodesContinueClickEvent.displayName = 'proto.prehog.v1alpha.UIRecoveryCodesContinueClickEvent'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.displayName = 'proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.displayName = 'proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -326,6 +350,48 @@ if (goog.DEBUG && !COMPILED) { */ proto.prehog.v1alpha.SubmitEventResponse.displayName = 'proto.prehog.v1alpha.SubmitEventResponse'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.prehog.v1alpha.HelloTeleportRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.prehog.v1alpha.HelloTeleportRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.prehog.v1alpha.HelloTeleportRequest.displayName = 'proto.prehog.v1alpha.HelloTeleportRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.prehog.v1alpha.HelloTeleportResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.prehog.v1alpha.HelloTeleportResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.prehog.v1alpha.HelloTeleportResponse.displayName = 'proto.prehog.v1alpha.HelloTeleportResponse'; +} @@ -1069,136 +1135,6 @@ proto.prehog.v1alpha.UIBannerClickEvent.prototype.setAlert = function(value) { -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.prototype.toObject = function(opt_includeInstance) { - return proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.prehog.v1alpha.UIOnboardGetStartedClickEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.toObject = function(includeInstance, msg) { - var f, obj = { - userName: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.prehog.v1alpha.UIOnboardGetStartedClickEvent} - */ -proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.prehog.v1alpha.UIOnboardGetStartedClickEvent; - return proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.prehog.v1alpha.UIOnboardGetStartedClickEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.prehog.v1alpha.UIOnboardGetStartedClickEvent} - */ -proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setUserName(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.prehog.v1alpha.UIOnboardGetStartedClickEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getUserName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string user_name = 1; - * @return {string} - */ -proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.prototype.getUserName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.prehog.v1alpha.UIOnboardGetStartedClickEvent} returns this - */ -proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.prototype.setUserName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - - - - if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. @@ -1748,7 +1684,9 @@ proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent.prototype.toObject = */ proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent.toObject = function(includeInstance, msg) { var f, obj = { - userName: jspb.Message.getFieldWithDefault(msg, 1, "") + userName: jspb.Message.getFieldWithDefault(msg, 1, ""), + mfaType: jspb.Message.getFieldWithDefault(msg, 2, ""), + loginFlow: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1789,6 +1727,14 @@ proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent.deserializeBinaryFrom var value = /** @type {string} */ (reader.readString()); msg.setUserName(value); break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMfaType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setLoginFlow(value); + break; default: reader.skipField(); break; @@ -1825,6 +1771,20 @@ proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent.serializeBinaryToWrit f ); } + f = message.getMfaType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getLoginFlow(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } }; @@ -1846,6 +1806,42 @@ proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent.prototype.setUserName }; +/** + * optional string mfa_type = 2; + * @return {string} + */ +proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent.prototype.getMfaType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent} returns this + */ +proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent.prototype.setMfaType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string login_flow = 3; + * @return {string} + */ +proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent.prototype.getLoginFlow = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent} returns this + */ +proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent.prototype.setLoginFlow = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + @@ -1977,15 +1973,275 @@ proto.prehog.v1alpha.UIRecoveryCodesContinueClickEvent.prototype.setUserName = f + + +if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.prototype.toObject = function(opt_includeInstance) { + return proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.toObject = function(includeInstance, msg) { + var f, obj = { + userName: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent} + */ +proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent; + return proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent} + */ +proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setUserName(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getUserName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string user_name = 1; + * @return {string} + */ +proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.prototype.getUserName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent} returns this + */ +proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.prototype.setUserName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.prototype.toObject = function(opt_includeInstance) { + return proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.toObject = function(includeInstance, msg) { + var f, obj = { + userName: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent} + */ +proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent; + return proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent} + */ +proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setUserName(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getUserName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string user_name = 1; + * @return {string} + */ +proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.prototype.getUserName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent} returns this + */ +proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.prototype.setUserName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple * fields are encountered for a group, only the last value seen will be kept. * @private {!Array>} * @const */ -proto.prehog.v1alpha.SubmitEventRequest.oneofGroups_ = [[3,4,5,6,7,8,9,10,11,12,13,14]]; +proto.prehog.v1alpha.SubmitEventRequest.oneofGroups_ = [[3,4,5,6,7,9,10,11,12,13,14,15,16]]; /** * @enum {number} @@ -1997,13 +2253,14 @@ proto.prehog.v1alpha.SubmitEventRequest.EventCase = { RESOURCE_CREATE: 5, SESSION_START: 6, UI_BANNER_CLICK: 7, - UI_ONBOARD_GET_STARTED_CLICK: 8, UI_ONBOARD_COMPLETE_GO_TO_DASHBOARD_CLICK: 9, UI_ONBOARD_ADD_FIRST_RESOURCE_CLICK: 10, UI_ONBOARD_ADD_FIRST_RESOURCE_LATER_CLICK: 11, UI_ONBOARD_SET_CREDENTIAL_SUBMIT: 12, UI_ONBOARD_REGISTER_CHALLENGE_SUBMIT: 13, - UI_RECOVERY_CODES_CONTINUE_CLICK: 14 + UI_RECOVERY_CODES_CONTINUE_CLICK: 14, + UI_RECOVERY_CODES_COPY_CLICK: 15, + UI_RECOVERY_CODES_PRINT_CLICK: 16 }; /** @@ -2051,13 +2308,14 @@ proto.prehog.v1alpha.SubmitEventRequest.toObject = function(includeInstance, msg resourceCreate: (f = msg.getResourceCreate()) && proto.prehog.v1alpha.ResourceCreateEvent.toObject(includeInstance, f), sessionStart: (f = msg.getSessionStart()) && proto.prehog.v1alpha.SessionStartEvent.toObject(includeInstance, f), uiBannerClick: (f = msg.getUiBannerClick()) && proto.prehog.v1alpha.UIBannerClickEvent.toObject(includeInstance, f), - uiOnboardGetStartedClick: (f = msg.getUiOnboardGetStartedClick()) && proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.toObject(includeInstance, f), uiOnboardCompleteGoToDashboardClick: (f = msg.getUiOnboardCompleteGoToDashboardClick()) && proto.prehog.v1alpha.UIOnboardCompleteGoToDashboardClickEvent.toObject(includeInstance, f), uiOnboardAddFirstResourceClick: (f = msg.getUiOnboardAddFirstResourceClick()) && proto.prehog.v1alpha.UIOnboardAddFirstResourceClickEvent.toObject(includeInstance, f), uiOnboardAddFirstResourceLaterClick: (f = msg.getUiOnboardAddFirstResourceLaterClick()) && proto.prehog.v1alpha.UIOnboardAddFirstResourceLaterClickEvent.toObject(includeInstance, f), uiOnboardSetCredentialSubmit: (f = msg.getUiOnboardSetCredentialSubmit()) && proto.prehog.v1alpha.UIOnboardSetCredentialSubmitEvent.toObject(includeInstance, f), uiOnboardRegisterChallengeSubmit: (f = msg.getUiOnboardRegisterChallengeSubmit()) && proto.prehog.v1alpha.UIOnboardRegisterChallengeSubmitEvent.toObject(includeInstance, f), - uiRecoveryCodesContinueClick: (f = msg.getUiRecoveryCodesContinueClick()) && proto.prehog.v1alpha.UIRecoveryCodesContinueClickEvent.toObject(includeInstance, f) + uiRecoveryCodesContinueClick: (f = msg.getUiRecoveryCodesContinueClick()) && proto.prehog.v1alpha.UIRecoveryCodesContinueClickEvent.toObject(includeInstance, f), + uiRecoveryCodesCopyClick: (f = msg.getUiRecoveryCodesCopyClick()) && proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.toObject(includeInstance, f), + uiRecoveryCodesPrintClick: (f = msg.getUiRecoveryCodesPrintClick()) && proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.toObject(includeInstance, f) }; if (includeInstance) { @@ -2128,11 +2386,6 @@ proto.prehog.v1alpha.SubmitEventRequest.deserializeBinaryFromReader = function(m reader.readMessage(value,proto.prehog.v1alpha.UIBannerClickEvent.deserializeBinaryFromReader); msg.setUiBannerClick(value); break; - case 8: - var value = new proto.prehog.v1alpha.UIOnboardGetStartedClickEvent; - reader.readMessage(value,proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.deserializeBinaryFromReader); - msg.setUiOnboardGetStartedClick(value); - break; case 9: var value = new proto.prehog.v1alpha.UIOnboardCompleteGoToDashboardClickEvent; reader.readMessage(value,proto.prehog.v1alpha.UIOnboardCompleteGoToDashboardClickEvent.deserializeBinaryFromReader); @@ -2163,6 +2416,16 @@ proto.prehog.v1alpha.SubmitEventRequest.deserializeBinaryFromReader = function(m reader.readMessage(value,proto.prehog.v1alpha.UIRecoveryCodesContinueClickEvent.deserializeBinaryFromReader); msg.setUiRecoveryCodesContinueClick(value); break; + case 15: + var value = new proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent; + reader.readMessage(value,proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.deserializeBinaryFromReader); + msg.setUiRecoveryCodesCopyClick(value); + break; + case 16: + var value = new proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent; + reader.readMessage(value,proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.deserializeBinaryFromReader); + msg.setUiRecoveryCodesPrintClick(value); + break; default: reader.skipField(); break; @@ -2247,14 +2510,6 @@ proto.prehog.v1alpha.SubmitEventRequest.serializeBinaryToWriter = function(messa proto.prehog.v1alpha.UIBannerClickEvent.serializeBinaryToWriter ); } - f = message.getUiOnboardGetStartedClick(); - if (f != null) { - writer.writeMessage( - 8, - f, - proto.prehog.v1alpha.UIOnboardGetStartedClickEvent.serializeBinaryToWriter - ); - } f = message.getUiOnboardCompleteGoToDashboardClick(); if (f != null) { writer.writeMessage( @@ -2303,6 +2558,22 @@ proto.prehog.v1alpha.SubmitEventRequest.serializeBinaryToWriter = function(messa proto.prehog.v1alpha.UIRecoveryCodesContinueClickEvent.serializeBinaryToWriter ); } + f = message.getUiRecoveryCodesCopyClick(); + if (f != null) { + writer.writeMessage( + 15, + f, + proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent.serializeBinaryToWriter + ); + } + f = message.getUiRecoveryCodesPrintClick(); + if (f != null) { + writer.writeMessage( + 16, + f, + proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent.serializeBinaryToWriter + ); + } }; @@ -2546,43 +2817,6 @@ proto.prehog.v1alpha.SubmitEventRequest.prototype.hasUiBannerClick = function() }; -/** - * optional UIOnboardGetStartedClickEvent ui_onboard_get_started_click = 8; - * @return {?proto.prehog.v1alpha.UIOnboardGetStartedClickEvent} - */ -proto.prehog.v1alpha.SubmitEventRequest.prototype.getUiOnboardGetStartedClick = function() { - return /** @type{?proto.prehog.v1alpha.UIOnboardGetStartedClickEvent} */ ( - jspb.Message.getWrapperField(this, proto.prehog.v1alpha.UIOnboardGetStartedClickEvent, 8)); -}; - - -/** - * @param {?proto.prehog.v1alpha.UIOnboardGetStartedClickEvent|undefined} value - * @return {!proto.prehog.v1alpha.SubmitEventRequest} returns this -*/ -proto.prehog.v1alpha.SubmitEventRequest.prototype.setUiOnboardGetStartedClick = function(value) { - return jspb.Message.setOneofWrapperField(this, 8, proto.prehog.v1alpha.SubmitEventRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.prehog.v1alpha.SubmitEventRequest} returns this - */ -proto.prehog.v1alpha.SubmitEventRequest.prototype.clearUiOnboardGetStartedClick = function() { - return this.setUiOnboardGetStartedClick(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.prehog.v1alpha.SubmitEventRequest.prototype.hasUiOnboardGetStartedClick = function() { - return jspb.Message.getField(this, 8) != null; -}; - - /** * optional UIOnboardCompleteGoToDashboardClickEvent ui_onboard_complete_go_to_dashboard_click = 9; * @return {?proto.prehog.v1alpha.UIOnboardCompleteGoToDashboardClickEvent} @@ -2805,6 +3039,80 @@ proto.prehog.v1alpha.SubmitEventRequest.prototype.hasUiRecoveryCodesContinueClic }; +/** + * optional UIRecoveryCodesCopyClickEvent ui_recovery_codes_copy_click = 15; + * @return {?proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent} + */ +proto.prehog.v1alpha.SubmitEventRequest.prototype.getUiRecoveryCodesCopyClick = function() { + return /** @type{?proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent} */ ( + jspb.Message.getWrapperField(this, proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent, 15)); +}; + + +/** + * @param {?proto.prehog.v1alpha.UIRecoveryCodesCopyClickEvent|undefined} value + * @return {!proto.prehog.v1alpha.SubmitEventRequest} returns this +*/ +proto.prehog.v1alpha.SubmitEventRequest.prototype.setUiRecoveryCodesCopyClick = function(value) { + return jspb.Message.setOneofWrapperField(this, 15, proto.prehog.v1alpha.SubmitEventRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.prehog.v1alpha.SubmitEventRequest} returns this + */ +proto.prehog.v1alpha.SubmitEventRequest.prototype.clearUiRecoveryCodesCopyClick = function() { + return this.setUiRecoveryCodesCopyClick(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.prehog.v1alpha.SubmitEventRequest.prototype.hasUiRecoveryCodesCopyClick = function() { + return jspb.Message.getField(this, 15) != null; +}; + + +/** + * optional UIRecoveryCodesPrintClickEvent ui_recovery_codes_print_click = 16; + * @return {?proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent} + */ +proto.prehog.v1alpha.SubmitEventRequest.prototype.getUiRecoveryCodesPrintClick = function() { + return /** @type{?proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent} */ ( + jspb.Message.getWrapperField(this, proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent, 16)); +}; + + +/** + * @param {?proto.prehog.v1alpha.UIRecoveryCodesPrintClickEvent|undefined} value + * @return {!proto.prehog.v1alpha.SubmitEventRequest} returns this +*/ +proto.prehog.v1alpha.SubmitEventRequest.prototype.setUiRecoveryCodesPrintClick = function(value) { + return jspb.Message.setOneofWrapperField(this, 16, proto.prehog.v1alpha.SubmitEventRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.prehog.v1alpha.SubmitEventRequest} returns this + */ +proto.prehog.v1alpha.SubmitEventRequest.prototype.clearUiRecoveryCodesPrintClick = function() { + return this.setUiRecoveryCodesPrintClick(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.prehog.v1alpha.SubmitEventRequest.prototype.hasUiRecoveryCodesPrintClick = function() { + return jspb.Message.getField(this, 16) != null; +}; + + @@ -2906,4 +3214,206 @@ proto.prehog.v1alpha.SubmitEventResponse.serializeBinaryToWriter = function(mess }; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.prehog.v1alpha.HelloTeleportRequest.prototype.toObject = function(opt_includeInstance) { + return proto.prehog.v1alpha.HelloTeleportRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.prehog.v1alpha.HelloTeleportRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.prehog.v1alpha.HelloTeleportRequest.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.prehog.v1alpha.HelloTeleportRequest} + */ +proto.prehog.v1alpha.HelloTeleportRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.prehog.v1alpha.HelloTeleportRequest; + return proto.prehog.v1alpha.HelloTeleportRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.prehog.v1alpha.HelloTeleportRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.prehog.v1alpha.HelloTeleportRequest} + */ +proto.prehog.v1alpha.HelloTeleportRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.prehog.v1alpha.HelloTeleportRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.prehog.v1alpha.HelloTeleportRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.prehog.v1alpha.HelloTeleportRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.prehog.v1alpha.HelloTeleportRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.prehog.v1alpha.HelloTeleportResponse.prototype.toObject = function(opt_includeInstance) { + return proto.prehog.v1alpha.HelloTeleportResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.prehog.v1alpha.HelloTeleportResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.prehog.v1alpha.HelloTeleportResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.prehog.v1alpha.HelloTeleportResponse} + */ +proto.prehog.v1alpha.HelloTeleportResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.prehog.v1alpha.HelloTeleportResponse; + return proto.prehog.v1alpha.HelloTeleportResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.prehog.v1alpha.HelloTeleportResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.prehog.v1alpha.HelloTeleportResponse} + */ +proto.prehog.v1alpha.HelloTeleportResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.prehog.v1alpha.HelloTeleportResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.prehog.v1alpha.HelloTeleportResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.prehog.v1alpha.HelloTeleportResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.prehog.v1alpha.HelloTeleportResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + goog.object.extend(exports, proto.prehog.v1alpha);