// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.10 // protoc v6.33.0 // source: ca.psiphon.psiphond/base_params.proto package psiphond import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type BaseParams struct { state protoimpl.MessageState `protogen:"open.v1"` ClientAsn *string `protobuf:"bytes,1,opt,name=client_asn,json=clientAsn,proto3,oneof" json:"client_asn,omitempty"` ClientAso *string `protobuf:"bytes,2,opt,name=client_aso,json=clientAso,proto3,oneof" json:"client_aso,omitempty"` ClientBuildRev *string `protobuf:"bytes,3,opt,name=client_build_rev,json=clientBuildRev,proto3,oneof" json:"client_build_rev,omitempty"` ClientCity *string `protobuf:"bytes,4,opt,name=client_city,json=clientCity,proto3,oneof" json:"client_city,omitempty"` ClientFeatures []string `protobuf:"bytes,5,rep,name=client_features,json=clientFeatures,proto3" json:"client_features,omitempty"` ClientIsp *string `protobuf:"bytes,6,opt,name=client_isp,json=clientIsp,proto3,oneof" json:"client_isp,omitempty"` ClientPlatform *string `protobuf:"bytes,7,opt,name=client_platform,json=clientPlatform,proto3,oneof" json:"client_platform,omitempty"` ClientRegion *string `protobuf:"bytes,8,opt,name=client_region,json=clientRegion,proto3,oneof" json:"client_region,omitempty"` ClientVersion *int64 `protobuf:"varint,9,opt,name=client_version,json=clientVersion,proto3,oneof" json:"client_version,omitempty"` DeviceLocation *string `protobuf:"bytes,10,opt,name=device_location,json=deviceLocation,proto3,oneof" json:"device_location,omitempty"` //device_location uses geohash encoding DeviceRegion *string `protobuf:"bytes,11,opt,name=device_region,json=deviceRegion,proto3,oneof" json:"device_region,omitempty"` SessionId *string `protobuf:"bytes,12,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"` SponsorId *string `protobuf:"bytes,13,opt,name=sponsor_id,json=sponsorId,proto3,oneof" json:"sponsor_id,omitempty"` PropagationChannelId *string `protobuf:"bytes,14,opt,name=propagation_channel_id,json=propagationChannelId,proto3,oneof" json:"propagation_channel_id,omitempty"` AppliedTacticsTag *string `protobuf:"bytes,15,opt,name=applied_tactics_tag,json=appliedTacticsTag,proto3,oneof" json:"applied_tactics_tag,omitempty"` EgressRegion *string `protobuf:"bytes,16,opt,name=egress_region,json=egressRegion,proto3,oneof" json:"egress_region,omitempty"` LastConnected *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=last_connected,json=lastConnected,proto3,oneof" json:"last_connected,omitempty"` AuthorizedAccessTypes []string `protobuf:"bytes,18,rep,name=authorized_access_types,json=authorizedAccessTypes,proto3" json:"authorized_access_types,omitempty"` NetworkType *string `protobuf:"bytes,19,opt,name=network_type,json=networkType,proto3,oneof" json:"network_type,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BaseParams) Reset() { *x = BaseParams{} mi := &file_ca_psiphon_psiphond_base_params_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BaseParams) String() string { return protoimpl.X.MessageStringOf(x) } func (*BaseParams) ProtoMessage() {} func (x *BaseParams) ProtoReflect() protoreflect.Message { mi := &file_ca_psiphon_psiphond_base_params_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BaseParams.ProtoReflect.Descriptor instead. func (*BaseParams) Descriptor() ([]byte, []int) { return file_ca_psiphon_psiphond_base_params_proto_rawDescGZIP(), []int{0} } func (x *BaseParams) GetClientAsn() string { if x != nil && x.ClientAsn != nil { return *x.ClientAsn } return "" } func (x *BaseParams) GetClientAso() string { if x != nil && x.ClientAso != nil { return *x.ClientAso } return "" } func (x *BaseParams) GetClientBuildRev() string { if x != nil && x.ClientBuildRev != nil { return *x.ClientBuildRev } return "" } func (x *BaseParams) GetClientCity() string { if x != nil && x.ClientCity != nil { return *x.ClientCity } return "" } func (x *BaseParams) GetClientFeatures() []string { if x != nil { return x.ClientFeatures } return nil } func (x *BaseParams) GetClientIsp() string { if x != nil && x.ClientIsp != nil { return *x.ClientIsp } return "" } func (x *BaseParams) GetClientPlatform() string { if x != nil && x.ClientPlatform != nil { return *x.ClientPlatform } return "" } func (x *BaseParams) GetClientRegion() string { if x != nil && x.ClientRegion != nil { return *x.ClientRegion } return "" } func (x *BaseParams) GetClientVersion() int64 { if x != nil && x.ClientVersion != nil { return *x.ClientVersion } return 0 } func (x *BaseParams) GetDeviceLocation() string { if x != nil && x.DeviceLocation != nil { return *x.DeviceLocation } return "" } func (x *BaseParams) GetDeviceRegion() string { if x != nil && x.DeviceRegion != nil { return *x.DeviceRegion } return "" } func (x *BaseParams) GetSessionId() string { if x != nil && x.SessionId != nil { return *x.SessionId } return "" } func (x *BaseParams) GetSponsorId() string { if x != nil && x.SponsorId != nil { return *x.SponsorId } return "" } func (x *BaseParams) GetPropagationChannelId() string { if x != nil && x.PropagationChannelId != nil { return *x.PropagationChannelId } return "" } func (x *BaseParams) GetAppliedTacticsTag() string { if x != nil && x.AppliedTacticsTag != nil { return *x.AppliedTacticsTag } return "" } func (x *BaseParams) GetEgressRegion() string { if x != nil && x.EgressRegion != nil { return *x.EgressRegion } return "" } func (x *BaseParams) GetLastConnected() *timestamppb.Timestamp { if x != nil { return x.LastConnected } return nil } func (x *BaseParams) GetAuthorizedAccessTypes() []string { if x != nil { return x.AuthorizedAccessTypes } return nil } func (x *BaseParams) GetNetworkType() string { if x != nil && x.NetworkType != nil { return *x.NetworkType } return "" } var File_ca_psiphon_psiphond_base_params_proto protoreflect.FileDescriptor const file_ca_psiphon_psiphond_base_params_proto_rawDesc = "" + "\n" + "%ca.psiphon.psiphond/base_params.proto\x12\x13ca.psiphon.psiphond\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\t\n" + "\n" + "BaseParams\x12\"\n" + "\n" + "client_asn\x18\x01 \x01(\tH\x00R\tclientAsn\x88\x01\x01\x12\"\n" + "\n" + "client_aso\x18\x02 \x01(\tH\x01R\tclientAso\x88\x01\x01\x12-\n" + "\x10client_build_rev\x18\x03 \x01(\tH\x02R\x0eclientBuildRev\x88\x01\x01\x12$\n" + "\vclient_city\x18\x04 \x01(\tH\x03R\n" + "clientCity\x88\x01\x01\x12'\n" + "\x0fclient_features\x18\x05 \x03(\tR\x0eclientFeatures\x12\"\n" + "\n" + "client_isp\x18\x06 \x01(\tH\x04R\tclientIsp\x88\x01\x01\x12,\n" + "\x0fclient_platform\x18\a \x01(\tH\x05R\x0eclientPlatform\x88\x01\x01\x12(\n" + "\rclient_region\x18\b \x01(\tH\x06R\fclientRegion\x88\x01\x01\x12*\n" + "\x0eclient_version\x18\t \x01(\x03H\aR\rclientVersion\x88\x01\x01\x12,\n" + "\x0fdevice_location\x18\n" + " \x01(\tH\bR\x0edeviceLocation\x88\x01\x01\x12(\n" + "\rdevice_region\x18\v \x01(\tH\tR\fdeviceRegion\x88\x01\x01\x12\"\n" + "\n" + "session_id\x18\f \x01(\tH\n" + "R\tsessionId\x88\x01\x01\x12\"\n" + "\n" + "sponsor_id\x18\r \x01(\tH\vR\tsponsorId\x88\x01\x01\x129\n" + "\x16propagation_channel_id\x18\x0e \x01(\tH\fR\x14propagationChannelId\x88\x01\x01\x123\n" + "\x13applied_tactics_tag\x18\x0f \x01(\tH\rR\x11appliedTacticsTag\x88\x01\x01\x12(\n" + "\regress_region\x18\x10 \x01(\tH\x0eR\fegressRegion\x88\x01\x01\x12F\n" + "\x0elast_connected\x18\x11 \x01(\v2\x1a.google.protobuf.TimestampH\x0fR\rlastConnected\x88\x01\x01\x126\n" + "\x17authorized_access_types\x18\x12 \x03(\tR\x15authorizedAccessTypes\x12&\n" + "\fnetwork_type\x18\x13 \x01(\tH\x10R\vnetworkType\x88\x01\x01B\r\n" + "\v_client_asnB\r\n" + "\v_client_asoB\x13\n" + "\x11_client_build_revB\x0e\n" + "\f_client_cityB\r\n" + "\v_client_ispB\x12\n" + "\x10_client_platformB\x10\n" + "\x0e_client_regionB\x11\n" + "\x0f_client_versionB\x12\n" + "\x10_device_locationB\x10\n" + "\x0e_device_regionB\r\n" + "\v_session_idB\r\n" + "\v_sponsor_idB\x19\n" + "\x17_propagation_channel_idB\x16\n" + "\x14_applied_tactics_tagB\x10\n" + "\x0e_egress_regionB\x11\n" + "\x0f_last_connectedB\x0f\n" + "\r_network_typeBHZFgithub.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/server/pb/psiphondb\x06proto3" var ( file_ca_psiphon_psiphond_base_params_proto_rawDescOnce sync.Once file_ca_psiphon_psiphond_base_params_proto_rawDescData []byte ) func file_ca_psiphon_psiphond_base_params_proto_rawDescGZIP() []byte { file_ca_psiphon_psiphond_base_params_proto_rawDescOnce.Do(func() { file_ca_psiphon_psiphond_base_params_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_base_params_proto_rawDesc), len(file_ca_psiphon_psiphond_base_params_proto_rawDesc))) }) return file_ca_psiphon_psiphond_base_params_proto_rawDescData } var file_ca_psiphon_psiphond_base_params_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_ca_psiphon_psiphond_base_params_proto_goTypes = []any{ (*BaseParams)(nil), // 0: ca.psiphon.psiphond.BaseParams (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp } var file_ca_psiphon_psiphond_base_params_proto_depIdxs = []int32{ 1, // 0: ca.psiphon.psiphond.BaseParams.last_connected:type_name -> google.protobuf.Timestamp 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_ca_psiphon_psiphond_base_params_proto_init() } func file_ca_psiphon_psiphond_base_params_proto_init() { if File_ca_psiphon_psiphond_base_params_proto != nil { return } file_ca_psiphon_psiphond_base_params_proto_msgTypes[0].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_base_params_proto_rawDesc), len(file_ca_psiphon_psiphond_base_params_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, GoTypes: file_ca_psiphon_psiphond_base_params_proto_goTypes, DependencyIndexes: file_ca_psiphon_psiphond_base_params_proto_depIdxs, MessageInfos: file_ca_psiphon_psiphond_base_params_proto_msgTypes, }.Build() File_ca_psiphon_psiphond_base_params_proto = out.File file_ca_psiphon_psiphond_base_params_proto_goTypes = nil file_ca_psiphon_psiphond_base_params_proto_depIdxs = nil }