// Custom protobuf crafted from spotify:user:attributes:mutated response: // // 1 { // 1: "filter-explicit-content" // } // 2 { // 1: 1639087299 // 2: 418909000 // } // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 // protoc v3.21.12 // source: user_attributes.proto package proto import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) 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 UserAttributesMutation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Fields []*MutatedField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` Cmd *MutationCommand `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"` } func (x *UserAttributesMutation) Reset() { *x = UserAttributesMutation{} if protoimpl.UnsafeEnabled { mi := &file_user_attributes_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UserAttributesMutation) String() string { return protoimpl.X.MessageStringOf(x) } func (*UserAttributesMutation) ProtoMessage() {} func (x *UserAttributesMutation) ProtoReflect() protoreflect.Message { mi := &file_user_attributes_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 UserAttributesMutation.ProtoReflect.Descriptor instead. func (*UserAttributesMutation) Descriptor() ([]byte, []int) { return file_user_attributes_proto_rawDescGZIP(), []int{0} } func (x *UserAttributesMutation) GetFields() []*MutatedField { if x != nil { return x.Fields } return nil } func (x *UserAttributesMutation) GetCmd() *MutationCommand { if x != nil { return x.Cmd } return nil } type MutatedField struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *MutatedField) Reset() { *x = MutatedField{} if protoimpl.UnsafeEnabled { mi := &file_user_attributes_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MutatedField) String() string { return protoimpl.X.MessageStringOf(x) } func (*MutatedField) ProtoMessage() {} func (x *MutatedField) ProtoReflect() protoreflect.Message { mi := &file_user_attributes_proto_msgTypes[1] 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 MutatedField.ProtoReflect.Descriptor instead. func (*MutatedField) Descriptor() ([]byte, []int) { return file_user_attributes_proto_rawDescGZIP(), []int{1} } func (x *MutatedField) GetName() string { if x != nil { return x.Name } return "" } type MutationCommand struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Unknown int32 `protobuf:"varint,2,opt,name=unknown,proto3" json:"unknown,omitempty"` } func (x *MutationCommand) Reset() { *x = MutationCommand{} if protoimpl.UnsafeEnabled { mi := &file_user_attributes_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MutationCommand) String() string { return protoimpl.X.MessageStringOf(x) } func (*MutationCommand) ProtoMessage() {} func (x *MutationCommand) ProtoReflect() protoreflect.Message { mi := &file_user_attributes_proto_msgTypes[2] 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 MutationCommand.ProtoReflect.Descriptor instead. func (*MutationCommand) Descriptor() ([]byte, []int) { return file_user_attributes_proto_rawDescGZIP(), []int{2} } func (x *MutationCommand) GetTimestamp() int64 { if x != nil { return x.Timestamp } return 0 } func (x *MutationCommand) GetUnknown() int32 { if x != nil { return x.Unknown } return 0 } var File_user_attributes_proto protoreflect.FileDescriptor var file_user_attributes_proto_rawDesc = []byte{ 0x0a, 0x15, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x01, 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x40, 0x0a, 0x03, 0x63, 0x6d, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x03, 0x63, 0x6d, 0x64, 0x22, 0x22, 0x0a, 0x0c, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x49, 0x0a, 0x0f, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x42, 0x25, 0x48, 0x02, 0x5a, 0x21, 0x74, 0x75, 0x78, 0x70, 0x61, 0x2e, 0x69, 0x6e, 0x2f, 0x61, 0x2f, 0x67, 0x6f, 0x70, 0x6c, 0x61, 0x79, 0x64, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x73, 0x70, 0x6f, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_user_attributes_proto_rawDescOnce sync.Once file_user_attributes_proto_rawDescData = file_user_attributes_proto_rawDesc ) func file_user_attributes_proto_rawDescGZIP() []byte { file_user_attributes_proto_rawDescOnce.Do(func() { file_user_attributes_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_attributes_proto_rawDescData) }) return file_user_attributes_proto_rawDescData } var file_user_attributes_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_user_attributes_proto_goTypes = []interface{}{ (*UserAttributesMutation)(nil), // 0: spotify.user_attributes.proto.UserAttributesMutation (*MutatedField)(nil), // 1: spotify.user_attributes.proto.MutatedField (*MutationCommand)(nil), // 2: spotify.user_attributes.proto.MutationCommand } var file_user_attributes_proto_depIdxs = []int32{ 1, // 0: spotify.user_attributes.proto.UserAttributesMutation.fields:type_name -> spotify.user_attributes.proto.MutatedField 2, // 1: spotify.user_attributes.proto.UserAttributesMutation.cmd:type_name -> spotify.user_attributes.proto.MutationCommand 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_user_attributes_proto_init() } func file_user_attributes_proto_init() { if File_user_attributes_proto != nil { return } if !protoimpl.UnsafeEnabled { file_user_attributes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserAttributesMutation); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_user_attributes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MutatedField); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_user_attributes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MutationCommand); 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_user_attributes_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, }, GoTypes: file_user_attributes_proto_goTypes, DependencyIndexes: file_user_attributes_proto_depIdxs, MessageInfos: file_user_attributes_proto_msgTypes, }.Build() File_user_attributes_proto = out.File file_user_attributes_proto_rawDesc = nil file_user_attributes_proto_goTypes = nil file_user_attributes_proto_depIdxs = nil }