matterbridge/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go

151 lines
5.3 KiB
Go
Raw Permalink Normal View History

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.2
// protoc v3.21.12
// source: waChatLockSettings/WAProtobufsChatLockSettings.proto
package waChatLockSettings
import (
reflect "reflect"
sync "sync"
waUserPassword "go.mau.fi/whatsmeow/proto/waUserPassword"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
_ "embed"
)
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 ChatLockSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HideLockedChats *bool `protobuf:"varint,1,opt,name=hideLockedChats" json:"hideLockedChats,omitempty"`
SecretCode *waUserPassword.UserPassword `protobuf:"bytes,2,opt,name=secretCode" json:"secretCode,omitempty"`
}
func (x *ChatLockSettings) Reset() {
*x = ChatLockSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ChatLockSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChatLockSettings) ProtoMessage() {}
func (x *ChatLockSettings) ProtoReflect() protoreflect.Message {
mi := &file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes[0]
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 ChatLockSettings.ProtoReflect.Descriptor instead.
func (*ChatLockSettings) Descriptor() ([]byte, []int) {
return file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescGZIP(), []int{0}
}
func (x *ChatLockSettings) GetHideLockedChats() bool {
if x != nil && x.HideLockedChats != nil {
return *x.HideLockedChats
}
return false
}
func (x *ChatLockSettings) GetSecretCode() *waUserPassword.UserPassword {
if x != nil {
return x.SecretCode
}
return nil
}
var File_waChatLockSettings_WAProtobufsChatLockSettings_proto protoreflect.FileDescriptor
//go:embed WAProtobufsChatLockSettings.pb.raw
var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc []byte
var (
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescOnce sync.Once
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData = file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc
)
func file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescGZIP() []byte {
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescOnce.Do(func() {
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData = protoimpl.X.CompressGZIP(file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData)
})
return file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData
}
var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_goTypes = []any{
(*ChatLockSettings)(nil), // 0: WAProtobufsChatLockSettings.ChatLockSettings
(*waUserPassword.UserPassword)(nil), // 1: WAProtobufsUserPassword.UserPassword
}
var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_depIdxs = []int32{
1, // 0: WAProtobufsChatLockSettings.ChatLockSettings.secretCode:type_name -> WAProtobufsUserPassword.UserPassword
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_waChatLockSettings_WAProtobufsChatLockSettings_proto_init() }
func file_waChatLockSettings_WAProtobufsChatLockSettings_proto_init() {
if File_waChatLockSettings_WAProtobufsChatLockSettings_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*ChatLockSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_goTypes,
DependencyIndexes: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_depIdxs,
MessageInfos: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes,
}.Build()
File_waChatLockSettings_WAProtobufsChatLockSettings_proto = out.File
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc = nil
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_goTypes = nil
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_depIdxs = nil
}